4 from PyQt4.QtGui import QWidget, QListWidget, QVBoxLayout, QPushButton,QToolButton, QSplitter
12 """ This is the main frame of the Config Editor Plugin.
14 The tab is split in three horizontal parts, from left to right: Tree View, Center View, Property View.
15 The editor can be dispayed using createEditor(). The Property View is then shared with the ConfigBrowser.
20 logging.debug(self.__class__.__name__ +
": __init__()")
21 BrowserTab.__init__(self, parent,
True)
28 toolBarSectionId = self.
toolBar().addSection(SplitterToolBar.ALIGNMENT_LEFT)
32 self._editorSplitter.setSizes([100, 300])
35 self._minimizeButton.setText(
"v")
36 self._minimizeButton.setCheckable(
True)
38 self._originalButton.setText(
"-")
39 self._originalButton.setCheckable(
True)
40 self._originalButton.setChecked(
True)
42 self._maximizeButton.setText(
"^")
43 self._maximizeButton.setCheckable(
True)
55 self.connect(self.
_minimizeButton, SIGNAL(
'clicked(bool)'), controller.minimizeEditor)
56 self.connect(self.
_originalButton, SIGNAL(
'clicked(bool)'), controller.originalEditor)
57 self.connect(self.
_maximizeButton, SIGNAL(
'clicked(bool)'), controller.maximizeEditor)
def horizontalSplitterMovedSlot