# Path: Extensions/StyleSheet.py



import os
from PyQt4 import QtGui
from Extensions import StyleSheet

    def __init__(self, parent=None):
        QtGui.QLabel.__init__(self, parent)

        self.setMinimumHeight(35)
        self.setMaximumHeight(35)
        self.setMinimumWidth(175)
        self.setMaximumWidth(175)

        self.lastIndex = 0

        self.mainLayout = QtGui.QHBoxLayout()
        self.mainLayout.setMargin(0)
        self.mainLayout.setSpacing(0)
        self.setLayout(self.mainLayout)

        self.editorTabWidget = parent
        self.editorTabWidget.currentChanged.connect(self.setCurrentView)

        self.buttonGroup = QtGui.QButtonGroup()
        self.buttonGroup.setExclusive(True)
        self.buttonGroup.buttonPressed.connect(self.viewChanged)

        self.hideButton = QtGui.QToolButton()
        self.hideButton.setAutoRaise(True)
        self.hideButton.setIcon(
            QtGui.QIcon(os.path.join("Resources", "images", "exit")))
        self.hideButton.clicked.connect(self.hide)
        self.mainLayout.addWidget(self.hideButton)


# Path: Extensions/StyleSheet.py



# Path: Extensions/ViewSwitcher.py
import os
from PyQt4 import QtGui
from Extensions import StyleSheet


    def __init__(self, parent=None):
        QtGui.QLabel.__init__(self, parent)

        self.setMinimumHeight(35)
        self.setMaximumHeight(35)
        self.setMinimumWidth(175)
        self.setMaximumWidth(175)

        self.lastIndex = 0

        self.mainLayout = QtGui.QHBoxLayout()
        self.mainLayout.setMargin(0)
        self.mainLayout.setSpacing(0)
        self.setLayout(self.mainLayout)

        self.editorTabWidget = parent
        self.editorTabWidget.currentChanged.connect(self.setCurrentView)

        self.buttonGroup = QtGui.QButtonGroup()
        self.buttonGroup.setExclusive(True)
        self.buttonGroup.buttonPressed.connect(self.viewChanged)

        self.hideButton = QtGui.QToolButton()
        self.hideButton.setAutoRaise(True)
        self.hideButton.setIcon(
            QtGui.QIcon(os.path.join("Resources", "images", "exit")))
        self.hideButton.clicked.connect(self.hide)
        self.mainLayout.addWidget(self.hideButton)


        self.setStyleSheet(StyleSheet.viewSwitcherStyle)