src/eric7/Tools/TrayStarter.py

branch
pdf_viewer
changeset 9714
2a3c6f6f88b6
parent 9653
e67609152c5e
child 10106
d61075b70ab3
equal deleted inserted replaced
9713:84e997a2b306 9714:2a3c6f6f88b6
136 ) 136 )
137 self.__menu.addAction( 137 self.__menu.addAction(
138 EricPixmapCache.getIcon("iconEditor"), 138 EricPixmapCache.getIcon("iconEditor"),
139 self.tr("Icon Editor"), 139 self.tr("Icon Editor"),
140 self.__startIconEditor, 140 self.__startIconEditor,
141 )
142 self.__menu.addAction(
143 EricPixmapCache.getIcon("ericPdf"),
144 self.tr("PDF Viewer"),
145 self.__startPdfViewer,
141 ) 146 )
142 self.__menu.addSeparator() 147 self.__menu.addSeparator()
143 148
144 self.__menu.addAction( 149 self.__menu.addAction(
145 EricPixmapCache.getIcon("pluginInstall"), 150 EricPixmapCache.getIcon("pluginInstall"),
458 def __startShell(self): 463 def __startShell(self):
459 """ 464 """
460 Private slot to start the eric Shell window. 465 Private slot to start the eric Shell window.
461 """ 466 """
462 self.__startProc("eric7_shell.py") 467 self.__startProc("eric7_shell.py")
468
469 def __startPdfViewer(self):
470 """
471 Private slot to start the eric PDF Viewer window.
472 """
473 self.__startProc("eric7_pdf.py")
463 474
464 def __showRecentProjectsMenu(self): 475 def __showRecentProjectsMenu(self):
465 """ 476 """
466 Private method to set up the recent projects menu. 477 Private method to set up the recent projects menu.
467 """ 478 """

eric ide

mercurial