|
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.Helpviewer.QtHelpFiltersDialog</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.Helpviewer.QtHelpFiltersDialog</h1> |
|
12 <p> |
|
13 Module implementing a dialog to manage the QtHelp filters. |
|
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="#QtHelpFiltersDialog">QtHelpFiltersDialog</a></td> |
|
23 <td>Class implementing a dialog to manage the QtHelp filters</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="QtHelpFiltersDialog" ID="QtHelpFiltersDialog"></a> |
|
32 <h2>QtHelpFiltersDialog</h2> |
|
33 <p> |
|
34 Class implementing a dialog to manage the QtHelp filters |
|
35 </p> |
|
36 <h3>Derived from</h3> |
|
37 QDialog, Ui_QtHelpFiltersDialog |
|
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="#QtHelpFiltersDialog.__init__">QtHelpFiltersDialog</a></td> |
|
46 <td>Constructor</td> |
|
47 </tr><tr> |
|
48 <td><a href="#QtHelpFiltersDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
|
49 <td>Private slot to add a new filter.</td> |
|
50 </tr><tr> |
|
51 <td><a href="#QtHelpFiltersDialog.on_attributesList_itemChanged">on_attributesList_itemChanged</a></td> |
|
52 <td>Private slot to handle a change of an attribute.</td> |
|
53 </tr><tr> |
|
54 <td><a href="#QtHelpFiltersDialog.on_buttonBox_accepted">on_buttonBox_accepted</a></td> |
|
55 <td>Private slot to update the database, if the dialog is accepted.</td> |
|
56 </tr><tr> |
|
57 <td><a href="#QtHelpFiltersDialog.on_filtersList_currentItemChanged">on_filtersList_currentItemChanged</a></td> |
|
58 <td>Private slot to update the attributes depending on the current filter.</td> |
|
59 </tr><tr> |
|
60 <td><a href="#QtHelpFiltersDialog.on_removeButton_clicked">on_removeButton_clicked</a></td> |
|
61 <td>Private slot to remove a filter.</td> |
|
62 </tr> |
|
63 </table> |
|
64 <a NAME="QtHelpFiltersDialog.__init__" ID="QtHelpFiltersDialog.__init__"></a> |
|
65 <h4>QtHelpFiltersDialog (Constructor)</h4> |
|
66 <b>QtHelpFiltersDialog</b>(<i>engine, parent = None</i>) |
|
67 <p> |
|
68 Constructor |
|
69 </p><dl> |
|
70 <dt><i>engine</i></dt> |
|
71 <dd> |
|
72 reference to the help engine (QHelpEngine) |
|
73 </dd><dt><i>parent</i></dt> |
|
74 <dd> |
|
75 reference to the parent widget (QWidget) |
|
76 </dd> |
|
77 </dl><a NAME="QtHelpFiltersDialog.on_addButton_clicked" ID="QtHelpFiltersDialog.on_addButton_clicked"></a> |
|
78 <h4>QtHelpFiltersDialog.on_addButton_clicked</h4> |
|
79 <b>on_addButton_clicked</b>(<i></i>) |
|
80 <p> |
|
81 Private slot to add a new filter. |
|
82 </p><a NAME="QtHelpFiltersDialog.on_attributesList_itemChanged" ID="QtHelpFiltersDialog.on_attributesList_itemChanged"></a> |
|
83 <h4>QtHelpFiltersDialog.on_attributesList_itemChanged</h4> |
|
84 <b>on_attributesList_itemChanged</b>(<i>item, column</i>) |
|
85 <p> |
|
86 Private slot to handle a change of an attribute. |
|
87 </p><dl> |
|
88 <dt><i>item</i></dt> |
|
89 <dd> |
|
90 reference to the changed item (QTreeWidgetItem) |
|
91 </dd><dt><i>column</i></dt> |
|
92 <dd> |
|
93 column containing the change (integer) |
|
94 </dd> |
|
95 </dl><a NAME="QtHelpFiltersDialog.on_buttonBox_accepted" ID="QtHelpFiltersDialog.on_buttonBox_accepted"></a> |
|
96 <h4>QtHelpFiltersDialog.on_buttonBox_accepted</h4> |
|
97 <b>on_buttonBox_accepted</b>(<i></i>) |
|
98 <p> |
|
99 Private slot to update the database, if the dialog is accepted. |
|
100 </p><a NAME="QtHelpFiltersDialog.on_filtersList_currentItemChanged" ID="QtHelpFiltersDialog.on_filtersList_currentItemChanged"></a> |
|
101 <h4>QtHelpFiltersDialog.on_filtersList_currentItemChanged</h4> |
|
102 <b>on_filtersList_currentItemChanged</b>(<i>current, previous</i>) |
|
103 <p> |
|
104 Private slot to update the attributes depending on the current filter. |
|
105 </p><dl> |
|
106 <dt><i>current</i></dt> |
|
107 <dd> |
|
108 reference to the current item (QListWidgetitem) |
|
109 </dd><dt><i>previous</i></dt> |
|
110 <dd> |
|
111 reference to the previous current item (QListWidgetItem) |
|
112 </dd> |
|
113 </dl><a NAME="QtHelpFiltersDialog.on_removeButton_clicked" ID="QtHelpFiltersDialog.on_removeButton_clicked"></a> |
|
114 <h4>QtHelpFiltersDialog.on_removeButton_clicked</h4> |
|
115 <b>on_removeButton_clicked</b>(<i></i>) |
|
116 <p> |
|
117 Private slot to remove a filter. |
|
118 </p> |
|
119 <div align="right"><a href="#top">Up</a></div> |
|
120 <hr /> |
|
121 </body></html> |