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) |