eric6/Documentation/Source/eric6.Tools.TrayStarter.html

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7204
cbf6d88004ce
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.Tools.TrayStarter</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.Tools.TrayStarter</h1>
23 <p>
24 Module implementing a starter for the system tray.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#TrayStarter">TrayStarter</a></td>
34 <td>Class implementing a starter for the system tray.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="TrayStarter" ID="TrayStarter"></a>
43 <h2>TrayStarter</h2>
44 <p>
45 Class implementing a starter for the system tray.
46 </p>
47 <h3>Derived from</h3>
48 QSystemTrayIcon
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#TrayStarter.__init__">TrayStarter</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#TrayStarter.__about">__about</a></td>
64 <td>Private slot to handle the About dialog.</td>
65 </tr><tr>
66 <td><a href="#TrayStarter.__activated">__activated</a></td>
67 <td>Private slot to handle the activated signal.</td>
68 </tr><tr>
69 <td><a href="#TrayStarter.__loadRecentFiles">__loadRecentFiles</a></td>
70 <td>Private method to load the recently opened filenames.</td>
71 </tr><tr>
72 <td><a href="#TrayStarter.__loadRecentMultiProjects">__loadRecentMultiProjects</a></td>
73 <td>Private method to load the recently opened multi project filenames.</td>
74 </tr><tr>
75 <td><a href="#TrayStarter.__loadRecentProjects">__loadRecentProjects</a></td>
76 <td>Private method to load the recently opened project filenames.</td>
77 </tr><tr>
78 <td><a href="#TrayStarter.__openRecent">__openRecent</a></td>
79 <td>Private method to open a project or file from the list of recently opened projects or files.</td>
80 </tr><tr>
81 <td><a href="#TrayStarter.__showContextMenu">__showContextMenu</a></td>
82 <td>Private slot to show the context menu.</td>
83 </tr><tr>
84 <td><a href="#TrayStarter.__showPreferences">__showPreferences</a></td>
85 <td>Private slot to set the preferences.</td>
86 </tr><tr>
87 <td><a href="#TrayStarter.__showRecentFilesMenu">__showRecentFilesMenu</a></td>
88 <td>Private method to set up the recent files menu.</td>
89 </tr><tr>
90 <td><a href="#TrayStarter.__showRecentMultiProjectsMenu">__showRecentMultiProjectsMenu</a></td>
91 <td>Private method to set up the recent multi projects menu.</td>
92 </tr><tr>
93 <td><a href="#TrayStarter.__showRecentProjectsMenu">__showRecentProjectsMenu</a></td>
94 <td>Private method to set up the recent projects menu.</td>
95 </tr><tr>
96 <td><a href="#TrayStarter.__showVersions">__showVersions</a></td>
97 <td>Private slot to handle the Versions dialog.</td>
98 </tr><tr>
99 <td><a href="#TrayStarter.__startCompare">__startCompare</a></td>
100 <td>Private slot to start the eric6 compare dialog.</td>
101 </tr><tr>
102 <td><a href="#TrayStarter.__startDiff">__startDiff</a></td>
103 <td>Private slot to start the eric6 diff dialog.</td>
104 </tr><tr>
105 <td><a href="#TrayStarter.__startEric">__startEric</a></td>
106 <td>Private slot to start the eric6 IDE.</td>
107 </tr><tr>
108 <td><a href="#TrayStarter.__startHelpViewer">__startHelpViewer</a></td>
109 <td>Private slot to start the eric6 web browser.</td>
110 </tr><tr>
111 <td><a href="#TrayStarter.__startHexEditor">__startHexEditor</a></td>
112 <td>Private slot to start the eric6 hex editor dialog.</td>
113 </tr><tr>
114 <td><a href="#TrayStarter.__startIconEditor">__startIconEditor</a></td>
115 <td>Private slot to start the eric6 icon editor dialog.</td>
116 </tr><tr>
117 <td><a href="#TrayStarter.__startMiniEditor">__startMiniEditor</a></td>
118 <td>Private slot to start the eric6 Mini Editor.</td>
119 </tr><tr>
120 <td><a href="#TrayStarter.__startPluginInstall">__startPluginInstall</a></td>
121 <td>Private slot to start the eric6 plugin installation dialog.</td>
122 </tr><tr>
123 <td><a href="#TrayStarter.__startPluginRepository">__startPluginRepository</a></td>
124 <td>Private slot to start the eric6 plugin repository dialog.</td>
125 </tr><tr>
126 <td><a href="#TrayStarter.__startPluginUninstall">__startPluginUninstall</a></td>
127 <td>Private slot to start the eric6 plugin uninstallation dialog.</td>
128 </tr><tr>
129 <td><a href="#TrayStarter.__startPreferences">__startPreferences</a></td>
130 <td>Private slot to start the eric6 configuration dialog.</td>
131 </tr><tr>
132 <td><a href="#TrayStarter.__startProc">__startProc</a></td>
133 <td>Private method to start an eric6 application.</td>
134 </tr><tr>
135 <td><a href="#TrayStarter.__startPyRe">__startPyRe</a></td>
136 <td>Private slot to start the eric6 Python re editor dialog.</td>
137 </tr><tr>
138 <td><a href="#TrayStarter.__startQRegExp">__startQRegExp</a></td>
139 <td>Private slot to start the eric6 QRegExp editor dialog.</td>
140 </tr><tr>
141 <td><a href="#TrayStarter.__startShell">__startShell</a></td>
142 <td>Private slot to start the eric6 Shell window.</td>
143 </tr><tr>
144 <td><a href="#TrayStarter.__startSnapshot">__startSnapshot</a></td>
145 <td>Private slot to start the eric6 snapshot dialog.</td>
146 </tr><tr>
147 <td><a href="#TrayStarter.__startSqlBrowser">__startSqlBrowser</a></td>
148 <td>Private slot to start the eric6 sql browser dialog.</td>
149 </tr><tr>
150 <td><a href="#TrayStarter.__startTRPreviewer">__startTRPreviewer</a></td>
151 <td>Private slot to start the eric6 translations previewer.</td>
152 </tr><tr>
153 <td><a href="#TrayStarter.__startUIPreviewer">__startUIPreviewer</a></td>
154 <td>Private slot to start the eric6 UI previewer.</td>
155 </tr><tr>
156 <td><a href="#TrayStarter.__startUnittest">__startUnittest</a></td>
157 <td>Private slot to start the eric6 unittest dialog.</td>
158 </tr><tr>
159 <td><a href="#TrayStarter.preferencesChanged">preferencesChanged</a></td>
160 <td>Public slot to handle a change of preferences.</td>
161 </tr>
162 </table>
163 <h3>Static Methods</h3>
164 <table>
165 <tr><td>None</td></tr>
166 </table>
167 <a NAME="TrayStarter.__init__" ID="TrayStarter.__init__"></a>
168 <h4>TrayStarter (Constructor)</h4>
169 <b>TrayStarter</b>(<i>usePyQt4, settingsDir</i>)
170 <p>
171 Constructor
172 </p><dl>
173 <dt><i>usePyQt4</i> (bool)</dt>
174 <dd>
175 flag indicating to use PyQt4
176 </dd><dt><i>settingsDir</i> (str)</dt>
177 <dd>
178 directory to be used for the settings files
179 </dd>
180 </dl><a NAME="TrayStarter.__about" ID="TrayStarter.__about"></a>
181 <h4>TrayStarter.__about</h4>
182 <b>__about</b>(<i></i>)
183 <p>
184 Private slot to handle the About dialog.
185 </p><a NAME="TrayStarter.__activated" ID="TrayStarter.__activated"></a>
186 <h4>TrayStarter.__activated</h4>
187 <b>__activated</b>(<i>reason</i>)
188 <p>
189 Private slot to handle the activated signal.
190 </p><dl>
191 <dt><i>reason</i></dt>
192 <dd>
193 reason code of the signal
194 (QSystemTrayIcon.ActivationReason)
195 </dd>
196 </dl><a NAME="TrayStarter.__loadRecentFiles" ID="TrayStarter.__loadRecentFiles"></a>
197 <h4>TrayStarter.__loadRecentFiles</h4>
198 <b>__loadRecentFiles</b>(<i></i>)
199 <p>
200 Private method to load the recently opened filenames.
201 </p><a NAME="TrayStarter.__loadRecentMultiProjects" ID="TrayStarter.__loadRecentMultiProjects"></a>
202 <h4>TrayStarter.__loadRecentMultiProjects</h4>
203 <b>__loadRecentMultiProjects</b>(<i></i>)
204 <p>
205 Private method to load the recently opened multi project filenames.
206 </p><a NAME="TrayStarter.__loadRecentProjects" ID="TrayStarter.__loadRecentProjects"></a>
207 <h4>TrayStarter.__loadRecentProjects</h4>
208 <b>__loadRecentProjects</b>(<i></i>)
209 <p>
210 Private method to load the recently opened project filenames.
211 </p><a NAME="TrayStarter.__openRecent" ID="TrayStarter.__openRecent"></a>
212 <h4>TrayStarter.__openRecent</h4>
213 <b>__openRecent</b>(<i>act</i>)
214 <p>
215 Private method to open a project or file from the list of recently
216 opened projects or files.
217 </p><dl>
218 <dt><i>act</i></dt>
219 <dd>
220 reference to the action that triggered (QAction)
221 </dd>
222 </dl><a NAME="TrayStarter.__showContextMenu" ID="TrayStarter.__showContextMenu"></a>
223 <h4>TrayStarter.__showContextMenu</h4>
224 <b>__showContextMenu</b>(<i></i>)
225 <p>
226 Private slot to show the context menu.
227 </p><a NAME="TrayStarter.__showPreferences" ID="TrayStarter.__showPreferences"></a>
228 <h4>TrayStarter.__showPreferences</h4>
229 <b>__showPreferences</b>(<i></i>)
230 <p>
231 Private slot to set the preferences.
232 </p><a NAME="TrayStarter.__showRecentFilesMenu" ID="TrayStarter.__showRecentFilesMenu"></a>
233 <h4>TrayStarter.__showRecentFilesMenu</h4>
234 <b>__showRecentFilesMenu</b>(<i></i>)
235 <p>
236 Private method to set up the recent files menu.
237 </p><a NAME="TrayStarter.__showRecentMultiProjectsMenu" ID="TrayStarter.__showRecentMultiProjectsMenu"></a>
238 <h4>TrayStarter.__showRecentMultiProjectsMenu</h4>
239 <b>__showRecentMultiProjectsMenu</b>(<i></i>)
240 <p>
241 Private method to set up the recent multi projects menu.
242 </p><a NAME="TrayStarter.__showRecentProjectsMenu" ID="TrayStarter.__showRecentProjectsMenu"></a>
243 <h4>TrayStarter.__showRecentProjectsMenu</h4>
244 <b>__showRecentProjectsMenu</b>(<i></i>)
245 <p>
246 Private method to set up the recent projects menu.
247 </p><a NAME="TrayStarter.__showVersions" ID="TrayStarter.__showVersions"></a>
248 <h4>TrayStarter.__showVersions</h4>
249 <b>__showVersions</b>(<i></i>)
250 <p>
251 Private slot to handle the Versions dialog.
252 </p><a NAME="TrayStarter.__startCompare" ID="TrayStarter.__startCompare"></a>
253 <h4>TrayStarter.__startCompare</h4>
254 <b>__startCompare</b>(<i></i>)
255 <p>
256 Private slot to start the eric6 compare dialog.
257 </p><a NAME="TrayStarter.__startDiff" ID="TrayStarter.__startDiff"></a>
258 <h4>TrayStarter.__startDiff</h4>
259 <b>__startDiff</b>(<i></i>)
260 <p>
261 Private slot to start the eric6 diff dialog.
262 </p><a NAME="TrayStarter.__startEric" ID="TrayStarter.__startEric"></a>
263 <h4>TrayStarter.__startEric</h4>
264 <b>__startEric</b>(<i></i>)
265 <p>
266 Private slot to start the eric6 IDE.
267 </p><a NAME="TrayStarter.__startHelpViewer" ID="TrayStarter.__startHelpViewer"></a>
268 <h4>TrayStarter.__startHelpViewer</h4>
269 <b>__startHelpViewer</b>(<i></i>)
270 <p>
271 Private slot to start the eric6 web browser.
272 </p><a NAME="TrayStarter.__startHexEditor" ID="TrayStarter.__startHexEditor"></a>
273 <h4>TrayStarter.__startHexEditor</h4>
274 <b>__startHexEditor</b>(<i></i>)
275 <p>
276 Private slot to start the eric6 hex editor dialog.
277 </p><a NAME="TrayStarter.__startIconEditor" ID="TrayStarter.__startIconEditor"></a>
278 <h4>TrayStarter.__startIconEditor</h4>
279 <b>__startIconEditor</b>(<i></i>)
280 <p>
281 Private slot to start the eric6 icon editor dialog.
282 </p><a NAME="TrayStarter.__startMiniEditor" ID="TrayStarter.__startMiniEditor"></a>
283 <h4>TrayStarter.__startMiniEditor</h4>
284 <b>__startMiniEditor</b>(<i></i>)
285 <p>
286 Private slot to start the eric6 Mini Editor.
287 </p><a NAME="TrayStarter.__startPluginInstall" ID="TrayStarter.__startPluginInstall"></a>
288 <h4>TrayStarter.__startPluginInstall</h4>
289 <b>__startPluginInstall</b>(<i></i>)
290 <p>
291 Private slot to start the eric6 plugin installation dialog.
292 </p><a NAME="TrayStarter.__startPluginRepository" ID="TrayStarter.__startPluginRepository"></a>
293 <h4>TrayStarter.__startPluginRepository</h4>
294 <b>__startPluginRepository</b>(<i></i>)
295 <p>
296 Private slot to start the eric6 plugin repository dialog.
297 </p><a NAME="TrayStarter.__startPluginUninstall" ID="TrayStarter.__startPluginUninstall"></a>
298 <h4>TrayStarter.__startPluginUninstall</h4>
299 <b>__startPluginUninstall</b>(<i></i>)
300 <p>
301 Private slot to start the eric6 plugin uninstallation dialog.
302 </p><a NAME="TrayStarter.__startPreferences" ID="TrayStarter.__startPreferences"></a>
303 <h4>TrayStarter.__startPreferences</h4>
304 <b>__startPreferences</b>(<i></i>)
305 <p>
306 Private slot to start the eric6 configuration dialog.
307 </p><a NAME="TrayStarter.__startProc" ID="TrayStarter.__startProc"></a>
308 <h4>TrayStarter.__startProc</h4>
309 <b>__startProc</b>(<i>applName, *applArgs</i>)
310 <p>
311 Private method to start an eric6 application.
312 </p><dl>
313 <dt><i>applName</i></dt>
314 <dd>
315 name of the eric6 application script (string)
316 </dd><dt><i>*applArgs</i></dt>
317 <dd>
318 variable list of application arguments
319 </dd>
320 </dl><a NAME="TrayStarter.__startPyRe" ID="TrayStarter.__startPyRe"></a>
321 <h4>TrayStarter.__startPyRe</h4>
322 <b>__startPyRe</b>(<i></i>)
323 <p>
324 Private slot to start the eric6 Python re editor dialog.
325 </p><a NAME="TrayStarter.__startQRegExp" ID="TrayStarter.__startQRegExp"></a>
326 <h4>TrayStarter.__startQRegExp</h4>
327 <b>__startQRegExp</b>(<i></i>)
328 <p>
329 Private slot to start the eric6 QRegExp editor dialog.
330 </p><a NAME="TrayStarter.__startShell" ID="TrayStarter.__startShell"></a>
331 <h4>TrayStarter.__startShell</h4>
332 <b>__startShell</b>(<i></i>)
333 <p>
334 Private slot to start the eric6 Shell window.
335 </p><a NAME="TrayStarter.__startSnapshot" ID="TrayStarter.__startSnapshot"></a>
336 <h4>TrayStarter.__startSnapshot</h4>
337 <b>__startSnapshot</b>(<i></i>)
338 <p>
339 Private slot to start the eric6 snapshot dialog.
340 </p><a NAME="TrayStarter.__startSqlBrowser" ID="TrayStarter.__startSqlBrowser"></a>
341 <h4>TrayStarter.__startSqlBrowser</h4>
342 <b>__startSqlBrowser</b>(<i></i>)
343 <p>
344 Private slot to start the eric6 sql browser dialog.
345 </p><a NAME="TrayStarter.__startTRPreviewer" ID="TrayStarter.__startTRPreviewer"></a>
346 <h4>TrayStarter.__startTRPreviewer</h4>
347 <b>__startTRPreviewer</b>(<i></i>)
348 <p>
349 Private slot to start the eric6 translations previewer.
350 </p><a NAME="TrayStarter.__startUIPreviewer" ID="TrayStarter.__startUIPreviewer"></a>
351 <h4>TrayStarter.__startUIPreviewer</h4>
352 <b>__startUIPreviewer</b>(<i></i>)
353 <p>
354 Private slot to start the eric6 UI previewer.
355 </p><a NAME="TrayStarter.__startUnittest" ID="TrayStarter.__startUnittest"></a>
356 <h4>TrayStarter.__startUnittest</h4>
357 <b>__startUnittest</b>(<i></i>)
358 <p>
359 Private slot to start the eric6 unittest dialog.
360 </p><a NAME="TrayStarter.preferencesChanged" ID="TrayStarter.preferencesChanged"></a>
361 <h4>TrayStarter.preferencesChanged</h4>
362 <b>preferencesChanged</b>(<i></i>)
363 <p>
364 Public slot to handle a change of preferences.
365 </p>
366 <div align="right"><a href="#top">Up</a></div>
367 <hr />
368 </body></html>

eric ide

mercurial