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