eric6/Project/ProjectSourcesBrowser.py

changeset 7533
88261c96484b
parent 7360
9190402e4505
child 7628
f904d0eef264
equal deleted inserted replaced
7532:1358e9d67a1c 7533:88261c96484b
133 self.graphicsMenu.addAction( 133 self.graphicsMenu.addAction(
134 self.tr("Application Diagram..."), 134 self.tr("Application Diagram..."),
135 self.__showApplicationDiagram) 135 self.__showApplicationDiagram)
136 self.graphicsMenu.addSeparator() 136 self.graphicsMenu.addSeparator()
137 self.graphicsMenu.addAction( 137 self.graphicsMenu.addAction(
138 UI.PixmapCache.getIcon("open.png"), 138 UI.PixmapCache.getIcon("open"),
139 self.tr("Load Diagram..."), self.__loadDiagram) 139 self.tr("Load Diagram..."), self.__loadDiagram)
140 self.graphicsMenu.aboutToShow.connect(self.__showContextMenuGraphics) 140 self.graphicsMenu.aboutToShow.connect(self.__showContextMenuGraphics)
141 141
142 self.unittestAction = self.sourceMenu.addAction( 142 self.unittestAction = self.sourceMenu.addAction(
143 self.tr('Run unittest...'), self.handleUnittest) 143 self.tr('Run unittest...'), self.handleUnittest)
303 self.graphicsMenu.addAction( 303 self.graphicsMenu.addAction(
304 self.tr("Application Diagram..."), 304 self.tr("Application Diagram..."),
305 self.__showApplicationDiagram) 305 self.__showApplicationDiagram)
306 self.graphicsMenu.addSeparator() 306 self.graphicsMenu.addSeparator()
307 self.graphicsMenu.addAction( 307 self.graphicsMenu.addAction(
308 UI.PixmapCache.getIcon("fileOpen.png"), 308 UI.PixmapCache.getIcon("fileOpen"),
309 self.tr("Load Diagram..."), self.__loadDiagram) 309 self.tr("Load Diagram..."), self.__loadDiagram)
310 310
311 self.sourceMenu.addSeparator() 311 self.sourceMenu.addSeparator()
312 act = self.sourceMenu.addAction( 312 act = self.sourceMenu.addAction(
313 self.tr('Rename file'), self._renameFile) 313 self.tr('Rename file'), self._renameFile)

eric ide

mercurial