src/eric7/Documentation/Source/eric7.Tools.TrayStarter.html

branch
eric7
changeset 9209
b99e7fd55fd3
parent 9097
213951c41dcd
child 9730
00cf7289d899
equal deleted inserted replaced
9208:3fc8dfeb6ebe 9209:b99e7fd55fd3
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric7.Tools.TrayStarter</title>
4 <meta charset="UTF-8">
5 <link rel="stylesheet" href="styles.css">
6 </head>
7 <body>
8 <a NAME="top" ID="top"></a>
9 <h1>eric7.Tools.TrayStarter</h1>
10
11 <p>
12 Module implementing a starter for the system tray.
13 </p>
14 <h3>Global Attributes</h3>
15
16 <table>
17 <tr><td>None</td></tr>
18 </table>
19 <h3>Classes</h3>
20
21 <table>
22
23 <tr>
24 <td><a href="#TrayStarter">TrayStarter</a></td>
25 <td>Class implementing a starter for the system tray.</td>
26 </tr>
27 </table>
28 <h3>Functions</h3>
29
30 <table>
31 <tr><td>None</td></tr>
32 </table>
33 <hr />
34 <hr />
35 <a NAME="TrayStarter" ID="TrayStarter"></a>
36 <h2>TrayStarter</h2>
37
38 <p>
39 Class implementing a starter for the system tray.
40 </p>
41 <h3>Derived from</h3>
42 QSystemTrayIcon
43 <h3>Class Attributes</h3>
44
45 <table>
46 <tr><td>None</td></tr>
47 </table>
48 <h3>Class Methods</h3>
49
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Methods</h3>
54
55 <table>
56
57 <tr>
58 <td><a href="#TrayStarter.__init__">TrayStarter</a></td>
59 <td>Constructor</td>
60 </tr>
61 <tr>
62 <td><a href="#TrayStarter.__about">__about</a></td>
63 <td>Private slot to handle the About dialog.</td>
64 </tr>
65 <tr>
66 <td><a href="#TrayStarter.__activated">__activated</a></td>
67 <td>Private slot to handle the activated signal.</td>
68 </tr>
69 <tr>
70 <td><a href="#TrayStarter.__loadRecentFiles">__loadRecentFiles</a></td>
71 <td>Private method to load the recently opened filenames.</td>
72 </tr>
73 <tr>
74 <td><a href="#TrayStarter.__loadRecentMultiProjects">__loadRecentMultiProjects</a></td>
75 <td>Private method to load the recently opened multi project filenames.</td>
76 </tr>
77 <tr>
78 <td><a href="#TrayStarter.__loadRecentProjects">__loadRecentProjects</a></td>
79 <td>Private method to load the recently opened project filenames.</td>
80 </tr>
81 <tr>
82 <td><a href="#TrayStarter.__openRecent">__openRecent</a></td>
83 <td>Private method to open a project or file from the list of recently opened projects or files.</td>
84 </tr>
85 <tr>
86 <td><a href="#TrayStarter.__showContextMenu">__showContextMenu</a></td>
87 <td>Private slot to show the context menu.</td>
88 </tr>
89 <tr>
90 <td><a href="#TrayStarter.__showPreferences">__showPreferences</a></td>
91 <td>Private slot to set the preferences.</td>
92 </tr>
93 <tr>
94 <td><a href="#TrayStarter.__showRecentFilesMenu">__showRecentFilesMenu</a></td>
95 <td>Private method to set up the recent files menu.</td>
96 </tr>
97 <tr>
98 <td><a href="#TrayStarter.__showRecentMultiProjectsMenu">__showRecentMultiProjectsMenu</a></td>
99 <td>Private method to set up the recent multi projects menu.</td>
100 </tr>
101 <tr>
102 <td><a href="#TrayStarter.__showRecentProjectsMenu">__showRecentProjectsMenu</a></td>
103 <td>Private method to set up the recent projects menu.</td>
104 </tr>
105 <tr>
106 <td><a href="#TrayStarter.__showVersions">__showVersions</a></td>
107 <td>Private slot to handle the Versions dialog.</td>
108 </tr>
109 <tr>
110 <td><a href="#TrayStarter.__startCompare">__startCompare</a></td>
111 <td>Private slot to start the eric compare dialog.</td>
112 </tr>
113 <tr>
114 <td><a href="#TrayStarter.__startDiff">__startDiff</a></td>
115 <td>Private slot to start the eric diff dialog.</td>
116 </tr>
117 <tr>
118 <td><a href="#TrayStarter.__startEric">__startEric</a></td>
119 <td>Private slot to start the eric IDE.</td>
120 </tr>
121 <tr>
122 <td><a href="#TrayStarter.__startHexEditor">__startHexEditor</a></td>
123 <td>Private slot to start the eric hex editor dialog.</td>
124 </tr>
125 <tr>
126 <td><a href="#TrayStarter.__startIconEditor">__startIconEditor</a></td>
127 <td>Private slot to start the eric icon editor dialog.</td>
128 </tr>
129 <tr>
130 <td><a href="#TrayStarter.__startMiniEditor">__startMiniEditor</a></td>
131 <td>Private slot to start the eric Mini Editor.</td>
132 </tr>
133 <tr>
134 <td><a href="#TrayStarter.__startPluginInstall">__startPluginInstall</a></td>
135 <td>Private slot to start the eric plugin installation dialog.</td>
136 </tr>
137 <tr>
138 <td><a href="#TrayStarter.__startPluginRepository">__startPluginRepository</a></td>
139 <td>Private slot to start the eric plugin repository dialog.</td>
140 </tr>
141 <tr>
142 <td><a href="#TrayStarter.__startPluginUninstall">__startPluginUninstall</a></td>
143 <td>Private slot to start the eric plugin uninstallation dialog.</td>
144 </tr>
145 <tr>
146 <td><a href="#TrayStarter.__startPreferences">__startPreferences</a></td>
147 <td>Private slot to start the eric configuration dialog.</td>
148 </tr>
149 <tr>
150 <td><a href="#TrayStarter.__startProc">__startProc</a></td>
151 <td>Private method to start an eric application.</td>
152 </tr>
153 <tr>
154 <td><a href="#TrayStarter.__startPyRe">__startPyRe</a></td>
155 <td>Private slot to start the eric Python re editor dialog.</td>
156 </tr>
157 <tr>
158 <td><a href="#TrayStarter.__startQRegularExpression">__startQRegularExpression</a></td>
159 <td>Private slot to start the eric QRegularExpression editor dialog.</td>
160 </tr>
161 <tr>
162 <td><a href="#TrayStarter.__startShell">__startShell</a></td>
163 <td>Private slot to start the eric Shell window.</td>
164 </tr>
165 <tr>
166 <td><a href="#TrayStarter.__startSnapshot">__startSnapshot</a></td>
167 <td>Private slot to start the eric snapshot dialog.</td>
168 </tr>
169 <tr>
170 <td><a href="#TrayStarter.__startSqlBrowser">__startSqlBrowser</a></td>
171 <td>Private slot to start the eric sql browser dialog.</td>
172 </tr>
173 <tr>
174 <td><a href="#TrayStarter.__startTRPreviewer">__startTRPreviewer</a></td>
175 <td>Private slot to start the eric translations previewer.</td>
176 </tr>
177 <tr>
178 <td><a href="#TrayStarter.__startTesting">__startTesting</a></td>
179 <td>Private slot to start the eric testing dialog.</td>
180 </tr>
181 <tr>
182 <td><a href="#TrayStarter.__startUIPreviewer">__startUIPreviewer</a></td>
183 <td>Private slot to start the eric UI previewer.</td>
184 </tr>
185 <tr>
186 <td><a href="#TrayStarter.__startVirtualenvManager">__startVirtualenvManager</a></td>
187 <td>Private slot to start the eric virtual environments manager window.</td>
188 </tr>
189 <tr>
190 <td><a href="#TrayStarter.__startWebBrowser">__startWebBrowser</a></td>
191 <td>Private slot to start the eric web browser.</td>
192 </tr>
193 <tr>
194 <td><a href="#TrayStarter.__startWebBrowserPrivate">__startWebBrowserPrivate</a></td>
195 <td>Private slot to start the eric web browser in private mode.</td>
196 </tr>
197 <tr>
198 <td><a href="#TrayStarter.__startWebBrowserQtHelp">__startWebBrowserQtHelp</a></td>
199 <td>Private slot to start the eric web browser with QtHelp support.</td>
200 </tr>
201 <tr>
202 <td><a href="#TrayStarter.preferencesChanged">preferencesChanged</a></td>
203 <td>Public slot to handle a change of preferences.</td>
204 </tr>
205 </table>
206 <h3>Static Methods</h3>
207
208 <table>
209 <tr><td>None</td></tr>
210 </table>
211
212 <a NAME="TrayStarter.__init__" ID="TrayStarter.__init__"></a>
213 <h4>TrayStarter (Constructor)</h4>
214 <b>TrayStarter</b>(<i>settingsDir</i>)
215
216 <p>
217 Constructor
218 </p>
219 <dl>
220
221 <dt><i>settingsDir</i> (str)</dt>
222 <dd>
223 directory to be used for the settings files
224 </dd>
225 </dl>
226 <a NAME="TrayStarter.__about" ID="TrayStarter.__about"></a>
227 <h4>TrayStarter.__about</h4>
228 <b>__about</b>(<i></i>)
229
230 <p>
231 Private slot to handle the About dialog.
232 </p>
233 <a NAME="TrayStarter.__activated" ID="TrayStarter.__activated"></a>
234 <h4>TrayStarter.__activated</h4>
235 <b>__activated</b>(<i>reason</i>)
236
237 <p>
238 Private slot to handle the activated signal.
239 </p>
240 <dl>
241
242 <dt><i>reason</i></dt>
243 <dd>
244 reason code of the signal
245 (QSystemTrayIcon.ActivationReason)
246 </dd>
247 </dl>
248 <a NAME="TrayStarter.__loadRecentFiles" ID="TrayStarter.__loadRecentFiles"></a>
249 <h4>TrayStarter.__loadRecentFiles</h4>
250 <b>__loadRecentFiles</b>(<i></i>)
251
252 <p>
253 Private method to load the recently opened filenames.
254 </p>
255 <a NAME="TrayStarter.__loadRecentMultiProjects" ID="TrayStarter.__loadRecentMultiProjects"></a>
256 <h4>TrayStarter.__loadRecentMultiProjects</h4>
257 <b>__loadRecentMultiProjects</b>(<i></i>)
258
259 <p>
260 Private method to load the recently opened multi project filenames.
261 </p>
262 <a NAME="TrayStarter.__loadRecentProjects" ID="TrayStarter.__loadRecentProjects"></a>
263 <h4>TrayStarter.__loadRecentProjects</h4>
264 <b>__loadRecentProjects</b>(<i></i>)
265
266 <p>
267 Private method to load the recently opened project filenames.
268 </p>
269 <a NAME="TrayStarter.__openRecent" ID="TrayStarter.__openRecent"></a>
270 <h4>TrayStarter.__openRecent</h4>
271 <b>__openRecent</b>(<i>act</i>)
272
273 <p>
274 Private method to open a project or file from the list of recently
275 opened projects or files.
276 </p>
277 <dl>
278
279 <dt><i>act</i></dt>
280 <dd>
281 reference to the action that triggered (QAction)
282 </dd>
283 </dl>
284 <a NAME="TrayStarter.__showContextMenu" ID="TrayStarter.__showContextMenu"></a>
285 <h4>TrayStarter.__showContextMenu</h4>
286 <b>__showContextMenu</b>(<i></i>)
287
288 <p>
289 Private slot to show the context menu.
290 </p>
291 <a NAME="TrayStarter.__showPreferences" ID="TrayStarter.__showPreferences"></a>
292 <h4>TrayStarter.__showPreferences</h4>
293 <b>__showPreferences</b>(<i></i>)
294
295 <p>
296 Private slot to set the preferences.
297 </p>
298 <a NAME="TrayStarter.__showRecentFilesMenu" ID="TrayStarter.__showRecentFilesMenu"></a>
299 <h4>TrayStarter.__showRecentFilesMenu</h4>
300 <b>__showRecentFilesMenu</b>(<i></i>)
301
302 <p>
303 Private method to set up the recent files menu.
304 </p>
305 <a NAME="TrayStarter.__showRecentMultiProjectsMenu" ID="TrayStarter.__showRecentMultiProjectsMenu"></a>
306 <h4>TrayStarter.__showRecentMultiProjectsMenu</h4>
307 <b>__showRecentMultiProjectsMenu</b>(<i></i>)
308
309 <p>
310 Private method to set up the recent multi projects menu.
311 </p>
312 <a NAME="TrayStarter.__showRecentProjectsMenu" ID="TrayStarter.__showRecentProjectsMenu"></a>
313 <h4>TrayStarter.__showRecentProjectsMenu</h4>
314 <b>__showRecentProjectsMenu</b>(<i></i>)
315
316 <p>
317 Private method to set up the recent projects menu.
318 </p>
319 <a NAME="TrayStarter.__showVersions" ID="TrayStarter.__showVersions"></a>
320 <h4>TrayStarter.__showVersions</h4>
321 <b>__showVersions</b>(<i></i>)
322
323 <p>
324 Private slot to handle the Versions dialog.
325 </p>
326 <a NAME="TrayStarter.__startCompare" ID="TrayStarter.__startCompare"></a>
327 <h4>TrayStarter.__startCompare</h4>
328 <b>__startCompare</b>(<i></i>)
329
330 <p>
331 Private slot to start the eric compare dialog.
332 </p>
333 <a NAME="TrayStarter.__startDiff" ID="TrayStarter.__startDiff"></a>
334 <h4>TrayStarter.__startDiff</h4>
335 <b>__startDiff</b>(<i></i>)
336
337 <p>
338 Private slot to start the eric diff dialog.
339 </p>
340 <a NAME="TrayStarter.__startEric" ID="TrayStarter.__startEric"></a>
341 <h4>TrayStarter.__startEric</h4>
342 <b>__startEric</b>(<i></i>)
343
344 <p>
345 Private slot to start the eric IDE.
346 </p>
347 <a NAME="TrayStarter.__startHexEditor" ID="TrayStarter.__startHexEditor"></a>
348 <h4>TrayStarter.__startHexEditor</h4>
349 <b>__startHexEditor</b>(<i></i>)
350
351 <p>
352 Private slot to start the eric hex editor dialog.
353 </p>
354 <a NAME="TrayStarter.__startIconEditor" ID="TrayStarter.__startIconEditor"></a>
355 <h4>TrayStarter.__startIconEditor</h4>
356 <b>__startIconEditor</b>(<i></i>)
357
358 <p>
359 Private slot to start the eric icon editor dialog.
360 </p>
361 <a NAME="TrayStarter.__startMiniEditor" ID="TrayStarter.__startMiniEditor"></a>
362 <h4>TrayStarter.__startMiniEditor</h4>
363 <b>__startMiniEditor</b>(<i></i>)
364
365 <p>
366 Private slot to start the eric Mini Editor.
367 </p>
368 <a NAME="TrayStarter.__startPluginInstall" ID="TrayStarter.__startPluginInstall"></a>
369 <h4>TrayStarter.__startPluginInstall</h4>
370 <b>__startPluginInstall</b>(<i></i>)
371
372 <p>
373 Private slot to start the eric plugin installation dialog.
374 </p>
375 <a NAME="TrayStarter.__startPluginRepository" ID="TrayStarter.__startPluginRepository"></a>
376 <h4>TrayStarter.__startPluginRepository</h4>
377 <b>__startPluginRepository</b>(<i></i>)
378
379 <p>
380 Private slot to start the eric plugin repository dialog.
381 </p>
382 <a NAME="TrayStarter.__startPluginUninstall" ID="TrayStarter.__startPluginUninstall"></a>
383 <h4>TrayStarter.__startPluginUninstall</h4>
384 <b>__startPluginUninstall</b>(<i></i>)
385
386 <p>
387 Private slot to start the eric plugin uninstallation dialog.
388 </p>
389 <a NAME="TrayStarter.__startPreferences" ID="TrayStarter.__startPreferences"></a>
390 <h4>TrayStarter.__startPreferences</h4>
391 <b>__startPreferences</b>(<i></i>)
392
393 <p>
394 Private slot to start the eric configuration dialog.
395 </p>
396 <a NAME="TrayStarter.__startProc" ID="TrayStarter.__startProc"></a>
397 <h4>TrayStarter.__startProc</h4>
398 <b>__startProc</b>(<i>applName, *applArgs</i>)
399
400 <p>
401 Private method to start an eric application.
402 </p>
403 <dl>
404
405 <dt><i>applName</i></dt>
406 <dd>
407 name of the eric application script (string)
408 </dd>
409 <dt><i>*applArgs</i></dt>
410 <dd>
411 variable list of application arguments
412 </dd>
413 </dl>
414 <a NAME="TrayStarter.__startPyRe" ID="TrayStarter.__startPyRe"></a>
415 <h4>TrayStarter.__startPyRe</h4>
416 <b>__startPyRe</b>(<i></i>)
417
418 <p>
419 Private slot to start the eric Python re editor dialog.
420 </p>
421 <a NAME="TrayStarter.__startQRegularExpression" ID="TrayStarter.__startQRegularExpression"></a>
422 <h4>TrayStarter.__startQRegularExpression</h4>
423 <b>__startQRegularExpression</b>(<i></i>)
424
425 <p>
426 Private slot to start the eric QRegularExpression editor dialog.
427 </p>
428 <a NAME="TrayStarter.__startShell" ID="TrayStarter.__startShell"></a>
429 <h4>TrayStarter.__startShell</h4>
430 <b>__startShell</b>(<i></i>)
431
432 <p>
433 Private slot to start the eric Shell window.
434 </p>
435 <a NAME="TrayStarter.__startSnapshot" ID="TrayStarter.__startSnapshot"></a>
436 <h4>TrayStarter.__startSnapshot</h4>
437 <b>__startSnapshot</b>(<i></i>)
438
439 <p>
440 Private slot to start the eric snapshot dialog.
441 </p>
442 <a NAME="TrayStarter.__startSqlBrowser" ID="TrayStarter.__startSqlBrowser"></a>
443 <h4>TrayStarter.__startSqlBrowser</h4>
444 <b>__startSqlBrowser</b>(<i></i>)
445
446 <p>
447 Private slot to start the eric sql browser dialog.
448 </p>
449 <a NAME="TrayStarter.__startTRPreviewer" ID="TrayStarter.__startTRPreviewer"></a>
450 <h4>TrayStarter.__startTRPreviewer</h4>
451 <b>__startTRPreviewer</b>(<i></i>)
452
453 <p>
454 Private slot to start the eric translations previewer.
455 </p>
456 <a NAME="TrayStarter.__startTesting" ID="TrayStarter.__startTesting"></a>
457 <h4>TrayStarter.__startTesting</h4>
458 <b>__startTesting</b>(<i></i>)
459
460 <p>
461 Private slot to start the eric testing dialog.
462 </p>
463 <a NAME="TrayStarter.__startUIPreviewer" ID="TrayStarter.__startUIPreviewer"></a>
464 <h4>TrayStarter.__startUIPreviewer</h4>
465 <b>__startUIPreviewer</b>(<i></i>)
466
467 <p>
468 Private slot to start the eric UI previewer.
469 </p>
470 <a NAME="TrayStarter.__startVirtualenvManager" ID="TrayStarter.__startVirtualenvManager"></a>
471 <h4>TrayStarter.__startVirtualenvManager</h4>
472 <b>__startVirtualenvManager</b>(<i></i>)
473
474 <p>
475 Private slot to start the eric virtual environments manager window.
476 </p>
477 <a NAME="TrayStarter.__startWebBrowser" ID="TrayStarter.__startWebBrowser"></a>
478 <h4>TrayStarter.__startWebBrowser</h4>
479 <b>__startWebBrowser</b>(<i></i>)
480
481 <p>
482 Private slot to start the eric web browser.
483 </p>
484 <a NAME="TrayStarter.__startWebBrowserPrivate" ID="TrayStarter.__startWebBrowserPrivate"></a>
485 <h4>TrayStarter.__startWebBrowserPrivate</h4>
486 <b>__startWebBrowserPrivate</b>(<i></i>)
487
488 <p>
489 Private slot to start the eric web browser in private mode.
490 </p>
491 <a NAME="TrayStarter.__startWebBrowserQtHelp" ID="TrayStarter.__startWebBrowserQtHelp"></a>
492 <h4>TrayStarter.__startWebBrowserQtHelp</h4>
493 <b>__startWebBrowserQtHelp</b>(<i></i>)
494
495 <p>
496 Private slot to start the eric web browser with QtHelp support.
497 </p>
498 <a NAME="TrayStarter.preferencesChanged" ID="TrayStarter.preferencesChanged"></a>
499 <h4>TrayStarter.preferencesChanged</h4>
500 <b>preferencesChanged</b>(<i></i>)
501
502 <p>
503 Public slot to handle a change of preferences.
504 </p>
505 <div align="right"><a href="#top">Up</a></div>
506 <hr />
507 </body></html>

eric ide

mercurial