107 self.__menu.addSeparator() |
107 self.__menu.addSeparator() |
108 |
108 |
109 self.__menu.addAction(UI.PixmapCache.getIcon("configure.png"), |
109 self.__menu.addAction(UI.PixmapCache.getIcon("configure.png"), |
110 self.trUtf8('Preferences'), self.__startPreferences) |
110 self.trUtf8('Preferences'), self.__startPreferences) |
111 self.__menu.addAction(UI.PixmapCache.getIcon("erict.png"), |
111 self.__menu.addAction(UI.PixmapCache.getIcon("erict.png"), |
112 self.trUtf8("eric4 IDE"), self.__startEric) |
112 self.trUtf8("eric5 IDE"), self.__startEric) |
113 self.__menu.addAction(UI.PixmapCache.getIcon("editor.png"), |
113 self.__menu.addAction(UI.PixmapCache.getIcon("editor.png"), |
114 self.trUtf8("eric4 Mini Editor"), self.__startMiniEditor) |
114 self.trUtf8("eric5 Mini Editor"), self.__startMiniEditor) |
115 self.__menu.addSeparator() |
115 self.__menu.addSeparator() |
116 |
116 |
117 # recent files |
117 # recent files |
118 self.menuRecentFilesAct = self.__menu.addMenu(self.recentFilesMenu) |
118 self.menuRecentFilesAct = self.__menu.addMenu(self.recentFilesMenu) |
119 # recent multi projects |
119 # recent multi projects |
207 ).format(applPath), |
207 ).format(applPath), |
208 self.trUtf8('OK')) |
208 self.trUtf8('OK')) |
209 |
209 |
210 def __startMiniEditor(self): |
210 def __startMiniEditor(self): |
211 """ |
211 """ |
212 Private slot to start the eric4 Mini Editor. |
212 Private slot to start the eric5 Mini Editor. |
213 """ |
213 """ |
214 self.__startProc("eric4-editor.py", "--config=%s" % Utilities.getConfigDir()) |
214 self.__startProc("eric5-editor.py", "--config=%s" % Utilities.getConfigDir()) |
215 |
215 |
216 def __startEric(self): |
216 def __startEric(self): |
217 """ |
217 """ |
218 Private slot to start the eric4 IDE. |
218 Private slot to start the eric5 IDE. |
219 """ |
219 """ |
220 self.__startProc("eric4.py", "--config=%s" % Utilities.getConfigDir()) |
220 self.__startProc("eric5.py", "--config=%s" % Utilities.getConfigDir()) |
221 |
221 |
222 def __startPreferences(self): |
222 def __startPreferences(self): |
223 """ |
223 """ |
224 Private slot to start the eric4 configuration dialog. |
224 Private slot to start the eric5 configuration dialog. |
225 """ |
225 """ |
226 self.__startProc("eric4-configure.py", "--config=%s" % Utilities.getConfigDir()) |
226 self.__startProc("eric5-configure.py", "--config=%s" % Utilities.getConfigDir()) |
227 |
227 |
228 def __startPluginInstall(self): |
228 def __startPluginInstall(self): |
229 """ |
229 """ |
230 Private slot to start the eric4 plugin installation dialog. |
230 Private slot to start the eric5 plugin installation dialog. |
231 """ |
231 """ |
232 self.__startProc("eric4-plugininstall.py", |
232 self.__startProc("eric5-plugininstall.py", |
233 "--config=%s" % Utilities.getConfigDir()) |
233 "--config=%s" % Utilities.getConfigDir()) |
234 |
234 |
235 def __startPluginUninstall(self): |
235 def __startPluginUninstall(self): |
236 """ |
236 """ |
237 Private slot to start the eric4 plugin uninstallation dialog. |
237 Private slot to start the eric5 plugin uninstallation dialog. |
238 """ |
238 """ |
239 self.__startProc("eric4-pluginuninstall.py", |
239 self.__startProc("eric5-pluginuninstall.py", |
240 "--config=%s" % Utilities.getConfigDir()) |
240 "--config=%s" % Utilities.getConfigDir()) |
241 |
241 |
242 def __startPluginRepository(self): |
242 def __startPluginRepository(self): |
243 """ |
243 """ |
244 Private slot to start the eric4 plugin repository dialog. |
244 Private slot to start the eric5 plugin repository dialog. |
245 """ |
245 """ |
246 self.__startProc("eric4-pluginrepository.py", |
246 self.__startProc("eric5-pluginrepository.py", |
247 "--config=%s" % Utilities.getConfigDir()) |
247 "--config=%s" % Utilities.getConfigDir()) |
248 |
248 |
249 def __startHelpViewer(self): |
249 def __startHelpViewer(self): |
250 """ |
250 """ |
251 Private slot to start the eric4 web browser. |
251 Private slot to start the eric5 web browser. |
252 """ |
252 """ |
253 self.__startProc("eric4-webbrowser.py", "--config=%s" % Utilities.getConfigDir()) |
253 self.__startProc("eric5-webbrowser.py", "--config=%s" % Utilities.getConfigDir()) |
254 |
254 |
255 def __startUIPreviewer(self): |
255 def __startUIPreviewer(self): |
256 """ |
256 """ |
257 Private slot to start the eric4 UI previewer. |
257 Private slot to start the eric5 UI previewer. |
258 """ |
258 """ |
259 self.__startProc("eric4-uipreviewer.py", "--config=%s" % Utilities.getConfigDir()) |
259 self.__startProc("eric5-uipreviewer.py", "--config=%s" % Utilities.getConfigDir()) |
260 |
260 |
261 def __startTRPreviewer(self): |
261 def __startTRPreviewer(self): |
262 """ |
262 """ |
263 Private slot to start the eric4 translations previewer. |
263 Private slot to start the eric5 translations previewer. |
264 """ |
264 """ |
265 self.__startProc("eric4-trpreviewer.py", "--config=%s" % Utilities.getConfigDir()) |
265 self.__startProc("eric5-trpreviewer.py", "--config=%s" % Utilities.getConfigDir()) |
266 |
266 |
267 def __startUnittest(self): |
267 def __startUnittest(self): |
268 """ |
268 """ |
269 Private slot to start the eric4 unittest dialog. |
269 Private slot to start the eric5 unittest dialog. |
270 """ |
270 """ |
271 self.__startProc("eric4-unittest.py", "--config=%s" % Utilities.getConfigDir()) |
271 self.__startProc("eric5-unittest.py", "--config=%s" % Utilities.getConfigDir()) |
272 |
272 |
273 def __startDiff(self): |
273 def __startDiff(self): |
274 """ |
274 """ |
275 Private slot to start the eric4 diff dialog. |
275 Private slot to start the eric5 diff dialog. |
276 """ |
276 """ |
277 self.__startProc("eric4-diff.py", "--config=%s" % Utilities.getConfigDir()) |
277 self.__startProc("eric5-diff.py", "--config=%s" % Utilities.getConfigDir()) |
278 |
278 |
279 def __startCompare(self): |
279 def __startCompare(self): |
280 """ |
280 """ |
281 Private slot to start the eric4 compare dialog. |
281 Private slot to start the eric5 compare dialog. |
282 """ |
282 """ |
283 self.__startProc("eric4-compare.py", "--config=%s" % Utilities.getConfigDir()) |
283 self.__startProc("eric5-compare.py", "--config=%s" % Utilities.getConfigDir()) |
284 |
284 |
285 def __startSqlBrowser(self): |
285 def __startSqlBrowser(self): |
286 """ |
286 """ |
287 Private slot to start the eric4 sql browser dialog. |
287 Private slot to start the eric5 sql browser dialog. |
288 """ |
288 """ |
289 self.__startProc("eric4-sqlbrowser.py", "--config=%s" % Utilities.getConfigDir()) |
289 self.__startProc("eric5-sqlbrowser.py", "--config=%s" % Utilities.getConfigDir()) |
290 |
290 |
291 def __startQRegExp(self): |
291 def __startQRegExp(self): |
292 """ |
292 """ |
293 Private slot to start the eric4 QRegExp editor dialog. |
293 Private slot to start the eric5 QRegExp editor dialog. |
294 """ |
294 """ |
295 self.__startProc("eric4-qregexp.py", "--config=%s" % Utilities.getConfigDir()) |
295 self.__startProc("eric5-qregexp.py", "--config=%s" % Utilities.getConfigDir()) |
296 |
296 |
297 def __startPyRe(self): |
297 def __startPyRe(self): |
298 """ |
298 """ |
299 Private slot to start the eric4 Python re editor dialog. |
299 Private slot to start the eric5 Python re editor dialog. |
300 """ |
300 """ |
301 self.__startProc("eric4-re.py", "--config=%s" % Utilities.getConfigDir()) |
301 self.__startProc("eric5-re.py", "--config=%s" % Utilities.getConfigDir()) |
302 |
302 |
303 def __showRecentProjectsMenu(self): |
303 def __showRecentProjectsMenu(self): |
304 """ |
304 """ |
305 Private method to set up the recent projects menu. |
305 Private method to set up the recent projects menu. |
306 """ |
306 """ |