Plugins/ViewManagerPlugins/Tabview/Tabview.py

changeset 461
34528aaedf1c
parent 458
1695e7a2db54
child 464
a2b1d1770ef0
equal deleted inserted replaced
460:6a3899e91d76 461:34528aaedf1c
169 self.rightCornerWidgetLayout = QHBoxLayout(self.rightCornerWidget) 169 self.rightCornerWidgetLayout = QHBoxLayout(self.rightCornerWidget)
170 self.rightCornerWidgetLayout.setMargin(0) 170 self.rightCornerWidgetLayout.setMargin(0)
171 self.rightCornerWidgetLayout.setSpacing(0) 171 self.rightCornerWidgetLayout.setSpacing(0)
172 172
173 self.__navigationMenu = QMenu(self) 173 self.__navigationMenu = QMenu(self)
174 self.connect(self.__navigationMenu, SIGNAL("aboutToShow()"), 174 self.__navigationMenu.aboutToShow.connect(self.__showNavigationMenu)
175 self.__showNavigationMenu)
176 self.connect(self.__navigationMenu, SIGNAL("triggered(QAction*)"), 175 self.connect(self.__navigationMenu, SIGNAL("triggered(QAction*)"),
177 self.__navigationMenuTriggered) 176 self.__navigationMenuTriggered)
178 177
179 self.navigationButton = QToolButton(self) 178 self.navigationButton = QToolButton(self)
180 self.navigationButton.setIcon(UI.PixmapCache.getIcon("1downarrow.png")) 179 self.navigationButton.setIcon(UI.PixmapCache.getIcon("1downarrow.png"))

eric ide

mercurial