Project/ProjectInterfacesBrowser.py

changeset 461
34528aaedf1c
parent 427
6af5d12cfecb
child 464
a2b1d1770ef0
equal deleted inserted replaced
460:6a3899e91d76 461:34528aaedf1c
212 self.dirMultiMenu.addSeparator() 212 self.dirMultiMenu.addSeparator()
213 self.dirMultiMenu.addAction(self.trUtf8('Configure...'), self._configure) 213 self.dirMultiMenu.addAction(self.trUtf8('Configure...'), self._configure)
214 self.dirMultiMenu.addAction(self.trUtf8('Configure CORBA...'), 214 self.dirMultiMenu.addAction(self.trUtf8('Configure CORBA...'),
215 self.__configureCorba) 215 self.__configureCorba)
216 216
217 self.connect(self.sourceMenu, SIGNAL('aboutToShow()'), 217 self.sourceMenu.aboutToShow.connect(self.__showContextMenu)
218 self.__showContextMenu) 218 self.multiMenu.aboutToShow.connect(self.__showContextMenuMulti)
219 self.connect(self.multiMenu, SIGNAL('aboutToShow()'), 219 self.dirMenu.aboutToShow.connect(self.__showContextMenuDir)
220 self.__showContextMenuMulti) 220 self.dirMultiMenu.aboutToShow.connect(self.__showContextMenuDirMulti)
221 self.connect(self.dirMenu, SIGNAL('aboutToShow()'), 221 self.backMenu.aboutToShow.connect(self.__showContextMenuBack)
222 self.__showContextMenuDir)
223 self.connect(self.dirMultiMenu, SIGNAL('aboutToShow()'),
224 self.__showContextMenuDirMulti)
225 self.connect(self.backMenu, SIGNAL('aboutToShow()'),
226 self.__showContextMenuBack)
227 self.mainMenu = self.sourceMenu 222 self.mainMenu = self.sourceMenu
228 223
229 def _contextMenuRequested(self, coord): 224 def _contextMenuRequested(self, coord):
230 """ 225 """
231 Protected slot to show the context menu. 226 Protected slot to show the context menu.

eric ide

mercurial