|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric4.Tools.TrayStarter</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric4.Tools.TrayStarter</h1> |
|
24 <p> |
|
25 Module implementing a starter for the system tray. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#TrayStarter">TrayStarter</a></td> |
|
35 <td>Class implementing a starter for the system tray.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="TrayStarter" ID="TrayStarter"></a> |
|
44 <h2>TrayStarter</h2> |
|
45 <p> |
|
46 Class implementing a starter for the system tray. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QSystemTrayIcon |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#TrayStarter.__init__">TrayStarter</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#TrayStarter.__activated">__activated</a></td> |
|
61 <td>Private slot to handle the activated signal.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#TrayStarter.__loadRecentFiles">__loadRecentFiles</a></td> |
|
64 <td>Private method to load the recently opened filenames.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#TrayStarter.__loadRecentMultiProjects">__loadRecentMultiProjects</a></td> |
|
67 <td>Private method to load the recently opened multi project filenames.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#TrayStarter.__loadRecentProjects">__loadRecentProjects</a></td> |
|
70 <td>Private method to load the recently opened project filenames.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#TrayStarter.__openRecent">__openRecent</a></td> |
|
73 <td>Private method to open a project or file from the list of rencently opened projects or files.</td> |
|
74 </tr><tr> |
|
75 <td><a href="#TrayStarter.__showContextMenu">__showContextMenu</a></td> |
|
76 <td>Private slot to show the context menu.</td> |
|
77 </tr><tr> |
|
78 <td><a href="#TrayStarter.__showRecentFilesMenu">__showRecentFilesMenu</a></td> |
|
79 <td>Private method to set up the recent files menu.</td> |
|
80 </tr><tr> |
|
81 <td><a href="#TrayStarter.__showRecentMultiProjectsMenu">__showRecentMultiProjectsMenu</a></td> |
|
82 <td>Private method to set up the recent multi projects menu.</td> |
|
83 </tr><tr> |
|
84 <td><a href="#TrayStarter.__showRecentProjectsMenu">__showRecentProjectsMenu</a></td> |
|
85 <td>Private method to set up the recent projects menu.</td> |
|
86 </tr><tr> |
|
87 <td><a href="#TrayStarter.__startCompare">__startCompare</a></td> |
|
88 <td>Private slot to start the eric4 compare dialog.</td> |
|
89 </tr><tr> |
|
90 <td><a href="#TrayStarter.__startDiff">__startDiff</a></td> |
|
91 <td>Private slot to start the eric4 diff dialog.</td> |
|
92 </tr><tr> |
|
93 <td><a href="#TrayStarter.__startEric">__startEric</a></td> |
|
94 <td>Private slot to start the eric4 IDE.</td> |
|
95 </tr><tr> |
|
96 <td><a href="#TrayStarter.__startHelpViewer">__startHelpViewer</a></td> |
|
97 <td>Private slot to start the eric4 web browser.</td> |
|
98 </tr><tr> |
|
99 <td><a href="#TrayStarter.__startMiniEditor">__startMiniEditor</a></td> |
|
100 <td>Private slot to start the eric4 Mini Editor.</td> |
|
101 </tr><tr> |
|
102 <td><a href="#TrayStarter.__startPluginInstall">__startPluginInstall</a></td> |
|
103 <td>Private slot to start the eric4 plugin installation dialog.</td> |
|
104 </tr><tr> |
|
105 <td><a href="#TrayStarter.__startPluginRepository">__startPluginRepository</a></td> |
|
106 <td>Private slot to start the eric4 plugin repository dialog.</td> |
|
107 </tr><tr> |
|
108 <td><a href="#TrayStarter.__startPluginUninstall">__startPluginUninstall</a></td> |
|
109 <td>Private slot to start the eric4 plugin uninstallation dialog.</td> |
|
110 </tr><tr> |
|
111 <td><a href="#TrayStarter.__startPreferences">__startPreferences</a></td> |
|
112 <td>Private slot to start the eric4 configuration dialog.</td> |
|
113 </tr><tr> |
|
114 <td><a href="#TrayStarter.__startProc">__startProc</a></td> |
|
115 <td>Private method to start an eric4 application.</td> |
|
116 </tr><tr> |
|
117 <td><a href="#TrayStarter.__startPyRe">__startPyRe</a></td> |
|
118 <td>Private slot to start the eric4 Python re editor dialog.</td> |
|
119 </tr><tr> |
|
120 <td><a href="#TrayStarter.__startQRegExp">__startQRegExp</a></td> |
|
121 <td>Private slot to start the eric4 QRegExp editor dialog.</td> |
|
122 </tr><tr> |
|
123 <td><a href="#TrayStarter.__startSqlBrowser">__startSqlBrowser</a></td> |
|
124 <td>Private slot to start the eric4 sql browser dialog.</td> |
|
125 </tr><tr> |
|
126 <td><a href="#TrayStarter.__startTRPreviewer">__startTRPreviewer</a></td> |
|
127 <td>Private slot to start the eric4 translations previewer.</td> |
|
128 </tr><tr> |
|
129 <td><a href="#TrayStarter.__startUIPreviewer">__startUIPreviewer</a></td> |
|
130 <td>Private slot to start the eric4 UI previewer.</td> |
|
131 </tr><tr> |
|
132 <td><a href="#TrayStarter.__startUnittest">__startUnittest</a></td> |
|
133 <td>Private slot to start the eric4 unittest dialog.</td> |
|
134 </tr> |
|
135 </table> |
|
136 <a NAME="TrayStarter.__init__" ID="TrayStarter.__init__"></a> |
|
137 <h4>TrayStarter (Constructor)</h4> |
|
138 <b>TrayStarter</b>(<i></i>) |
|
139 <p> |
|
140 Constructor |
|
141 </p><a NAME="TrayStarter.__activated" ID="TrayStarter.__activated"></a> |
|
142 <h4>TrayStarter.__activated</h4> |
|
143 <b>__activated</b>(<i>reason</i>) |
|
144 <p> |
|
145 Private slot to handle the activated signal. |
|
146 </p><dl> |
|
147 <dt><i>reason</i></dt> |
|
148 <dd> |
|
149 reason code of the signal (QSystemTrayIcon.ActivationReason) |
|
150 </dd> |
|
151 </dl><a NAME="TrayStarter.__loadRecentFiles" ID="TrayStarter.__loadRecentFiles"></a> |
|
152 <h4>TrayStarter.__loadRecentFiles</h4> |
|
153 <b>__loadRecentFiles</b>(<i></i>) |
|
154 <p> |
|
155 Private method to load the recently opened filenames. |
|
156 </p><a NAME="TrayStarter.__loadRecentMultiProjects" ID="TrayStarter.__loadRecentMultiProjects"></a> |
|
157 <h4>TrayStarter.__loadRecentMultiProjects</h4> |
|
158 <b>__loadRecentMultiProjects</b>(<i></i>) |
|
159 <p> |
|
160 Private method to load the recently opened multi project filenames. |
|
161 </p><a NAME="TrayStarter.__loadRecentProjects" ID="TrayStarter.__loadRecentProjects"></a> |
|
162 <h4>TrayStarter.__loadRecentProjects</h4> |
|
163 <b>__loadRecentProjects</b>(<i></i>) |
|
164 <p> |
|
165 Private method to load the recently opened project filenames. |
|
166 </p><a NAME="TrayStarter.__openRecent" ID="TrayStarter.__openRecent"></a> |
|
167 <h4>TrayStarter.__openRecent</h4> |
|
168 <b>__openRecent</b>(<i>act</i>) |
|
169 <p> |
|
170 Private method to open a project or file from the list of rencently opened |
|
171 projects or files. |
|
172 </p><dl> |
|
173 <dt><i>act</i></dt> |
|
174 <dd> |
|
175 reference to the action that triggered (QAction) |
|
176 </dd> |
|
177 </dl><a NAME="TrayStarter.__showContextMenu" ID="TrayStarter.__showContextMenu"></a> |
|
178 <h4>TrayStarter.__showContextMenu</h4> |
|
179 <b>__showContextMenu</b>(<i></i>) |
|
180 <p> |
|
181 Private slot to show the context menu. |
|
182 </p><a NAME="TrayStarter.__showRecentFilesMenu" ID="TrayStarter.__showRecentFilesMenu"></a> |
|
183 <h4>TrayStarter.__showRecentFilesMenu</h4> |
|
184 <b>__showRecentFilesMenu</b>(<i></i>) |
|
185 <p> |
|
186 Private method to set up the recent files menu. |
|
187 </p><a NAME="TrayStarter.__showRecentMultiProjectsMenu" ID="TrayStarter.__showRecentMultiProjectsMenu"></a> |
|
188 <h4>TrayStarter.__showRecentMultiProjectsMenu</h4> |
|
189 <b>__showRecentMultiProjectsMenu</b>(<i></i>) |
|
190 <p> |
|
191 Private method to set up the recent multi projects menu. |
|
192 </p><a NAME="TrayStarter.__showRecentProjectsMenu" ID="TrayStarter.__showRecentProjectsMenu"></a> |
|
193 <h4>TrayStarter.__showRecentProjectsMenu</h4> |
|
194 <b>__showRecentProjectsMenu</b>(<i></i>) |
|
195 <p> |
|
196 Private method to set up the recent projects menu. |
|
197 </p><a NAME="TrayStarter.__startCompare" ID="TrayStarter.__startCompare"></a> |
|
198 <h4>TrayStarter.__startCompare</h4> |
|
199 <b>__startCompare</b>(<i></i>) |
|
200 <p> |
|
201 Private slot to start the eric4 compare dialog. |
|
202 </p><a NAME="TrayStarter.__startDiff" ID="TrayStarter.__startDiff"></a> |
|
203 <h4>TrayStarter.__startDiff</h4> |
|
204 <b>__startDiff</b>(<i></i>) |
|
205 <p> |
|
206 Private slot to start the eric4 diff dialog. |
|
207 </p><a NAME="TrayStarter.__startEric" ID="TrayStarter.__startEric"></a> |
|
208 <h4>TrayStarter.__startEric</h4> |
|
209 <b>__startEric</b>(<i></i>) |
|
210 <p> |
|
211 Private slot to start the eric4 IDE. |
|
212 </p><a NAME="TrayStarter.__startHelpViewer" ID="TrayStarter.__startHelpViewer"></a> |
|
213 <h4>TrayStarter.__startHelpViewer</h4> |
|
214 <b>__startHelpViewer</b>(<i></i>) |
|
215 <p> |
|
216 Private slot to start the eric4 web browser. |
|
217 </p><a NAME="TrayStarter.__startMiniEditor" ID="TrayStarter.__startMiniEditor"></a> |
|
218 <h4>TrayStarter.__startMiniEditor</h4> |
|
219 <b>__startMiniEditor</b>(<i></i>) |
|
220 <p> |
|
221 Private slot to start the eric4 Mini Editor. |
|
222 </p><a NAME="TrayStarter.__startPluginInstall" ID="TrayStarter.__startPluginInstall"></a> |
|
223 <h4>TrayStarter.__startPluginInstall</h4> |
|
224 <b>__startPluginInstall</b>(<i></i>) |
|
225 <p> |
|
226 Private slot to start the eric4 plugin installation dialog. |
|
227 </p><a NAME="TrayStarter.__startPluginRepository" ID="TrayStarter.__startPluginRepository"></a> |
|
228 <h4>TrayStarter.__startPluginRepository</h4> |
|
229 <b>__startPluginRepository</b>(<i></i>) |
|
230 <p> |
|
231 Private slot to start the eric4 plugin repository dialog. |
|
232 </p><a NAME="TrayStarter.__startPluginUninstall" ID="TrayStarter.__startPluginUninstall"></a> |
|
233 <h4>TrayStarter.__startPluginUninstall</h4> |
|
234 <b>__startPluginUninstall</b>(<i></i>) |
|
235 <p> |
|
236 Private slot to start the eric4 plugin uninstallation dialog. |
|
237 </p><a NAME="TrayStarter.__startPreferences" ID="TrayStarter.__startPreferences"></a> |
|
238 <h4>TrayStarter.__startPreferences</h4> |
|
239 <b>__startPreferences</b>(<i></i>) |
|
240 <p> |
|
241 Private slot to start the eric4 configuration dialog. |
|
242 </p><a NAME="TrayStarter.__startProc" ID="TrayStarter.__startProc"></a> |
|
243 <h4>TrayStarter.__startProc</h4> |
|
244 <b>__startProc</b>(<i>applName, *applArgs</i>) |
|
245 <p> |
|
246 Private method to start an eric4 application. |
|
247 </p><dl> |
|
248 <dt><i>applName</i></dt> |
|
249 <dd> |
|
250 name of the eric4 application script (string) |
|
251 </dd><dt><i>*applArgs</i></dt> |
|
252 <dd> |
|
253 variable list of application arguments |
|
254 </dd> |
|
255 </dl><a NAME="TrayStarter.__startPyRe" ID="TrayStarter.__startPyRe"></a> |
|
256 <h4>TrayStarter.__startPyRe</h4> |
|
257 <b>__startPyRe</b>(<i></i>) |
|
258 <p> |
|
259 Private slot to start the eric4 Python re editor dialog. |
|
260 </p><a NAME="TrayStarter.__startQRegExp" ID="TrayStarter.__startQRegExp"></a> |
|
261 <h4>TrayStarter.__startQRegExp</h4> |
|
262 <b>__startQRegExp</b>(<i></i>) |
|
263 <p> |
|
264 Private slot to start the eric4 QRegExp editor dialog. |
|
265 </p><a NAME="TrayStarter.__startSqlBrowser" ID="TrayStarter.__startSqlBrowser"></a> |
|
266 <h4>TrayStarter.__startSqlBrowser</h4> |
|
267 <b>__startSqlBrowser</b>(<i></i>) |
|
268 <p> |
|
269 Private slot to start the eric4 sql browser dialog. |
|
270 </p><a NAME="TrayStarter.__startTRPreviewer" ID="TrayStarter.__startTRPreviewer"></a> |
|
271 <h4>TrayStarter.__startTRPreviewer</h4> |
|
272 <b>__startTRPreviewer</b>(<i></i>) |
|
273 <p> |
|
274 Private slot to start the eric4 translations previewer. |
|
275 </p><a NAME="TrayStarter.__startUIPreviewer" ID="TrayStarter.__startUIPreviewer"></a> |
|
276 <h4>TrayStarter.__startUIPreviewer</h4> |
|
277 <b>__startUIPreviewer</b>(<i></i>) |
|
278 <p> |
|
279 Private slot to start the eric4 UI previewer. |
|
280 </p><a NAME="TrayStarter.__startUnittest" ID="TrayStarter.__startUnittest"></a> |
|
281 <h4>TrayStarter.__startUnittest</h4> |
|
282 <b>__startUnittest</b>(<i></i>) |
|
283 <p> |
|
284 Private slot to start the eric4 unittest dialog. |
|
285 </p> |
|
286 <div align="right"><a href="#top">Up</a></div> |
|
287 <hr /> |
|
288 </body></html> |