E5Gui/E5SideBar.py

changeset 2824
858412c29c34
parent 2624
e04b5d53281e
child 2847
1843ef6e2656
child 2953
703452a2876f
equal deleted inserted replaced
2822:449de130268e 2824:858412c29c34
50 self.__autoHideButton.setIcon(UI.PixmapCache.getIcon("autoHideOff.png")) 50 self.__autoHideButton.setIcon(UI.PixmapCache.getIcon("autoHideOff.png"))
51 self.__autoHideButton.setChecked(True) 51 self.__autoHideButton.setChecked(True)
52 self.__autoHideButton.setToolTip( 52 self.__autoHideButton.setToolTip(
53 self.trUtf8("Deselect to activate automatic collapsing")) 53 self.trUtf8("Deselect to activate automatic collapsing"))
54 self.barLayout = QBoxLayout(QBoxLayout.LeftToRight) 54 self.barLayout = QBoxLayout(QBoxLayout.LeftToRight)
55 self.barLayout.setMargin(0) 55 self.barLayout.setContentsMargins(0, 0, 0, 0)
56 self.layout = QBoxLayout(QBoxLayout.TopToBottom) 56 self.layout = QBoxLayout(QBoxLayout.TopToBottom)
57 self.layout.setMargin(0) 57 self.layout.setContentsMargins(0, 0, 0, 0)
58 self.layout.setSpacing(0) 58 self.layout.setSpacing(0)
59 self.barLayout.addWidget(self.__autoHideButton) 59 self.barLayout.addWidget(self.__autoHideButton)
60 self.barLayout.addWidget(self.__tabBar) 60 self.barLayout.addWidget(self.__tabBar)
61 self.layout.addLayout(self.barLayout) 61 self.layout.addLayout(self.barLayout)
62 self.layout.addWidget(self.__stackedWidget) 62 self.layout.addWidget(self.__stackedWidget)

eric ide

mercurial