3753 "Debugger" : self.debuggerMenu, |
3753 "Debugger" : self.debuggerMenu, |
3754 "Packagers" : self.packagersMenu, |
3754 "Packagers" : self.packagersMenu, |
3755 } |
3755 } |
3756 |
3756 |
3757 # connect the aboutToShow signals |
3757 # connect the aboutToShow signals |
3758 self.connect(self.recentMenu, SIGNAL('aboutToShow()'), |
3758 self.recentMenu.aboutToShow.connect(self.__showContextMenuRecent) |
3759 self.__showContextMenuRecent) |
|
3760 self.connect(self.recentMenu, SIGNAL('triggered(QAction *)'), |
3759 self.connect(self.recentMenu, SIGNAL('triggered(QAction *)'), |
3761 self.__openRecent) |
3760 self.__openRecent) |
3762 self.connect(self.vcsMenu, SIGNAL('aboutToShow()'), self.__showContextMenuVCS) |
3761 self.vcsMenu.aboutToShow.connect(self.__showContextMenuVCS) |
3763 self.connect(self.checksMenu, SIGNAL('aboutToShow()'), |
3762 self.checksMenu.aboutToShow.connect(self.__showContextMenuChecks) |
3764 self.__showContextMenuChecks) |
3763 self.showMenu.aboutToShow.connect(self.__showContextMenuShow) |
3765 self.connect(self.showMenu, SIGNAL('aboutToShow()'), self.__showContextMenuShow) |
3764 self.graphicsMenu.aboutToShow.connect(self.__showContextMenuGraphics) |
3766 self.connect(self.graphicsMenu, SIGNAL('aboutToShow()'), |
3765 self.apidocMenu.aboutToShow.connect(self.__showContextMenuApiDoc) |
3767 self.__showContextMenuGraphics) |
3766 self.packagersMenu.aboutToShow.connect(self.__showContextMenuPackagers) |
3768 self.connect(self.apidocMenu, SIGNAL('aboutToShow()'), |
3767 menu.aboutToShow.connect(self.__showMenu) |
3769 self.__showContextMenuApiDoc) |
|
3770 self.connect(self.packagersMenu, SIGNAL('aboutToShow()'), |
|
3771 self.__showContextMenuPackagers) |
|
3772 self.connect(menu, SIGNAL('aboutToShow()'), self.__showMenu) |
|
3773 |
3768 |
3774 # build the show menu |
3769 # build the show menu |
3775 self.showMenu.setTearOffEnabled(True) |
3770 self.showMenu.setTearOffEnabled(True) |
3776 self.showMenu.addAction(self.codeMetricsAct) |
3771 self.showMenu.addAction(self.codeMetricsAct) |
3777 self.showMenu.addAction(self.codeCoverageAct) |
3772 self.showMenu.addAction(self.codeCoverageAct) |