57 <tr> |
57 <tr> |
58 <td><a href="#EricApplication.__init__">EricApplication</a></td> |
58 <td><a href="#EricApplication.__init__">EricApplication</a></td> |
59 <td>Constructor</td> |
59 <td>Constructor</td> |
60 </tr> |
60 </tr> |
61 <tr> |
61 <tr> |
|
62 <td><a href="#EricApplication.__setPaletteFromStyleSheet">__setPaletteFromStyleSheet</a></td> |
|
63 <td>Private method to set the palette from a style sheet.</td> |
|
64 </tr> |
|
65 <tr> |
62 <td><a href="#EricApplication.getObject">getObject</a></td> |
66 <td><a href="#EricApplication.getObject">getObject</a></td> |
63 <td>Public method to get a reference to a registered object.</td> |
67 <td>Public method to get a reference to a registered object.</td> |
64 </tr> |
68 </tr> |
65 <tr> |
69 <tr> |
66 <td><a href="#EricApplication.getPluginObject">getPluginObject</a></td> |
70 <td><a href="#EricApplication.getPluginObject">getPluginObject</a></td> |
73 <tr> |
77 <tr> |
74 <td><a href="#EricApplication.getPluginObjects">getPluginObjects</a></td> |
78 <td><a href="#EricApplication.getPluginObjects">getPluginObjects</a></td> |
75 <td>Public method to get a list of (name, reference) pairs of all registered plugin objects.</td> |
79 <td>Public method to get a list of (name, reference) pairs of all registered plugin objects.</td> |
76 </tr> |
80 </tr> |
77 <tr> |
81 <tr> |
|
82 <td><a href="#EricApplication.getStyleIconsPath">getStyleIconsPath</a></td> |
|
83 <td>Public method to get the path for the style icons.</td> |
|
84 </tr> |
|
85 <tr> |
78 <td><a href="#EricApplication.registerObject">registerObject</a></td> |
86 <td><a href="#EricApplication.registerObject">registerObject</a></td> |
79 <td>Public method to register an object in the object registry.</td> |
87 <td>Public method to register an object in the object registry.</td> |
80 </tr> |
88 </tr> |
81 <tr> |
89 <tr> |
82 <td><a href="#EricApplication.registerPluginObject">registerPluginObject</a></td> |
90 <td><a href="#EricApplication.registerPluginObject">registerPluginObject</a></td> |
83 <td>Public method to register a plugin object in the object registry.</td> |
91 <td>Public method to register a plugin object in the object registry.</td> |
|
92 </tr> |
|
93 <tr> |
|
94 <td><a href="#EricApplication.setStyleSheetFile">setStyleSheetFile</a></td> |
|
95 <td>Public method to read a QSS style sheet file and set the application style sheet based on its contents.</td> |
84 </tr> |
96 </tr> |
85 <tr> |
97 <tr> |
86 <td><a href="#EricApplication.unregisterPluginObject">unregisterPluginObject</a></td> |
98 <td><a href="#EricApplication.unregisterPluginObject">unregisterPluginObject</a></td> |
87 <td>Public method to unregister a plugin object in the object registry.</td> |
99 <td>Public method to unregister a plugin object in the object registry.</td> |
88 </tr> |
100 </tr> |
113 <dt><i>argv</i> (list)</dt> |
125 <dt><i>argv</i> (list)</dt> |
114 <dd> |
126 <dd> |
115 command line arguments |
127 command line arguments |
116 </dd> |
128 </dd> |
117 </dl> |
129 </dl> |
|
130 <a NAME="EricApplication.__setPaletteFromStyleSheet" ID="EricApplication.__setPaletteFromStyleSheet"></a> |
|
131 <h4>EricApplication.__setPaletteFromStyleSheet</h4> |
|
132 <b>__setPaletteFromStyleSheet</b>(<i>styleSheet</i>) |
|
133 |
|
134 <p> |
|
135 Private method to set the palette from a style sheet. |
|
136 </p> |
|
137 <dl> |
|
138 |
|
139 <dt><i>styleSheet</i> (str)</dt> |
|
140 <dd> |
|
141 style sheet |
|
142 </dd> |
|
143 </dl> |
118 <a NAME="EricApplication.getObject" ID="EricApplication.getObject"></a> |
144 <a NAME="EricApplication.getObject" ID="EricApplication.getObject"></a> |
119 <h4>EricApplication.getObject</h4> |
145 <h4>EricApplication.getObject</h4> |
120 <b>getObject</b>(<i>name</i>) |
146 <b>getObject</b>(<i>name</i>) |
121 |
147 |
122 <p> |
148 <p> |
232 <dt>Return Type:</dt> |
258 <dt>Return Type:</dt> |
233 <dd> |
259 <dd> |
234 list of (str, any) |
260 list of (str, any) |
235 </dd> |
261 </dd> |
236 </dl> |
262 </dl> |
|
263 <a NAME="EricApplication.getStyleIconsPath" ID="EricApplication.getStyleIconsPath"></a> |
|
264 <h4>EricApplication.getStyleIconsPath</h4> |
|
265 <b>getStyleIconsPath</b>(<i></i>) |
|
266 |
|
267 <p> |
|
268 Public method to get the path for the style icons. |
|
269 </p> |
|
270 <dl> |
|
271 <dt>Return:</dt> |
|
272 <dd> |
|
273 directory path containing the style icons |
|
274 </dd> |
|
275 </dl> |
|
276 <dl> |
|
277 <dt>Return Type:</dt> |
|
278 <dd> |
|
279 str |
|
280 </dd> |
|
281 </dl> |
237 <a NAME="EricApplication.registerObject" ID="EricApplication.registerObject"></a> |
282 <a NAME="EricApplication.registerObject" ID="EricApplication.registerObject"></a> |
238 <h4>EricApplication.registerObject</h4> |
283 <h4>EricApplication.registerObject</h4> |
239 <b>registerObject</b>(<i>name, objectRef</i>) |
284 <b>registerObject</b>(<i>name, objectRef</i>) |
240 |
285 |
241 <p> |
286 <p> |
286 <dt>Raises <b>KeyError</b>:</dt> |
331 <dt>Raises <b>KeyError</b>:</dt> |
287 <dd> |
332 <dd> |
288 raised when the given name is already in use |
333 raised when the given name is already in use |
289 </dd> |
334 </dd> |
290 </dl> |
335 </dl> |
|
336 <a NAME="EricApplication.setStyleSheetFile" ID="EricApplication.setStyleSheetFile"></a> |
|
337 <h4>EricApplication.setStyleSheetFile</h4> |
|
338 <b>setStyleSheetFile</b>(<i>filename</i>) |
|
339 |
|
340 <p> |
|
341 Public method to read a QSS style sheet file and set the application |
|
342 style sheet based on its contents. |
|
343 </p> |
|
344 <dl> |
|
345 |
|
346 <dt><i>filename</i> (str)</dt> |
|
347 <dd> |
|
348 name of the QSS style sheet file |
|
349 </dd> |
|
350 </dl> |
291 <a NAME="EricApplication.unregisterPluginObject" ID="EricApplication.unregisterPluginObject"></a> |
351 <a NAME="EricApplication.unregisterPluginObject" ID="EricApplication.unregisterPluginObject"></a> |
292 <h4>EricApplication.unregisterPluginObject</h4> |
352 <h4>EricApplication.unregisterPluginObject</h4> |
293 <b>unregisterPluginObject</b>(<i>name</i>) |
353 <b>unregisterPluginObject</b>(<i>name</i>) |
294 |
354 |
295 <p> |
355 <p> |