16 |
16 |
17 a { color: #BA6D36; } |
17 a { color: #BA6D36; } |
18 |
18 |
19 </style> |
19 </style> |
20 </head> |
20 </head> |
21 <body><a NAME="top" ID="top"></a> |
21 <body> |
|
22 <a NAME="top" ID="top"></a> |
22 <h1>eric6.Preferences.ConfigurationDialog</h1> |
23 <h1>eric6.Preferences.ConfigurationDialog</h1> |
|
24 |
23 <p> |
25 <p> |
24 Module implementing a dialog for the configuration of eric6. |
26 Module implementing a dialog for the configuration of eric6. |
25 </p> |
27 </p> |
26 <h3>Global Attributes</h3> |
28 <h3>Global Attributes</h3> |
|
29 |
27 <table> |
30 <table> |
28 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
29 </table> |
32 </table> |
30 <h3>Classes</h3> |
33 <h3>Classes</h3> |
31 <table> |
34 |
|
35 <table> |
|
36 |
32 <tr> |
37 <tr> |
33 <td><a href="#ConfigurationDialog">ConfigurationDialog</a></td> |
38 <td><a href="#ConfigurationDialog">ConfigurationDialog</a></td> |
34 <td>Class for the dialog variant.</td> |
39 <td>Class for the dialog variant.</td> |
35 </tr><tr> |
40 </tr> |
|
41 <tr> |
36 <td><a href="#ConfigurationPageItem">ConfigurationPageItem</a></td> |
42 <td><a href="#ConfigurationPageItem">ConfigurationPageItem</a></td> |
37 <td>Class implementing a QTreeWidgetItem holding the configuration page data.</td> |
43 <td>Class implementing a QTreeWidgetItem holding the configuration page data.</td> |
38 </tr><tr> |
44 </tr> |
|
45 <tr> |
39 <td><a href="#ConfigurationWidget">ConfigurationWidget</a></td> |
46 <td><a href="#ConfigurationWidget">ConfigurationWidget</a></td> |
40 <td>Class implementing a dialog for the configuration of eric6.</td> |
47 <td>Class implementing a dialog for the configuration of eric6.</td> |
41 </tr><tr> |
48 </tr> |
|
49 <tr> |
42 <td><a href="#ConfigurationWindow">ConfigurationWindow</a></td> |
50 <td><a href="#ConfigurationWindow">ConfigurationWindow</a></td> |
43 <td>Main window class for the standalone dialog.</td> |
51 <td>Main window class for the standalone dialog.</td> |
44 </tr> |
52 </tr> |
45 </table> |
53 </table> |
46 <h3>Functions</h3> |
54 <h3>Functions</h3> |
47 <table> |
55 |
48 <tr><td>None</td></tr> |
56 <table> |
49 </table> |
57 <tr><td>None</td></tr> |
50 <hr /><hr /> |
58 </table> |
|
59 <hr /> |
|
60 <hr /> |
51 <a NAME="ConfigurationDialog" ID="ConfigurationDialog"></a> |
61 <a NAME="ConfigurationDialog" ID="ConfigurationDialog"></a> |
52 <h2>ConfigurationDialog</h2> |
62 <h2>ConfigurationDialog</h2> |
|
63 |
53 <p> |
64 <p> |
54 Class for the dialog variant. |
65 Class for the dialog variant. |
55 </p><h3>Signals</h3> |
66 </p> |
56 <dl> |
67 <h3>Signals</h3> |
|
68 <dl> |
|
69 |
57 <dt>masterPasswordChanged(str, str)</dt> |
70 <dt>masterPasswordChanged(str, str)</dt> |
58 <dd> |
71 <dd> |
59 emitted after the master |
72 emitted after the master |
60 password has been changed with the old and the new password |
73 password has been changed with the old and the new password |
61 </dd><dt>preferencesChanged()</dt> |
74 </dd> |
|
75 <dt>preferencesChanged()</dt> |
62 <dd> |
76 <dd> |
63 emitted after settings have been changed |
77 emitted after settings have been changed |
64 </dd> |
78 </dd> |
65 </dl> |
79 </dl> |
66 <h3>Derived from</h3> |
80 <h3>Derived from</h3> |
67 QDialog |
81 QDialog |
68 <h3>Class Attributes</h3> |
82 <h3>Class Attributes</h3> |
|
83 |
69 <table> |
84 <table> |
70 <tr><td>DefaultMode</td></tr><tr><td>HelpBrowserMode</td></tr><tr><td>HexEditorMode</td></tr><tr><td>TrayStarterMode</td></tr><tr><td>WebBrowserMode</td></tr> |
85 <tr><td>DefaultMode</td></tr><tr><td>HelpBrowserMode</td></tr><tr><td>HexEditorMode</td></tr><tr><td>TrayStarterMode</td></tr><tr><td>WebBrowserMode</td></tr> |
71 </table> |
86 </table> |
72 <h3>Class Methods</h3> |
87 <h3>Class Methods</h3> |
|
88 |
73 <table> |
89 <table> |
74 <tr><td>None</td></tr> |
90 <tr><td>None</td></tr> |
75 </table> |
91 </table> |
76 <h3>Methods</h3> |
92 <h3>Methods</h3> |
77 <table> |
93 |
|
94 <table> |
|
95 |
78 <tr> |
96 <tr> |
79 <td><a href="#ConfigurationDialog.__init__">ConfigurationDialog</a></td> |
97 <td><a href="#ConfigurationDialog.__init__">ConfigurationDialog</a></td> |
80 <td>Constructor</td> |
98 <td>Constructor</td> |
81 </tr><tr> |
99 </tr> |
|
100 <tr> |
82 <td><a href="#ConfigurationDialog.__masterPasswordChanged">__masterPasswordChanged</a></td> |
101 <td><a href="#ConfigurationDialog.__masterPasswordChanged">__masterPasswordChanged</a></td> |
83 <td>Private slot to handle the change of the master password.</td> |
102 <td>Private slot to handle the change of the master password.</td> |
84 </tr><tr> |
103 </tr> |
|
104 <tr> |
85 <td><a href="#ConfigurationDialog.__preferencesChanged">__preferencesChanged</a></td> |
105 <td><a href="#ConfigurationDialog.__preferencesChanged">__preferencesChanged</a></td> |
86 <td>Private slot to handle a change of the preferences.</td> |
106 <td>Private slot to handle a change of the preferences.</td> |
87 </tr><tr> |
107 </tr> |
|
108 <tr> |
88 <td><a href="#ConfigurationDialog.accept">accept</a></td> |
109 <td><a href="#ConfigurationDialog.accept">accept</a></td> |
89 <td>Public method to accept the dialog.</td> |
110 <td>Public method to accept the dialog.</td> |
90 </tr><tr> |
111 </tr> |
|
112 <tr> |
91 <td><a href="#ConfigurationDialog.getConfigurationPageName">getConfigurationPageName</a></td> |
113 <td><a href="#ConfigurationDialog.getConfigurationPageName">getConfigurationPageName</a></td> |
92 <td>Public method to get the page name of the current page.</td> |
114 <td>Public method to get the page name of the current page.</td> |
93 </tr><tr> |
115 </tr> |
|
116 <tr> |
94 <td><a href="#ConfigurationDialog.getExpandedEntries">getExpandedEntries</a></td> |
117 <td><a href="#ConfigurationDialog.getExpandedEntries">getExpandedEntries</a></td> |
95 <td>Public method to get a list of expanded entries.</td> |
118 <td>Public method to get a list of expanded entries.</td> |
96 </tr><tr> |
119 </tr> |
|
120 <tr> |
97 <td><a href="#ConfigurationDialog.setPreferences">setPreferences</a></td> |
121 <td><a href="#ConfigurationDialog.setPreferences">setPreferences</a></td> |
98 <td>Public method called to store the selected values into the preferences storage.</td> |
122 <td>Public method called to store the selected values into the preferences storage.</td> |
99 </tr><tr> |
123 </tr> |
|
124 <tr> |
100 <td><a href="#ConfigurationDialog.showConfigurationPageByName">showConfigurationPageByName</a></td> |
125 <td><a href="#ConfigurationDialog.showConfigurationPageByName">showConfigurationPageByName</a></td> |
101 <td>Public slot to show a named configuration page.</td> |
126 <td>Public slot to show a named configuration page.</td> |
102 </tr> |
127 </tr> |
103 </table> |
128 </table> |
104 <h3>Static Methods</h3> |
129 <h3>Static Methods</h3> |
105 <table> |
130 |
106 <tr><td>None</td></tr> |
131 <table> |
107 </table> |
132 <tr><td>None</td></tr> |
|
133 </table> |
|
134 |
108 <a NAME="ConfigurationDialog.__init__" ID="ConfigurationDialog.__init__"></a> |
135 <a NAME="ConfigurationDialog.__init__" ID="ConfigurationDialog.__init__"></a> |
109 <h4>ConfigurationDialog (Constructor)</h4> |
136 <h4>ConfigurationDialog (Constructor)</h4> |
110 <b>ConfigurationDialog</b>(<i>parent=None, name=None, modal=False, fromEric=True, displayMode=ConfigurationWidget.DefaultMode, expandedEntries=None</i>) |
137 <b>ConfigurationDialog</b>(<i>parent=None, name=None, modal=False, fromEric=True, displayMode=ConfigurationWidget.DefaultMode, expandedEntries=None</i>) |
|
138 |
111 <p> |
139 <p> |
112 Constructor |
140 Constructor |
113 </p><dl> |
141 </p> |
|
142 <dl> |
|
143 |
114 <dt><i>parent</i></dt> |
144 <dt><i>parent</i></dt> |
115 <dd> |
145 <dd> |
116 The parent widget of this dialog. (QWidget) |
146 The parent widget of this dialog. (QWidget) |
117 </dd><dt><i>name</i></dt> |
147 </dd> |
|
148 <dt><i>name</i></dt> |
118 <dd> |
149 <dd> |
119 The name of this dialog. string |
150 The name of this dialog. string |
120 </dd><dt><i>modal</i></dt> |
151 </dd> |
|
152 <dt><i>modal</i></dt> |
121 <dd> |
153 <dd> |
122 Flag indicating a modal dialog. (boolean) |
154 Flag indicating a modal dialog. (boolean) |
123 </dd><dt><i>fromEric=</i></dt> |
155 </dd> |
|
156 <dt><i>fromEric=</i></dt> |
124 <dd> |
157 <dd> |
125 flag indicating a dialog generation from within the |
158 flag indicating a dialog generation from within the |
126 eric6 ide (boolean) |
159 eric6 ide (boolean) |
127 </dd><dt><i>displayMode=</i></dt> |
160 </dd> |
|
161 <dt><i>displayMode=</i></dt> |
128 <dd> |
162 <dd> |
129 mode of the configuration dialog |
163 mode of the configuration dialog |
130 (DefaultMode, HelpBrowserMode, TrayStarterMode, HexEditorMode, |
164 (DefaultMode, HelpBrowserMode, TrayStarterMode, HexEditorMode, |
131 WebBrowserMode) |
165 WebBrowserMode) |
132 </dd><dt><i>expandedEntries=</i></dt> |
166 </dd> |
|
167 <dt><i>expandedEntries=</i></dt> |
133 <dd> |
168 <dd> |
134 list of entries to be shown expanded |
169 list of entries to be shown expanded |
135 (list of strings) |
170 (list of strings) |
136 </dd> |
171 </dd> |
137 </dl><a NAME="ConfigurationDialog.__masterPasswordChanged" ID="ConfigurationDialog.__masterPasswordChanged"></a> |
172 </dl> |
|
173 <a NAME="ConfigurationDialog.__masterPasswordChanged" ID="ConfigurationDialog.__masterPasswordChanged"></a> |
138 <h4>ConfigurationDialog.__masterPasswordChanged</h4> |
174 <h4>ConfigurationDialog.__masterPasswordChanged</h4> |
139 <b>__masterPasswordChanged</b>(<i>oldPassword, newPassword</i>) |
175 <b>__masterPasswordChanged</b>(<i>oldPassword, newPassword</i>) |
|
176 |
140 <p> |
177 <p> |
141 Private slot to handle the change of the master password. |
178 Private slot to handle the change of the master password. |
142 </p><dl> |
179 </p> |
|
180 <dl> |
|
181 |
143 <dt><i>oldPassword</i></dt> |
182 <dt><i>oldPassword</i></dt> |
144 <dd> |
183 <dd> |
145 current master password (string) |
184 current master password (string) |
146 </dd><dt><i>newPassword</i></dt> |
185 </dd> |
|
186 <dt><i>newPassword</i></dt> |
147 <dd> |
187 <dd> |
148 new master password (string) |
188 new master password (string) |
149 </dd> |
189 </dd> |
150 </dl><a NAME="ConfigurationDialog.__preferencesChanged" ID="ConfigurationDialog.__preferencesChanged"></a> |
190 </dl> |
|
191 <a NAME="ConfigurationDialog.__preferencesChanged" ID="ConfigurationDialog.__preferencesChanged"></a> |
151 <h4>ConfigurationDialog.__preferencesChanged</h4> |
192 <h4>ConfigurationDialog.__preferencesChanged</h4> |
152 <b>__preferencesChanged</b>(<i></i>) |
193 <b>__preferencesChanged</b>(<i></i>) |
|
194 |
153 <p> |
195 <p> |
154 Private slot to handle a change of the preferences. |
196 Private slot to handle a change of the preferences. |
155 </p><a NAME="ConfigurationDialog.accept" ID="ConfigurationDialog.accept"></a> |
197 </p> |
|
198 <a NAME="ConfigurationDialog.accept" ID="ConfigurationDialog.accept"></a> |
156 <h4>ConfigurationDialog.accept</h4> |
199 <h4>ConfigurationDialog.accept</h4> |
157 <b>accept</b>(<i></i>) |
200 <b>accept</b>(<i></i>) |
|
201 |
158 <p> |
202 <p> |
159 Public method to accept the dialog. |
203 Public method to accept the dialog. |
160 </p><a NAME="ConfigurationDialog.getConfigurationPageName" ID="ConfigurationDialog.getConfigurationPageName"></a> |
204 </p> |
|
205 <a NAME="ConfigurationDialog.getConfigurationPageName" ID="ConfigurationDialog.getConfigurationPageName"></a> |
161 <h4>ConfigurationDialog.getConfigurationPageName</h4> |
206 <h4>ConfigurationDialog.getConfigurationPageName</h4> |
162 <b>getConfigurationPageName</b>(<i></i>) |
207 <b>getConfigurationPageName</b>(<i></i>) |
|
208 |
163 <p> |
209 <p> |
164 Public method to get the page name of the current page. |
210 Public method to get the page name of the current page. |
165 </p><dl> |
211 </p> |
|
212 <dl> |
166 <dt>Returns:</dt> |
213 <dt>Returns:</dt> |
167 <dd> |
214 <dd> |
168 page name of the current page (string) |
215 page name of the current page (string) |
169 </dd> |
216 </dd> |
170 </dl><a NAME="ConfigurationDialog.getExpandedEntries" ID="ConfigurationDialog.getExpandedEntries"></a> |
217 </dl> |
|
218 <a NAME="ConfigurationDialog.getExpandedEntries" ID="ConfigurationDialog.getExpandedEntries"></a> |
171 <h4>ConfigurationDialog.getExpandedEntries</h4> |
219 <h4>ConfigurationDialog.getExpandedEntries</h4> |
172 <b>getExpandedEntries</b>(<i></i>) |
220 <b>getExpandedEntries</b>(<i></i>) |
|
221 |
173 <p> |
222 <p> |
174 Public method to get a list of expanded entries. |
223 Public method to get a list of expanded entries. |
175 </p><dl> |
224 </p> |
|
225 <dl> |
176 <dt>Returns:</dt> |
226 <dt>Returns:</dt> |
177 <dd> |
227 <dd> |
178 list of expanded entries (list of string) |
228 list of expanded entries (list of string) |
179 </dd> |
229 </dd> |
180 </dl><a NAME="ConfigurationDialog.setPreferences" ID="ConfigurationDialog.setPreferences"></a> |
230 </dl> |
|
231 <a NAME="ConfigurationDialog.setPreferences" ID="ConfigurationDialog.setPreferences"></a> |
181 <h4>ConfigurationDialog.setPreferences</h4> |
232 <h4>ConfigurationDialog.setPreferences</h4> |
182 <b>setPreferences</b>(<i></i>) |
233 <b>setPreferences</b>(<i></i>) |
|
234 |
183 <p> |
235 <p> |
184 Public method called to store the selected values into the preferences |
236 Public method called to store the selected values into the preferences |
185 storage. |
237 storage. |
186 </p><a NAME="ConfigurationDialog.showConfigurationPageByName" ID="ConfigurationDialog.showConfigurationPageByName"></a> |
238 </p> |
|
239 <a NAME="ConfigurationDialog.showConfigurationPageByName" ID="ConfigurationDialog.showConfigurationPageByName"></a> |
187 <h4>ConfigurationDialog.showConfigurationPageByName</h4> |
240 <h4>ConfigurationDialog.showConfigurationPageByName</h4> |
188 <b>showConfigurationPageByName</b>(<i>pageName</i>) |
241 <b>showConfigurationPageByName</b>(<i>pageName</i>) |
|
242 |
189 <p> |
243 <p> |
190 Public slot to show a named configuration page. |
244 Public slot to show a named configuration page. |
191 </p><dl> |
245 </p> |
|
246 <dl> |
|
247 |
192 <dt><i>pageName</i></dt> |
248 <dt><i>pageName</i></dt> |
193 <dd> |
249 <dd> |
194 name of the configuration page to show (string) |
250 name of the configuration page to show (string) |
195 </dd> |
251 </dd> |
196 </dl> |
252 </dl> |
197 <div align="right"><a href="#top">Up</a></div> |
253 <div align="right"><a href="#top">Up</a></div> |
198 <hr /><hr /> |
254 <hr /> |
|
255 <hr /> |
199 <a NAME="ConfigurationPageItem" ID="ConfigurationPageItem"></a> |
256 <a NAME="ConfigurationPageItem" ID="ConfigurationPageItem"></a> |
200 <h2>ConfigurationPageItem</h2> |
257 <h2>ConfigurationPageItem</h2> |
|
258 |
201 <p> |
259 <p> |
202 Class implementing a QTreeWidgetItem holding the configuration page data. |
260 Class implementing a QTreeWidgetItem holding the configuration page data. |
203 </p> |
261 </p> |
204 <h3>Derived from</h3> |
262 <h3>Derived from</h3> |
205 QTreeWidgetItem |
263 QTreeWidgetItem |
206 <h3>Class Attributes</h3> |
264 <h3>Class Attributes</h3> |
|
265 |
207 <table> |
266 <table> |
208 <tr><td>None</td></tr> |
267 <tr><td>None</td></tr> |
209 </table> |
268 </table> |
210 <h3>Class Methods</h3> |
269 <h3>Class Methods</h3> |
|
270 |
211 <table> |
271 <table> |
212 <tr><td>None</td></tr> |
272 <tr><td>None</td></tr> |
213 </table> |
273 </table> |
214 <h3>Methods</h3> |
274 <h3>Methods</h3> |
215 <table> |
275 |
|
276 <table> |
|
277 |
216 <tr> |
278 <tr> |
217 <td><a href="#ConfigurationPageItem.__init__">ConfigurationPageItem</a></td> |
279 <td><a href="#ConfigurationPageItem.__init__">ConfigurationPageItem</a></td> |
218 <td>Constructor</td> |
280 <td>Constructor</td> |
219 </tr><tr> |
281 </tr> |
|
282 <tr> |
220 <td><a href="#ConfigurationPageItem.getPageName">getPageName</a></td> |
283 <td><a href="#ConfigurationPageItem.getPageName">getPageName</a></td> |
221 <td>Public method to get the name of the associated configuration page.</td> |
284 <td>Public method to get the name of the associated configuration page.</td> |
222 </tr> |
285 </tr> |
223 </table> |
286 </table> |
224 <h3>Static Methods</h3> |
287 <h3>Static Methods</h3> |
225 <table> |
288 |
226 <tr><td>None</td></tr> |
289 <table> |
227 </table> |
290 <tr><td>None</td></tr> |
|
291 </table> |
|
292 |
228 <a NAME="ConfigurationPageItem.__init__" ID="ConfigurationPageItem.__init__"></a> |
293 <a NAME="ConfigurationPageItem.__init__" ID="ConfigurationPageItem.__init__"></a> |
229 <h4>ConfigurationPageItem (Constructor)</h4> |
294 <h4>ConfigurationPageItem (Constructor)</h4> |
230 <b>ConfigurationPageItem</b>(<i>parent, text, pageName, iconFile</i>) |
295 <b>ConfigurationPageItem</b>(<i>parent, text, pageName, iconFile</i>) |
|
296 |
231 <p> |
297 <p> |
232 Constructor |
298 Constructor |
233 </p><dl> |
299 </p> |
|
300 <dl> |
|
301 |
234 <dt><i>parent</i></dt> |
302 <dt><i>parent</i></dt> |
235 <dd> |
303 <dd> |
236 parent widget of the item (QTreeWidget or |
304 parent widget of the item (QTreeWidget or |
237 QTreeWidgetItem) |
305 QTreeWidgetItem) |
238 </dd><dt><i>text</i></dt> |
306 </dd> |
|
307 <dt><i>text</i></dt> |
239 <dd> |
308 <dd> |
240 text to be displayed (string) |
309 text to be displayed (string) |
241 </dd><dt><i>pageName</i></dt> |
310 </dd> |
|
311 <dt><i>pageName</i></dt> |
242 <dd> |
312 <dd> |
243 name of the configuration page (string) |
313 name of the configuration page (string) |
244 </dd><dt><i>iconFile</i></dt> |
314 </dd> |
|
315 <dt><i>iconFile</i></dt> |
245 <dd> |
316 <dd> |
246 file name of the icon to be shown (string) |
317 file name of the icon to be shown (string) |
247 </dd> |
318 </dd> |
248 </dl><a NAME="ConfigurationPageItem.getPageName" ID="ConfigurationPageItem.getPageName"></a> |
319 </dl> |
|
320 <a NAME="ConfigurationPageItem.getPageName" ID="ConfigurationPageItem.getPageName"></a> |
249 <h4>ConfigurationPageItem.getPageName</h4> |
321 <h4>ConfigurationPageItem.getPageName</h4> |
250 <b>getPageName</b>(<i></i>) |
322 <b>getPageName</b>(<i></i>) |
|
323 |
251 <p> |
324 <p> |
252 Public method to get the name of the associated configuration page. |
325 Public method to get the name of the associated configuration page. |
253 </p><dl> |
326 </p> |
|
327 <dl> |
254 <dt>Returns:</dt> |
328 <dt>Returns:</dt> |
255 <dd> |
329 <dd> |
256 name of the configuration page (string) |
330 name of the configuration page (string) |
257 </dd> |
331 </dd> |
258 </dl> |
332 </dl> |
259 <div align="right"><a href="#top">Up</a></div> |
333 <div align="right"><a href="#top">Up</a></div> |
260 <hr /><hr /> |
334 <hr /> |
|
335 <hr /> |
261 <a NAME="ConfigurationWidget" ID="ConfigurationWidget"></a> |
336 <a NAME="ConfigurationWidget" ID="ConfigurationWidget"></a> |
262 <h2>ConfigurationWidget</h2> |
337 <h2>ConfigurationWidget</h2> |
|
338 |
263 <p> |
339 <p> |
264 Class implementing a dialog for the configuration of eric6. |
340 Class implementing a dialog for the configuration of eric6. |
265 </p><h3>Signals</h3> |
341 </p> |
266 <dl> |
342 <h3>Signals</h3> |
|
343 <dl> |
|
344 |
267 <dt>accepted()</dt> |
345 <dt>accepted()</dt> |
268 <dd> |
346 <dd> |
269 emitted to indicate acceptance of the changes |
347 emitted to indicate acceptance of the changes |
270 </dd><dt>masterPasswordChanged(str, str)</dt> |
348 </dd> |
|
349 <dt>masterPasswordChanged(str, str)</dt> |
271 <dd> |
350 <dd> |
272 emitted after the master |
351 emitted after the master |
273 password has been changed with the old and the new password |
352 password has been changed with the old and the new password |
274 </dd><dt>preferencesChanged()</dt> |
353 </dd> |
|
354 <dt>preferencesChanged()</dt> |
275 <dd> |
355 <dd> |
276 emitted after settings have been changed |
356 emitted after settings have been changed |
277 </dd><dt>rejected()</dt> |
357 </dd> |
|
358 <dt>rejected()</dt> |
278 <dd> |
359 <dd> |
279 emitted to indicate rejection of the changes |
360 emitted to indicate rejection of the changes |
280 </dd> |
361 </dd> |
281 </dl> |
362 </dl> |
282 <h3>Derived from</h3> |
363 <h3>Derived from</h3> |
283 QWidget |
364 QWidget |
284 <h3>Class Attributes</h3> |
365 <h3>Class Attributes</h3> |
|
366 |
285 <table> |
367 <table> |
286 <tr><td>DefaultMode</td></tr><tr><td>HelpBrowserMode</td></tr><tr><td>HexEditorMode</td></tr><tr><td>TrayStarterMode</td></tr><tr><td>WebBrowserMode</td></tr> |
368 <tr><td>DefaultMode</td></tr><tr><td>HelpBrowserMode</td></tr><tr><td>HexEditorMode</td></tr><tr><td>TrayStarterMode</td></tr><tr><td>WebBrowserMode</td></tr> |
287 </table> |
369 </table> |
288 <h3>Class Methods</h3> |
370 <h3>Class Methods</h3> |
|
371 |
289 <table> |
372 <table> |
290 <tr><td>None</td></tr> |
373 <tr><td>None</td></tr> |
291 </table> |
374 </table> |
292 <h3>Methods</h3> |
375 <h3>Methods</h3> |
293 <table> |
376 |
|
377 <table> |
|
378 |
294 <tr> |
379 <tr> |
295 <td><a href="#ConfigurationWidget.__init__">ConfigurationWidget</a></td> |
380 <td><a href="#ConfigurationWidget.__init__">ConfigurationWidget</a></td> |
296 <td>Constructor</td> |
381 <td>Constructor</td> |
297 </tr><tr> |
382 </tr> |
|
383 <tr> |
298 <td><a href="#ConfigurationWidget.__importConfigurationPage">__importConfigurationPage</a></td> |
384 <td><a href="#ConfigurationWidget.__importConfigurationPage">__importConfigurationPage</a></td> |
299 <td>Private method to import a configuration page module.</td> |
385 <td>Private method to import a configuration page module.</td> |
300 </tr><tr> |
386 </tr> |
|
387 <tr> |
301 <td><a href="#ConfigurationWidget.__initLexers">__initLexers</a></td> |
388 <td><a href="#ConfigurationWidget.__initLexers">__initLexers</a></td> |
302 <td>Private method to initialize the dictionary of preferences lexers.</td> |
389 <td>Private method to initialize the dictionary of preferences lexers.</td> |
303 </tr><tr> |
390 </tr> |
|
391 <tr> |
304 <td><a href="#ConfigurationWidget.__initPage">__initPage</a></td> |
392 <td><a href="#ConfigurationWidget.__initPage">__initPage</a></td> |
305 <td>Private method to initialize a configuration page.</td> |
393 <td>Private method to initialize a configuration page.</td> |
306 </tr><tr> |
394 </tr> |
|
395 <tr> |
307 <td><a href="#ConfigurationWidget.__searchChildItems">__searchChildItems</a></td> |
396 <td><a href="#ConfigurationWidget.__searchChildItems">__searchChildItems</a></td> |
308 <td>Private method to enable child items based on a search string.</td> |
397 <td>Private method to enable child items based on a search string.</td> |
309 </tr><tr> |
398 </tr> |
|
399 <tr> |
310 <td><a href="#ConfigurationWidget.__searchTextChanged">__searchTextChanged</a></td> |
400 <td><a href="#ConfigurationWidget.__searchTextChanged">__searchTextChanged</a></td> |
311 <td>Private slot to handle a change of the search text.</td> |
401 <td>Private slot to handle a change of the search text.</td> |
312 </tr><tr> |
402 </tr> |
|
403 <tr> |
313 <td><a href="#ConfigurationWidget.__setupUi">__setupUi</a></td> |
404 <td><a href="#ConfigurationWidget.__setupUi">__setupUi</a></td> |
314 <td>Private method to perform the general setup of the configuration widget.</td> |
405 <td>Private method to perform the general setup of the configuration widget.</td> |
315 </tr><tr> |
406 </tr> |
|
407 <tr> |
316 <td><a href="#ConfigurationWidget.__showConfigurationPage">__showConfigurationPage</a></td> |
408 <td><a href="#ConfigurationWidget.__showConfigurationPage">__showConfigurationPage</a></td> |
317 <td>Private slot to show a selected configuration page.</td> |
409 <td>Private slot to show a selected configuration page.</td> |
318 </tr><tr> |
410 </tr> |
|
411 <tr> |
319 <td><a href="#ConfigurationWidget.accept">accept</a></td> |
412 <td><a href="#ConfigurationWidget.accept">accept</a></td> |
320 <td>Public slot to accept the buttonBox accept signal.</td> |
413 <td>Public slot to accept the buttonBox accept signal.</td> |
321 </tr><tr> |
414 </tr> |
|
415 <tr> |
322 <td><a href="#ConfigurationWidget.calledFromEric">calledFromEric</a></td> |
416 <td><a href="#ConfigurationWidget.calledFromEric">calledFromEric</a></td> |
323 <td>Public method to check, if invoked from within eric.</td> |
417 <td>Public method to check, if invoked from within eric.</td> |
324 </tr><tr> |
418 </tr> |
|
419 <tr> |
325 <td><a href="#ConfigurationWidget.getConfigurationPageName">getConfigurationPageName</a></td> |
420 <td><a href="#ConfigurationWidget.getConfigurationPageName">getConfigurationPageName</a></td> |
326 <td>Public method to get the page name of the current page.</td> |
421 <td>Public method to get the page name of the current page.</td> |
327 </tr><tr> |
422 </tr> |
|
423 <tr> |
328 <td><a href="#ConfigurationWidget.getExpandedEntries">getExpandedEntries</a></td> |
424 <td><a href="#ConfigurationWidget.getExpandedEntries">getExpandedEntries</a></td> |
329 <td>Public method to get a list of expanded entries.</td> |
425 <td>Public method to get a list of expanded entries.</td> |
330 </tr><tr> |
426 </tr> |
|
427 <tr> |
331 <td><a href="#ConfigurationWidget.getLexers">getLexers</a></td> |
428 <td><a href="#ConfigurationWidget.getLexers">getLexers</a></td> |
332 <td>Public method to get a reference to the lexers dictionary.</td> |
429 <td>Public method to get a reference to the lexers dictionary.</td> |
333 </tr><tr> |
430 </tr> |
|
431 <tr> |
334 <td><a href="#ConfigurationWidget.getPage">getPage</a></td> |
432 <td><a href="#ConfigurationWidget.getPage">getPage</a></td> |
335 <td>Public method to get a reference to the named page.</td> |
433 <td>Public method to get a reference to the named page.</td> |
336 </tr><tr> |
434 </tr> |
|
435 <tr> |
337 <td><a href="#ConfigurationWidget.isUsingWebEngine">isUsingWebEngine</a></td> |
436 <td><a href="#ConfigurationWidget.isUsingWebEngine">isUsingWebEngine</a></td> |
338 <td>Public method to get an indication, if QtWebEngine is being used.</td> |
437 <td>Public method to get an indication, if QtWebEngine is being used.</td> |
339 </tr><tr> |
438 </tr> |
|
439 <tr> |
340 <td><a href="#ConfigurationWidget.on_applyButton_clicked">on_applyButton_clicked</a></td> |
440 <td><a href="#ConfigurationWidget.on_applyButton_clicked">on_applyButton_clicked</a></td> |
341 <td>Private slot called to apply the settings of the current page.</td> |
441 <td>Private slot called to apply the settings of the current page.</td> |
342 </tr><tr> |
442 </tr> |
|
443 <tr> |
343 <td><a href="#ConfigurationWidget.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
444 <td><a href="#ConfigurationWidget.on_buttonBox_clicked">on_buttonBox_clicked</a></td> |
344 <td>Private slot called by a button of the button box clicked.</td> |
445 <td>Private slot called by a button of the button box clicked.</td> |
345 </tr><tr> |
446 </tr> |
|
447 <tr> |
346 <td><a href="#ConfigurationWidget.on_configList_itemCollapsed">on_configList_itemCollapsed</a></td> |
448 <td><a href="#ConfigurationWidget.on_configList_itemCollapsed">on_configList_itemCollapsed</a></td> |
347 <td>Private slot handling a list entry being collapsed.</td> |
449 <td>Private slot handling a list entry being collapsed.</td> |
348 </tr><tr> |
450 </tr> |
|
451 <tr> |
349 <td><a href="#ConfigurationWidget.on_configList_itemExpanded">on_configList_itemExpanded</a></td> |
452 <td><a href="#ConfigurationWidget.on_configList_itemExpanded">on_configList_itemExpanded</a></td> |
350 <td>Private slot handling a list entry being expanded.</td> |
453 <td>Private slot handling a list entry being expanded.</td> |
351 </tr><tr> |
454 </tr> |
|
455 <tr> |
352 <td><a href="#ConfigurationWidget.on_resetButton_clicked">on_resetButton_clicked</a></td> |
456 <td><a href="#ConfigurationWidget.on_resetButton_clicked">on_resetButton_clicked</a></td> |
353 <td>Private slot called to reset the settings of the current page.</td> |
457 <td>Private slot called to reset the settings of the current page.</td> |
354 </tr><tr> |
458 </tr> |
|
459 <tr> |
355 <td><a href="#ConfigurationWidget.setPreferences">setPreferences</a></td> |
460 <td><a href="#ConfigurationWidget.setPreferences">setPreferences</a></td> |
356 <td>Public method called to store the selected values into the preferences storage.</td> |
461 <td>Public method called to store the selected values into the preferences storage.</td> |
357 </tr><tr> |
462 </tr> |
|
463 <tr> |
358 <td><a href="#ConfigurationWidget.showConfigurationPageByName">showConfigurationPageByName</a></td> |
464 <td><a href="#ConfigurationWidget.showConfigurationPageByName">showConfigurationPageByName</a></td> |
359 <td>Public slot to show a named configuration page.</td> |
465 <td>Public slot to show a named configuration page.</td> |
360 </tr> |
466 </tr> |
361 </table> |
467 </table> |
362 <h3>Static Methods</h3> |
468 <h3>Static Methods</h3> |
363 <table> |
469 |
364 <tr><td>None</td></tr> |
470 <table> |
365 </table> |
471 <tr><td>None</td></tr> |
|
472 </table> |
|
473 |
366 <a NAME="ConfigurationWidget.__init__" ID="ConfigurationWidget.__init__"></a> |
474 <a NAME="ConfigurationWidget.__init__" ID="ConfigurationWidget.__init__"></a> |
367 <h4>ConfigurationWidget (Constructor)</h4> |
475 <h4>ConfigurationWidget (Constructor)</h4> |
368 <b>ConfigurationWidget</b>(<i>parent=None, fromEric=True, displayMode=DefaultMode, expandedEntries=None</i>) |
476 <b>ConfigurationWidget</b>(<i>parent=None, fromEric=True, displayMode=DefaultMode, expandedEntries=None</i>) |
|
477 |
369 <p> |
478 <p> |
370 Constructor |
479 Constructor |
371 </p><dl> |
480 </p> |
|
481 <dl> |
|
482 |
372 <dt><i>parent</i></dt> |
483 <dt><i>parent</i></dt> |
373 <dd> |
484 <dd> |
374 The parent widget of this dialog. (QWidget) |
485 The parent widget of this dialog. (QWidget) |
375 </dd><dt><i>fromEric=</i></dt> |
486 </dd> |
|
487 <dt><i>fromEric=</i></dt> |
376 <dd> |
488 <dd> |
377 flag indicating a dialog generation from within the |
489 flag indicating a dialog generation from within the |
378 eric6 ide (boolean) |
490 eric6 ide (boolean) |
379 </dd><dt><i>displayMode=</i></dt> |
491 </dd> |
|
492 <dt><i>displayMode=</i></dt> |
380 <dd> |
493 <dd> |
381 mode of the configuration dialog |
494 mode of the configuration dialog |
382 (DefaultMode, HelpBrowserMode, TrayStarterMode, HexEditorMode, |
495 (DefaultMode, HelpBrowserMode, TrayStarterMode, HexEditorMode, |
383 WebBrowserMode) |
496 WebBrowserMode) |
384 </dd><dt><i>expandedEntries=</i></dt> |
497 </dd> |
|
498 <dt><i>expandedEntries=</i></dt> |
385 <dd> |
499 <dd> |
386 list of entries to be shown expanded |
500 list of entries to be shown expanded |
387 (list of strings) |
501 (list of strings) |
388 </dd> |
502 </dd> |
389 </dl><dl> |
503 </dl> |
|
504 <dl> |
|
505 |
390 <dt>Raises <b>RuntimeError</b>:</dt> |
506 <dt>Raises <b>RuntimeError</b>:</dt> |
391 <dd> |
507 <dd> |
392 raised to indicate an invalid dialog mode |
508 raised to indicate an invalid dialog mode |
393 </dd> |
509 </dd> |
394 </dl><a NAME="ConfigurationWidget.__importConfigurationPage" ID="ConfigurationWidget.__importConfigurationPage"></a> |
510 </dl> |
|
511 <a NAME="ConfigurationWidget.__importConfigurationPage" ID="ConfigurationWidget.__importConfigurationPage"></a> |
395 <h4>ConfigurationWidget.__importConfigurationPage</h4> |
512 <h4>ConfigurationWidget.__importConfigurationPage</h4> |
396 <b>__importConfigurationPage</b>(<i>name</i>) |
513 <b>__importConfigurationPage</b>(<i>name</i>) |
|
514 |
397 <p> |
515 <p> |
398 Private method to import a configuration page module. |
516 Private method to import a configuration page module. |
399 </p><dl> |
517 </p> |
|
518 <dl> |
|
519 |
400 <dt><i>name</i></dt> |
520 <dt><i>name</i></dt> |
401 <dd> |
521 <dd> |
402 name of the configuration page module (string) |
522 name of the configuration page module (string) |
403 </dd> |
523 </dd> |
404 </dl><dl> |
524 </dl> |
|
525 <dl> |
405 <dt>Returns:</dt> |
526 <dt>Returns:</dt> |
406 <dd> |
527 <dd> |
407 reference to the configuration page module |
528 reference to the configuration page module |
408 </dd> |
529 </dd> |
409 </dl><a NAME="ConfigurationWidget.__initLexers" ID="ConfigurationWidget.__initLexers"></a> |
530 </dl> |
|
531 <a NAME="ConfigurationWidget.__initLexers" ID="ConfigurationWidget.__initLexers"></a> |
410 <h4>ConfigurationWidget.__initLexers</h4> |
532 <h4>ConfigurationWidget.__initLexers</h4> |
411 <b>__initLexers</b>(<i></i>) |
533 <b>__initLexers</b>(<i></i>) |
|
534 |
412 <p> |
535 <p> |
413 Private method to initialize the dictionary of preferences lexers. |
536 Private method to initialize the dictionary of preferences lexers. |
414 </p><a NAME="ConfigurationWidget.__initPage" ID="ConfigurationWidget.__initPage"></a> |
537 </p> |
|
538 <a NAME="ConfigurationWidget.__initPage" ID="ConfigurationWidget.__initPage"></a> |
415 <h4>ConfigurationWidget.__initPage</h4> |
539 <h4>ConfigurationWidget.__initPage</h4> |
416 <b>__initPage</b>(<i>pageData</i>) |
540 <b>__initPage</b>(<i>pageData</i>) |
|
541 |
417 <p> |
542 <p> |
418 Private method to initialize a configuration page. |
543 Private method to initialize a configuration page. |
419 </p><dl> |
544 </p> |
|
545 <dl> |
|
546 |
420 <dt><i>pageData</i></dt> |
547 <dt><i>pageData</i></dt> |
421 <dd> |
548 <dd> |
422 data structure for the page to initialize |
549 data structure for the page to initialize |
423 </dd> |
550 </dd> |
424 </dl><dl> |
551 </dl> |
|
552 <dl> |
425 <dt>Returns:</dt> |
553 <dt>Returns:</dt> |
426 <dd> |
554 <dd> |
427 reference to the initialized page |
555 reference to the initialized page |
428 </dd> |
556 </dd> |
429 </dl><a NAME="ConfigurationWidget.__searchChildItems" ID="ConfigurationWidget.__searchChildItems"></a> |
557 </dl> |
|
558 <a NAME="ConfigurationWidget.__searchChildItems" ID="ConfigurationWidget.__searchChildItems"></a> |
430 <h4>ConfigurationWidget.__searchChildItems</h4> |
559 <h4>ConfigurationWidget.__searchChildItems</h4> |
431 <b>__searchChildItems</b>(<i>parent, text</i>) |
560 <b>__searchChildItems</b>(<i>parent, text</i>) |
|
561 |
432 <p> |
562 <p> |
433 Private method to enable child items based on a search string. |
563 Private method to enable child items based on a search string. |
434 </p><dl> |
564 </p> |
|
565 <dl> |
|
566 |
435 <dt><i>parent</i></dt> |
567 <dt><i>parent</i></dt> |
436 <dd> |
568 <dd> |
437 reference to the parent item (QTreeWidgetItem) |
569 reference to the parent item (QTreeWidgetItem) |
438 </dd><dt><i>text</i></dt> |
570 </dd> |
|
571 <dt><i>text</i></dt> |
439 <dd> |
572 <dd> |
440 text to search for (string) |
573 text to search for (string) |
441 </dd> |
574 </dd> |
442 </dl><dl> |
575 </dl> |
|
576 <dl> |
443 <dt>Returns:</dt> |
577 <dt>Returns:</dt> |
444 <dd> |
578 <dd> |
445 flag indicating an enabled child item (boolean) |
579 flag indicating an enabled child item (boolean) |
446 </dd> |
580 </dd> |
447 </dl><a NAME="ConfigurationWidget.__searchTextChanged" ID="ConfigurationWidget.__searchTextChanged"></a> |
581 </dl> |
|
582 <a NAME="ConfigurationWidget.__searchTextChanged" ID="ConfigurationWidget.__searchTextChanged"></a> |
448 <h4>ConfigurationWidget.__searchTextChanged</h4> |
583 <h4>ConfigurationWidget.__searchTextChanged</h4> |
449 <b>__searchTextChanged</b>(<i>text</i>) |
584 <b>__searchTextChanged</b>(<i>text</i>) |
|
585 |
450 <p> |
586 <p> |
451 Private slot to handle a change of the search text. |
587 Private slot to handle a change of the search text. |
452 </p><dl> |
588 </p> |
|
589 <dl> |
|
590 |
453 <dt><i>text</i></dt> |
591 <dt><i>text</i></dt> |
454 <dd> |
592 <dd> |
455 text to search for (string) |
593 text to search for (string) |
456 </dd> |
594 </dd> |
457 </dl><a NAME="ConfigurationWidget.__setupUi" ID="ConfigurationWidget.__setupUi"></a> |
595 </dl> |
|
596 <a NAME="ConfigurationWidget.__setupUi" ID="ConfigurationWidget.__setupUi"></a> |
458 <h4>ConfigurationWidget.__setupUi</h4> |
597 <h4>ConfigurationWidget.__setupUi</h4> |
459 <b>__setupUi</b>(<i></i>) |
598 <b>__setupUi</b>(<i></i>) |
|
599 |
460 <p> |
600 <p> |
461 Private method to perform the general setup of the configuration |
601 Private method to perform the general setup of the configuration |
462 widget. |
602 widget. |
463 </p><a NAME="ConfigurationWidget.__showConfigurationPage" ID="ConfigurationWidget.__showConfigurationPage"></a> |
603 </p> |
|
604 <a NAME="ConfigurationWidget.__showConfigurationPage" ID="ConfigurationWidget.__showConfigurationPage"></a> |
464 <h4>ConfigurationWidget.__showConfigurationPage</h4> |
605 <h4>ConfigurationWidget.__showConfigurationPage</h4> |
465 <b>__showConfigurationPage</b>(<i>itm, column</i>) |
606 <b>__showConfigurationPage</b>(<i>itm, column</i>) |
|
607 |
466 <p> |
608 <p> |
467 Private slot to show a selected configuration page. |
609 Private slot to show a selected configuration page. |
468 </p><dl> |
610 </p> |
|
611 <dl> |
|
612 |
469 <dt><i>itm</i></dt> |
613 <dt><i>itm</i></dt> |
470 <dd> |
614 <dd> |
471 reference to the selected item (QTreeWidgetItem) |
615 reference to the selected item (QTreeWidgetItem) |
472 </dd><dt><i>column</i></dt> |
616 </dd> |
|
617 <dt><i>column</i></dt> |
473 <dd> |
618 <dd> |
474 column that was selected (integer) (ignored) |
619 column that was selected (integer) (ignored) |
475 </dd> |
620 </dd> |
476 </dl><a NAME="ConfigurationWidget.accept" ID="ConfigurationWidget.accept"></a> |
621 </dl> |
|
622 <a NAME="ConfigurationWidget.accept" ID="ConfigurationWidget.accept"></a> |
477 <h4>ConfigurationWidget.accept</h4> |
623 <h4>ConfigurationWidget.accept</h4> |
478 <b>accept</b>(<i></i>) |
624 <b>accept</b>(<i></i>) |
|
625 |
479 <p> |
626 <p> |
480 Public slot to accept the buttonBox accept signal. |
627 Public slot to accept the buttonBox accept signal. |
481 </p><a NAME="ConfigurationWidget.calledFromEric" ID="ConfigurationWidget.calledFromEric"></a> |
628 </p> |
|
629 <a NAME="ConfigurationWidget.calledFromEric" ID="ConfigurationWidget.calledFromEric"></a> |
482 <h4>ConfigurationWidget.calledFromEric</h4> |
630 <h4>ConfigurationWidget.calledFromEric</h4> |
483 <b>calledFromEric</b>(<i></i>) |
631 <b>calledFromEric</b>(<i></i>) |
|
632 |
484 <p> |
633 <p> |
485 Public method to check, if invoked from within eric. |
634 Public method to check, if invoked from within eric. |
486 </p><dl> |
635 </p> |
|
636 <dl> |
487 <dt>Returns:</dt> |
637 <dt>Returns:</dt> |
488 <dd> |
638 <dd> |
489 flag indicating invocation from within eric (boolean) |
639 flag indicating invocation from within eric (boolean) |
490 </dd> |
640 </dd> |
491 </dl><a NAME="ConfigurationWidget.getConfigurationPageName" ID="ConfigurationWidget.getConfigurationPageName"></a> |
641 </dl> |
|
642 <a NAME="ConfigurationWidget.getConfigurationPageName" ID="ConfigurationWidget.getConfigurationPageName"></a> |
492 <h4>ConfigurationWidget.getConfigurationPageName</h4> |
643 <h4>ConfigurationWidget.getConfigurationPageName</h4> |
493 <b>getConfigurationPageName</b>(<i></i>) |
644 <b>getConfigurationPageName</b>(<i></i>) |
|
645 |
494 <p> |
646 <p> |
495 Public method to get the page name of the current page. |
647 Public method to get the page name of the current page. |
496 </p><dl> |
648 </p> |
|
649 <dl> |
497 <dt>Returns:</dt> |
650 <dt>Returns:</dt> |
498 <dd> |
651 <dd> |
499 page name of the current page (string) |
652 page name of the current page (string) |
500 </dd> |
653 </dd> |
501 </dl><a NAME="ConfigurationWidget.getExpandedEntries" ID="ConfigurationWidget.getExpandedEntries"></a> |
654 </dl> |
|
655 <a NAME="ConfigurationWidget.getExpandedEntries" ID="ConfigurationWidget.getExpandedEntries"></a> |
502 <h4>ConfigurationWidget.getExpandedEntries</h4> |
656 <h4>ConfigurationWidget.getExpandedEntries</h4> |
503 <b>getExpandedEntries</b>(<i></i>) |
657 <b>getExpandedEntries</b>(<i></i>) |
|
658 |
504 <p> |
659 <p> |
505 Public method to get a list of expanded entries. |
660 Public method to get a list of expanded entries. |
506 </p><dl> |
661 </p> |
|
662 <dl> |
507 <dt>Returns:</dt> |
663 <dt>Returns:</dt> |
508 <dd> |
664 <dd> |
509 list of expanded entries (list of string) |
665 list of expanded entries (list of string) |
510 </dd> |
666 </dd> |
511 </dl><a NAME="ConfigurationWidget.getLexers" ID="ConfigurationWidget.getLexers"></a> |
667 </dl> |
|
668 <a NAME="ConfigurationWidget.getLexers" ID="ConfigurationWidget.getLexers"></a> |
512 <h4>ConfigurationWidget.getLexers</h4> |
669 <h4>ConfigurationWidget.getLexers</h4> |
513 <b>getLexers</b>(<i></i>) |
670 <b>getLexers</b>(<i></i>) |
|
671 |
514 <p> |
672 <p> |
515 Public method to get a reference to the lexers dictionary. |
673 Public method to get a reference to the lexers dictionary. |
516 </p><dl> |
674 </p> |
|
675 <dl> |
517 <dt>Returns:</dt> |
676 <dt>Returns:</dt> |
518 <dd> |
677 <dd> |
519 reference to the lexers dictionary |
678 reference to the lexers dictionary |
520 </dd> |
679 </dd> |
521 </dl><a NAME="ConfigurationWidget.getPage" ID="ConfigurationWidget.getPage"></a> |
680 </dl> |
|
681 <a NAME="ConfigurationWidget.getPage" ID="ConfigurationWidget.getPage"></a> |
522 <h4>ConfigurationWidget.getPage</h4> |
682 <h4>ConfigurationWidget.getPage</h4> |
523 <b>getPage</b>(<i>pageName</i>) |
683 <b>getPage</b>(<i>pageName</i>) |
|
684 |
524 <p> |
685 <p> |
525 Public method to get a reference to the named page. |
686 Public method to get a reference to the named page. |
526 </p><dl> |
687 </p> |
|
688 <dl> |
|
689 |
527 <dt><i>pageName</i></dt> |
690 <dt><i>pageName</i></dt> |
528 <dd> |
691 <dd> |
529 name of the configuration page (string) |
692 name of the configuration page (string) |
530 </dd> |
693 </dd> |
531 </dl><dl> |
694 </dl> |
|
695 <dl> |
532 <dt>Returns:</dt> |
696 <dt>Returns:</dt> |
533 <dd> |
697 <dd> |
534 reference to the page or None, indicating page was |
698 reference to the page or None, indicating page was |
535 not loaded yet |
699 not loaded yet |
536 </dd> |
700 </dd> |
537 </dl><a NAME="ConfigurationWidget.isUsingWebEngine" ID="ConfigurationWidget.isUsingWebEngine"></a> |
701 </dl> |
|
702 <a NAME="ConfigurationWidget.isUsingWebEngine" ID="ConfigurationWidget.isUsingWebEngine"></a> |
538 <h4>ConfigurationWidget.isUsingWebEngine</h4> |
703 <h4>ConfigurationWidget.isUsingWebEngine</h4> |
539 <b>isUsingWebEngine</b>(<i></i>) |
704 <b>isUsingWebEngine</b>(<i></i>) |
|
705 |
540 <p> |
706 <p> |
541 Public method to get an indication, if QtWebEngine is being used. |
707 Public method to get an indication, if QtWebEngine is being used. |
542 </p><dl> |
708 </p> |
|
709 <dl> |
543 <dt>Returns:</dt> |
710 <dt>Returns:</dt> |
544 <dd> |
711 <dd> |
545 flag indicating the use of QtWebEngine |
712 flag indicating the use of QtWebEngine |
546 </dd> |
713 </dd> |
547 </dl><dl> |
714 </dl> |
|
715 <dl> |
548 <dt>Return Type:</dt> |
716 <dt>Return Type:</dt> |
549 <dd> |
717 <dd> |
550 bool |
718 bool |
551 </dd> |
719 </dd> |
552 </dl><a NAME="ConfigurationWidget.on_applyButton_clicked" ID="ConfigurationWidget.on_applyButton_clicked"></a> |
720 </dl> |
|
721 <a NAME="ConfigurationWidget.on_applyButton_clicked" ID="ConfigurationWidget.on_applyButton_clicked"></a> |
553 <h4>ConfigurationWidget.on_applyButton_clicked</h4> |
722 <h4>ConfigurationWidget.on_applyButton_clicked</h4> |
554 <b>on_applyButton_clicked</b>(<i></i>) |
723 <b>on_applyButton_clicked</b>(<i></i>) |
|
724 |
555 <p> |
725 <p> |
556 Private slot called to apply the settings of the current page. |
726 Private slot called to apply the settings of the current page. |
557 </p><a NAME="ConfigurationWidget.on_buttonBox_clicked" ID="ConfigurationWidget.on_buttonBox_clicked"></a> |
727 </p> |
|
728 <a NAME="ConfigurationWidget.on_buttonBox_clicked" ID="ConfigurationWidget.on_buttonBox_clicked"></a> |
558 <h4>ConfigurationWidget.on_buttonBox_clicked</h4> |
729 <h4>ConfigurationWidget.on_buttonBox_clicked</h4> |
559 <b>on_buttonBox_clicked</b>(<i>button</i>) |
730 <b>on_buttonBox_clicked</b>(<i>button</i>) |
|
731 |
560 <p> |
732 <p> |
561 Private slot called by a button of the button box clicked. |
733 Private slot called by a button of the button box clicked. |
562 </p><dl> |
734 </p> |
|
735 <dl> |
|
736 |
563 <dt><i>button</i></dt> |
737 <dt><i>button</i></dt> |
564 <dd> |
738 <dd> |
565 button that was clicked (QAbstractButton) |
739 button that was clicked (QAbstractButton) |
566 </dd> |
740 </dd> |
567 </dl><a NAME="ConfigurationWidget.on_configList_itemCollapsed" ID="ConfigurationWidget.on_configList_itemCollapsed"></a> |
741 </dl> |
|
742 <a NAME="ConfigurationWidget.on_configList_itemCollapsed" ID="ConfigurationWidget.on_configList_itemCollapsed"></a> |
568 <h4>ConfigurationWidget.on_configList_itemCollapsed</h4> |
743 <h4>ConfigurationWidget.on_configList_itemCollapsed</h4> |
569 <b>on_configList_itemCollapsed</b>(<i>item</i>) |
744 <b>on_configList_itemCollapsed</b>(<i>item</i>) |
|
745 |
570 <p> |
746 <p> |
571 Private slot handling a list entry being collapsed. |
747 Private slot handling a list entry being collapsed. |
572 </p><dl> |
748 </p> |
|
749 <dl> |
|
750 |
573 <dt><i>item</i></dt> |
751 <dt><i>item</i></dt> |
574 <dd> |
752 <dd> |
575 reference to the collapsed item (QTreeWidgetItem) |
753 reference to the collapsed item (QTreeWidgetItem) |
576 </dd> |
754 </dd> |
577 </dl><a NAME="ConfigurationWidget.on_configList_itemExpanded" ID="ConfigurationWidget.on_configList_itemExpanded"></a> |
755 </dl> |
|
756 <a NAME="ConfigurationWidget.on_configList_itemExpanded" ID="ConfigurationWidget.on_configList_itemExpanded"></a> |
578 <h4>ConfigurationWidget.on_configList_itemExpanded</h4> |
757 <h4>ConfigurationWidget.on_configList_itemExpanded</h4> |
579 <b>on_configList_itemExpanded</b>(<i>item</i>) |
758 <b>on_configList_itemExpanded</b>(<i>item</i>) |
|
759 |
580 <p> |
760 <p> |
581 Private slot handling a list entry being expanded. |
761 Private slot handling a list entry being expanded. |
582 </p><dl> |
762 </p> |
|
763 <dl> |
|
764 |
583 <dt><i>item</i></dt> |
765 <dt><i>item</i></dt> |
584 <dd> |
766 <dd> |
585 reference to the expanded item (QTreeWidgetItem) |
767 reference to the expanded item (QTreeWidgetItem) |
586 </dd> |
768 </dd> |
587 </dl><a NAME="ConfigurationWidget.on_resetButton_clicked" ID="ConfigurationWidget.on_resetButton_clicked"></a> |
769 </dl> |
|
770 <a NAME="ConfigurationWidget.on_resetButton_clicked" ID="ConfigurationWidget.on_resetButton_clicked"></a> |
588 <h4>ConfigurationWidget.on_resetButton_clicked</h4> |
771 <h4>ConfigurationWidget.on_resetButton_clicked</h4> |
589 <b>on_resetButton_clicked</b>(<i></i>) |
772 <b>on_resetButton_clicked</b>(<i></i>) |
|
773 |
590 <p> |
774 <p> |
591 Private slot called to reset the settings of the current page. |
775 Private slot called to reset the settings of the current page. |
592 </p><a NAME="ConfigurationWidget.setPreferences" ID="ConfigurationWidget.setPreferences"></a> |
776 </p> |
|
777 <a NAME="ConfigurationWidget.setPreferences" ID="ConfigurationWidget.setPreferences"></a> |
593 <h4>ConfigurationWidget.setPreferences</h4> |
778 <h4>ConfigurationWidget.setPreferences</h4> |
594 <b>setPreferences</b>(<i></i>) |
779 <b>setPreferences</b>(<i></i>) |
|
780 |
595 <p> |
781 <p> |
596 Public method called to store the selected values into the preferences |
782 Public method called to store the selected values into the preferences |
597 storage. |
783 storage. |
598 </p><a NAME="ConfigurationWidget.showConfigurationPageByName" ID="ConfigurationWidget.showConfigurationPageByName"></a> |
784 </p> |
|
785 <a NAME="ConfigurationWidget.showConfigurationPageByName" ID="ConfigurationWidget.showConfigurationPageByName"></a> |
599 <h4>ConfigurationWidget.showConfigurationPageByName</h4> |
786 <h4>ConfigurationWidget.showConfigurationPageByName</h4> |
600 <b>showConfigurationPageByName</b>(<i>pageName, setCurrent=True</i>) |
787 <b>showConfigurationPageByName</b>(<i>pageName, setCurrent=True</i>) |
|
788 |
601 <p> |
789 <p> |
602 Public slot to show a named configuration page. |
790 Public slot to show a named configuration page. |
603 </p><dl> |
791 </p> |
|
792 <dl> |
|
793 |
604 <dt><i>pageName</i></dt> |
794 <dt><i>pageName</i></dt> |
605 <dd> |
795 <dd> |
606 name of the configuration page to show (string) |
796 name of the configuration page to show (string) |
607 </dd><dt><i>setCurrent</i></dt> |
797 </dd> |
|
798 <dt><i>setCurrent</i></dt> |
608 <dd> |
799 <dd> |
609 flag indicating to set the current item (boolean) |
800 flag indicating to set the current item (boolean) |
610 </dd> |
801 </dd> |
611 </dl> |
802 </dl> |
612 <div align="right"><a href="#top">Up</a></div> |
803 <div align="right"><a href="#top">Up</a></div> |
613 <hr /><hr /> |
804 <hr /> |
|
805 <hr /> |
614 <a NAME="ConfigurationWindow" ID="ConfigurationWindow"></a> |
806 <a NAME="ConfigurationWindow" ID="ConfigurationWindow"></a> |
615 <h2>ConfigurationWindow</h2> |
807 <h2>ConfigurationWindow</h2> |
|
808 |
616 <p> |
809 <p> |
617 Main window class for the standalone dialog. |
810 Main window class for the standalone dialog. |
618 </p> |
811 </p> |
619 <h3>Derived from</h3> |
812 <h3>Derived from</h3> |
620 E5MainWindow |
813 E5MainWindow |
621 <h3>Class Attributes</h3> |
814 <h3>Class Attributes</h3> |
|
815 |
622 <table> |
816 <table> |
623 <tr><td>None</td></tr> |
817 <tr><td>None</td></tr> |
624 </table> |
818 </table> |
625 <h3>Class Methods</h3> |
819 <h3>Class Methods</h3> |
|
820 |
626 <table> |
821 <table> |
627 <tr><td>None</td></tr> |
822 <tr><td>None</td></tr> |
628 </table> |
823 </table> |
629 <h3>Methods</h3> |
824 <h3>Methods</h3> |
630 <table> |
825 |
|
826 <table> |
|
827 |
631 <tr> |
828 <tr> |
632 <td><a href="#ConfigurationWindow.__init__">ConfigurationWindow</a></td> |
829 <td><a href="#ConfigurationWindow.__init__">ConfigurationWindow</a></td> |
633 <td>Constructor</td> |
830 <td>Constructor</td> |
634 </tr><tr> |
831 </tr> |
|
832 <tr> |
635 <td><a href="#ConfigurationWindow.accept">accept</a></td> |
833 <td><a href="#ConfigurationWindow.accept">accept</a></td> |
636 <td>Public slot called by the Ok button.</td> |
834 <td>Public slot called by the Ok button.</td> |
637 </tr><tr> |
835 </tr> |
|
836 <tr> |
638 <td><a href="#ConfigurationWindow.showConfigurationPageByName">showConfigurationPageByName</a></td> |
837 <td><a href="#ConfigurationWindow.showConfigurationPageByName">showConfigurationPageByName</a></td> |
639 <td>Public slot to show a named configuration page.</td> |
838 <td>Public slot to show a named configuration page.</td> |
640 </tr> |
839 </tr> |
641 </table> |
840 </table> |
642 <h3>Static Methods</h3> |
841 <h3>Static Methods</h3> |
643 <table> |
842 |
644 <tr><td>None</td></tr> |
843 <table> |
645 </table> |
844 <tr><td>None</td></tr> |
|
845 </table> |
|
846 |
646 <a NAME="ConfigurationWindow.__init__" ID="ConfigurationWindow.__init__"></a> |
847 <a NAME="ConfigurationWindow.__init__" ID="ConfigurationWindow.__init__"></a> |
647 <h4>ConfigurationWindow (Constructor)</h4> |
848 <h4>ConfigurationWindow (Constructor)</h4> |
648 <b>ConfigurationWindow</b>(<i>parent=None</i>) |
849 <b>ConfigurationWindow</b>(<i>parent=None</i>) |
|
850 |
649 <p> |
851 <p> |
650 Constructor |
852 Constructor |
651 </p><dl> |
853 </p> |
|
854 <dl> |
|
855 |
652 <dt><i>parent</i></dt> |
856 <dt><i>parent</i></dt> |
653 <dd> |
857 <dd> |
654 reference to the parent widget (QWidget) |
858 reference to the parent widget (QWidget) |
655 </dd> |
859 </dd> |
656 </dl><a NAME="ConfigurationWindow.accept" ID="ConfigurationWindow.accept"></a> |
860 </dl> |
|
861 <a NAME="ConfigurationWindow.accept" ID="ConfigurationWindow.accept"></a> |
657 <h4>ConfigurationWindow.accept</h4> |
862 <h4>ConfigurationWindow.accept</h4> |
658 <b>accept</b>(<i></i>) |
863 <b>accept</b>(<i></i>) |
|
864 |
659 <p> |
865 <p> |
660 Public slot called by the Ok button. |
866 Public slot called by the Ok button. |
661 </p><a NAME="ConfigurationWindow.showConfigurationPageByName" ID="ConfigurationWindow.showConfigurationPageByName"></a> |
867 </p> |
|
868 <a NAME="ConfigurationWindow.showConfigurationPageByName" ID="ConfigurationWindow.showConfigurationPageByName"></a> |
662 <h4>ConfigurationWindow.showConfigurationPageByName</h4> |
869 <h4>ConfigurationWindow.showConfigurationPageByName</h4> |
663 <b>showConfigurationPageByName</b>(<i>pageName</i>) |
870 <b>showConfigurationPageByName</b>(<i>pageName</i>) |
|
871 |
664 <p> |
872 <p> |
665 Public slot to show a named configuration page. |
873 Public slot to show a named configuration page. |
666 </p><dl> |
874 </p> |
|
875 <dl> |
|
876 |
667 <dt><i>pageName</i></dt> |
877 <dt><i>pageName</i></dt> |
668 <dd> |
878 <dd> |
669 name of the configuration page to show (string) |
879 name of the configuration page to show (string) |
670 </dd> |
880 </dd> |
671 </dl> |
881 </dl> |