275 <table> |
275 <table> |
276 <tr> |
276 <tr> |
277 <td><a href="#ConfigurationWidget.__init__">ConfigurationWidget</a></td> |
277 <td><a href="#ConfigurationWidget.__init__">ConfigurationWidget</a></td> |
278 <td>Constructor</td> |
278 <td>Constructor</td> |
279 </tr><tr> |
279 </tr><tr> |
280 <td><a href="#ConfigurationWidget.__filterChildItems">__filterChildItems</a></td> |
|
281 <td>Private method to filter child items based on a filter string.</td> |
|
282 </tr><tr> |
|
283 <td><a href="#ConfigurationWidget.__filterTextChanged">__filterTextChanged</a></td> |
|
284 <td>Private slot to handle a change of the filter.</td> |
|
285 </tr><tr> |
|
286 <td><a href="#ConfigurationWidget.__importConfigurationPage">__importConfigurationPage</a></td> |
280 <td><a href="#ConfigurationWidget.__importConfigurationPage">__importConfigurationPage</a></td> |
287 <td>Private method to import a configuration page module.</td> |
281 <td>Private method to import a configuration page module.</td> |
288 </tr><tr> |
282 </tr><tr> |
289 <td><a href="#ConfigurationWidget.__initLexers">__initLexers</a></td> |
283 <td><a href="#ConfigurationWidget.__initLexers">__initLexers</a></td> |
290 <td>Private method to initialize the dictionary of preferences lexers.</td> |
284 <td>Private method to initialize the dictionary of preferences lexers.</td> |
291 </tr><tr> |
285 </tr><tr> |
292 <td><a href="#ConfigurationWidget.__initPage">__initPage</a></td> |
286 <td><a href="#ConfigurationWidget.__initPage">__initPage</a></td> |
293 <td>Private method to initialize a configuration page.</td> |
287 <td>Private method to initialize a configuration page.</td> |
|
288 </tr><tr> |
|
289 <td><a href="#ConfigurationWidget.__searchChildItems">__searchChildItems</a></td> |
|
290 <td>Private method to enable child items based on a search string.</td> |
|
291 </tr><tr> |
|
292 <td><a href="#ConfigurationWidget.__searchTextChanged">__searchTextChanged</a></td> |
|
293 <td>Private slot to handle a change of the search text.</td> |
294 </tr><tr> |
294 </tr><tr> |
295 <td><a href="#ConfigurationWidget.__setupUi">__setupUi</a></td> |
295 <td><a href="#ConfigurationWidget.__setupUi">__setupUi</a></td> |
296 <td>Private method to perform the general setup of the configuration widget.</td> |
296 <td>Private method to perform the general setup of the configuration widget.</td> |
297 </tr><tr> |
297 </tr><tr> |
298 <td><a href="#ConfigurationWidget.__showConfigurationPage">__showConfigurationPage</a></td> |
298 <td><a href="#ConfigurationWidget.__showConfigurationPage">__showConfigurationPage</a></td> |
353 </dd> |
353 </dd> |
354 </dl><dl> |
354 </dl><dl> |
355 <dt>Raises <b>RuntimeError</b>:</dt> |
355 <dt>Raises <b>RuntimeError</b>:</dt> |
356 <dd> |
356 <dd> |
357 raised to indicate an invalid dialog mode |
357 raised to indicate an invalid dialog mode |
358 </dd> |
|
359 </dl><a NAME="ConfigurationWidget.__filterChildItems" ID="ConfigurationWidget.__filterChildItems"></a> |
|
360 <h4>ConfigurationWidget.__filterChildItems</h4> |
|
361 <b>__filterChildItems</b>(<i>parent, filter</i>) |
|
362 <p> |
|
363 Private method to filter child items based on a filter string. |
|
364 </p><dl> |
|
365 <dt><i>parent</i></dt> |
|
366 <dd> |
|
367 reference to the parent item (QTreeWidgetItem) |
|
368 </dd><dt><i>filter</i></dt> |
|
369 <dd> |
|
370 filter string (string) |
|
371 </dd> |
|
372 </dl><dl> |
|
373 <dt>Returns:</dt> |
|
374 <dd> |
|
375 flag indicating a visible child item (boolean) |
|
376 </dd> |
|
377 </dl><a NAME="ConfigurationWidget.__filterTextChanged" ID="ConfigurationWidget.__filterTextChanged"></a> |
|
378 <h4>ConfigurationWidget.__filterTextChanged</h4> |
|
379 <b>__filterTextChanged</b>(<i>filter</i>) |
|
380 <p> |
|
381 Private slot to handle a change of the filter. |
|
382 </p><dl> |
|
383 <dt><i>filter</i></dt> |
|
384 <dd> |
|
385 text of the filter line edit (string) |
|
386 </dd> |
358 </dd> |
387 </dl><a NAME="ConfigurationWidget.__importConfigurationPage" ID="ConfigurationWidget.__importConfigurationPage"></a> |
359 </dl><a NAME="ConfigurationWidget.__importConfigurationPage" ID="ConfigurationWidget.__importConfigurationPage"></a> |
388 <h4>ConfigurationWidget.__importConfigurationPage</h4> |
360 <h4>ConfigurationWidget.__importConfigurationPage</h4> |
389 <b>__importConfigurationPage</b>(<i>name</i>) |
361 <b>__importConfigurationPage</b>(<i>name</i>) |
390 <p> |
362 <p> |
416 </dd> |
388 </dd> |
417 </dl><dl> |
389 </dl><dl> |
418 <dt>Returns:</dt> |
390 <dt>Returns:</dt> |
419 <dd> |
391 <dd> |
420 reference to the initialized page |
392 reference to the initialized page |
|
393 </dd> |
|
394 </dl><a NAME="ConfigurationWidget.__searchChildItems" ID="ConfigurationWidget.__searchChildItems"></a> |
|
395 <h4>ConfigurationWidget.__searchChildItems</h4> |
|
396 <b>__searchChildItems</b>(<i>parent, text</i>) |
|
397 <p> |
|
398 Private method to enable child items based on a search string. |
|
399 </p><dl> |
|
400 <dt><i>parent</i></dt> |
|
401 <dd> |
|
402 reference to the parent item (QTreeWidgetItem) |
|
403 </dd><dt><i>text</i></dt> |
|
404 <dd> |
|
405 text to search for (string) |
|
406 </dd> |
|
407 </dl><dl> |
|
408 <dt>Returns:</dt> |
|
409 <dd> |
|
410 flag indicating an enabled child item (boolean) |
|
411 </dd> |
|
412 </dl><a NAME="ConfigurationWidget.__searchTextChanged" ID="ConfigurationWidget.__searchTextChanged"></a> |
|
413 <h4>ConfigurationWidget.__searchTextChanged</h4> |
|
414 <b>__searchTextChanged</b>(<i>text</i>) |
|
415 <p> |
|
416 Private slot to handle a change of the search text. |
|
417 </p><dl> |
|
418 <dt><i>text</i></dt> |
|
419 <dd> |
|
420 text to search for (string) |
421 </dd> |
421 </dd> |
422 </dl><a NAME="ConfigurationWidget.__setupUi" ID="ConfigurationWidget.__setupUi"></a> |
422 </dl><a NAME="ConfigurationWidget.__setupUi" ID="ConfigurationWidget.__setupUi"></a> |
423 <h4>ConfigurationWidget.__setupUi</h4> |
423 <h4>ConfigurationWidget.__setupUi</h4> |
424 <b>__setupUi</b>(<i></i>) |
424 <b>__setupUi</b>(<i></i>) |
425 <p> |
425 <p> |