Tools/TrayStarter.py

changeset 4673
6fa2418f010c
parent 4631
5c1a96925da4
child 4986
248b5a87158d
equal deleted inserted replaced
4672:67fa9b25183f 4673:6fa2418f010c
102 UI.PixmapCache.getIcon("trPreviewer.png"), 102 UI.PixmapCache.getIcon("trPreviewer.png"),
103 self.tr("Translations Previewer"), self.__startTRPreviewer) 103 self.tr("Translations Previewer"), self.__startTRPreviewer)
104 self.__menu.addAction( 104 self.__menu.addAction(
105 UI.PixmapCache.getIcon("unittest.png"), 105 UI.PixmapCache.getIcon("unittest.png"),
106 self.tr("Unittest"), self.__startUnittest) 106 self.tr("Unittest"), self.__startUnittest)
107 self.__menu.addSeparator()
108
109 self.__menu.addAction(
110 UI.PixmapCache.getIcon("diffFiles.png"),
111 self.tr("Compare Files"), self.__startDiff)
112 self.__menu.addAction(
113 UI.PixmapCache.getIcon("compareFiles.png"),
114 self.tr("Compare Files side by side"), self.__startCompare)
115 self.__menu.addSeparator()
116
117 self.__menu.addAction(
118 UI.PixmapCache.getIcon("sqlBrowser.png"),
119 self.tr("SQL Browser"), self.__startSqlBrowser)
120 self.__menu.addSeparator()
121
122 self.__menu.addAction(
123 UI.PixmapCache.getIcon("ericSnap.png"),
124 self.tr("Snapshot"), self.__startSnapshot)
125 self.__menu.addAction(
126 UI.PixmapCache.getIcon("iconEditor.png"),
127 self.tr("Icon Editor"), self.__startIconEditor)
128 self.__menu.addSeparator()
129
130 self.__menu.addAction(
131 UI.PixmapCache.getIcon("pluginInstall.png"),
132 self.tr("Install Plugin"), self.__startPluginInstall)
133 self.__menu.addAction(
134 UI.PixmapCache.getIcon("pluginUninstall.png"),
135 self.tr("Uninstall Plugin"), self.__startPluginUninstall)
136 self.__menu.addAction(
137 UI.PixmapCache.getIcon("pluginRepository.png"),
138 self.tr("Plugin Repository"), self.__startPluginRepository)
139 self.__menu.addSeparator()
140
141 self.__menu.addAction(
142 UI.PixmapCache.getIcon("configure.png"),
143 self.tr('Preferences'), self.__startPreferences)
144 self.__menu.addSeparator()
145
146 self.__menu.addAction(
147 UI.PixmapCache.getIcon("erict.png"),
148 self.tr("eric6 IDE"), self.__startEric)
149 self.__menu.addAction(
150 UI.PixmapCache.getIcon("editor.png"),
151 self.tr("eric6 Mini Editor"), self.__startMiniEditor)
152 self.__menu.addAction(
153 UI.PixmapCache.getIcon("hexEditor.png"),
154 self.tr("eric6 Hex Editor"), self.__startHexEditor)
107 self.__menu.addAction( 155 self.__menu.addAction(
108 UI.PixmapCache.getIcon("ericWeb.png"), 156 UI.PixmapCache.getIcon("ericWeb.png"),
109 self.tr("eric6 Web Browser"), self.__startHelpViewer) 157 self.tr("eric6 Web Browser"), self.__startHelpViewer)
110 self.__menu.addSeparator()
111
112 self.__menu.addAction(
113 UI.PixmapCache.getIcon("diffFiles.png"),
114 self.tr("Compare Files"), self.__startDiff)
115 self.__menu.addAction(
116 UI.PixmapCache.getIcon("compareFiles.png"),
117 self.tr("Compare Files side by side"), self.__startCompare)
118 self.__menu.addSeparator()
119
120 self.__menu.addAction(
121 UI.PixmapCache.getIcon("sqlBrowser.png"),
122 self.tr("SQL Browser"), self.__startSqlBrowser)
123 self.__menu.addSeparator()
124
125 self.__menu.addAction(
126 UI.PixmapCache.getIcon("ericSnap.png"),
127 self.tr("Snapshot"), self.__startSnapshot)
128 self.__menu.addAction(
129 UI.PixmapCache.getIcon("iconEditor.png"),
130 self.tr("Icon Editor"), self.__startIconEditor)
131 self.__menu.addSeparator()
132
133 self.__menu.addAction(
134 UI.PixmapCache.getIcon("pluginInstall.png"),
135 self.tr("Install Plugin"), self.__startPluginInstall)
136 self.__menu.addAction(
137 UI.PixmapCache.getIcon("pluginUninstall.png"),
138 self.tr("Uninstall Plugin"), self.__startPluginUninstall)
139 self.__menu.addAction(
140 UI.PixmapCache.getIcon("pluginRepository.png"),
141 self.tr("Plugin Repository"), self.__startPluginRepository)
142 self.__menu.addSeparator()
143
144 self.__menu.addAction(
145 UI.PixmapCache.getIcon("configure.png"),
146 self.tr('Preferences'), self.__startPreferences)
147 self.__menu.addAction(
148 UI.PixmapCache.getIcon("erict.png"),
149 self.tr("eric6 IDE"), self.__startEric)
150 self.__menu.addAction(
151 UI.PixmapCache.getIcon("editor.png"),
152 self.tr("eric6 Mini Editor"), self.__startMiniEditor)
153 self.__menu.addSeparator() 158 self.__menu.addSeparator()
154 159
155 self.__menu.addAction( 160 self.__menu.addAction(
156 UI.PixmapCache.getIcon("configure.png"), 161 UI.PixmapCache.getIcon("configure.png"),
157 self.tr('Configure Tray Starter'), self.__showPreferences) 162 self.tr('Configure Tray Starter'), self.__showPreferences)
360 def __startPyRe(self): 365 def __startPyRe(self):
361 """ 366 """
362 Private slot to start the eric6 Python re editor dialog. 367 Private slot to start the eric6 Python re editor dialog.
363 """ 368 """
364 self.__startProc("eric6_re.py") 369 self.__startProc("eric6_re.py")
370
371 def __startHexEditor(self):
372 """
373 Private slot to start the eric6 hex editor dialog.
374 """
375 self.__startProc("eric6_hexeditor.py")
365 376
366 def __showRecentProjectsMenu(self): 377 def __showRecentProjectsMenu(self):
367 """ 378 """
368 Private method to set up the recent projects menu. 379 Private method to set up the recent projects menu.
369 """ 380 """

eric ide

mercurial