58 <tr> |
58 <tr> |
59 <td><a href="#EricApplication.__setPaletteFromStyleSheet">__setPaletteFromStyleSheet</a></td> |
59 <td><a href="#EricApplication.__setPaletteFromStyleSheet">__setPaletteFromStyleSheet</a></td> |
60 <td>Private method to set the palette from a style sheet.</td> |
60 <td>Private method to set the palette from a style sheet.</td> |
61 </tr> |
61 </tr> |
62 <tr> |
62 <tr> |
|
63 <td><a href="#EricApplication.getMainWindow">getMainWindow</a></td> |
|
64 <td>Public method to get a reference to the application main window.</td> |
|
65 </tr> |
|
66 <tr> |
63 <td><a href="#EricApplication.getObject">getObject</a></td> |
67 <td><a href="#EricApplication.getObject">getObject</a></td> |
64 <td>Public method to get a reference to a registered object.</td> |
68 <td>Public method to get a reference to a registered object.</td> |
65 </tr> |
69 </tr> |
66 <tr> |
70 <tr> |
67 <td><a href="#EricApplication.getPluginObject">getPluginObject</a></td> |
71 <td><a href="#EricApplication.getPluginObject">getPluginObject</a></td> |
84 <td>Public method to register an object in the object registry.</td> |
88 <td>Public method to register an object in the object registry.</td> |
85 </tr> |
89 </tr> |
86 <tr> |
90 <tr> |
87 <td><a href="#EricApplication.registerPluginObject">registerPluginObject</a></td> |
91 <td><a href="#EricApplication.registerPluginObject">registerPluginObject</a></td> |
88 <td>Public method to register a plugin object in the object registry.</td> |
92 <td>Public method to register a plugin object in the object registry.</td> |
|
93 </tr> |
|
94 <tr> |
|
95 <td><a href="#EricApplication.setMainWindow">setMainWindow</a></td> |
|
96 <td>Public method to set the reference to the application main window.</td> |
89 </tr> |
97 </tr> |
90 <tr> |
98 <tr> |
91 <td><a href="#EricApplication.setStyleSheetFile">setStyleSheetFile</a></td> |
99 <td><a href="#EricApplication.setStyleSheetFile">setStyleSheetFile</a></td> |
92 <td>Public method to read a QSS style sheet file and set the application style sheet based on its contents.</td> |
100 <td>Public method to read a QSS style sheet file and set the application style sheet based on its contents.</td> |
93 </tr> |
101 </tr> |
137 <dt><i>styleSheet</i> (str)</dt> |
145 <dt><i>styleSheet</i> (str)</dt> |
138 <dd> |
146 <dd> |
139 style sheet |
147 style sheet |
140 </dd> |
148 </dd> |
141 </dl> |
149 </dl> |
|
150 <a NAME="EricApplication.getMainWindow" ID="EricApplication.getMainWindow"></a> |
|
151 <h4>EricApplication.getMainWindow</h4> |
|
152 <b>getMainWindow</b>(<i></i>) |
|
153 <p> |
|
154 Public method to get a reference to the application main window. |
|
155 </p> |
|
156 |
|
157 <dl> |
|
158 <dt>Return:</dt> |
|
159 <dd> |
|
160 reference to the application main window |
|
161 </dd> |
|
162 </dl> |
|
163 <dl> |
|
164 <dt>Return Type:</dt> |
|
165 <dd> |
|
166 QWidget |
|
167 </dd> |
|
168 </dl> |
142 <a NAME="EricApplication.getObject" ID="EricApplication.getObject"></a> |
169 <a NAME="EricApplication.getObject" ID="EricApplication.getObject"></a> |
143 <h4>EricApplication.getObject</h4> |
170 <h4>EricApplication.getObject</h4> |
144 <b>getObject</b>(<i>name</i>) |
171 <b>getObject</b>(<i>name</i>) |
145 <p> |
172 <p> |
146 Public method to get a reference to a registered object. |
173 Public method to get a reference to a registered object. |
337 <dt>Raises <b>KeyError</b>:</dt> |
364 <dt>Raises <b>KeyError</b>:</dt> |
338 <dd> |
365 <dd> |
339 raised when the given name is already in use |
366 raised when the given name is already in use |
340 </dd> |
367 </dd> |
341 </dl> |
368 </dl> |
|
369 <a NAME="EricApplication.setMainWindow" ID="EricApplication.setMainWindow"></a> |
|
370 <h4>EricApplication.setMainWindow</h4> |
|
371 <b>setMainWindow</b>(<i>mainWindow</i>) |
|
372 <p> |
|
373 Public method to set the reference to the application main window. |
|
374 </p> |
|
375 |
|
376 <dl> |
|
377 |
|
378 <dt><i>mainWindow</i> (QWidget)</dt> |
|
379 <dd> |
|
380 reference to the application main window |
|
381 </dd> |
|
382 </dl> |
342 <a NAME="EricApplication.setStyleSheetFile" ID="EricApplication.setStyleSheetFile"></a> |
383 <a NAME="EricApplication.setStyleSheetFile" ID="EricApplication.setStyleSheetFile"></a> |
343 <h4>EricApplication.setStyleSheetFile</h4> |
384 <h4>EricApplication.setStyleSheetFile</h4> |
344 <b>setStyleSheetFile</b>(<i>filename</i>) |
385 <b>setStyleSheetFile</b>(<i>filename</i>) |
345 <p> |
386 <p> |
346 Public method to read a QSS style sheet file and set the application |
387 Public method to read a QSS style sheet file and set the application |