Documentation/Source/eric6.WebBrowser.QtHelp.QtHelpFiltersDialog.html

changeset 4918
71caf42a13d8
equal deleted inserted replaced
4917:682750cc7bd5 4918:71caf42a13d8
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.WebBrowser.QtHelp.QtHelpFiltersDialog</title>
4 <meta charset="UTF-8">
5 <style>
6 body {
7 background: #EDECE6;
8 margin: 0em 1em 10em 1em;
9 color: black;
10 }
11
12 h1 { color: white; background: #85774A; }
13 h2 { color: white; background: #85774A; }
14 h3 { color: white; background: #9D936E; }
15 h4 { color: white; background: #9D936E; }
16
17 a { color: #BA6D36; }
18
19 </style>
20 </head>
21 <body><a NAME="top" ID="top"></a>
22 <h1>eric6.WebBrowser.QtHelp.QtHelpFiltersDialog</h1>
23 <p>
24 Module implementing a dialog to manage the QtHelp filters.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#QtHelpFiltersDialog">QtHelpFiltersDialog</a></td>
34 <td>Class implementing a dialog to manage the QtHelp filters.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="QtHelpFiltersDialog" ID="QtHelpFiltersDialog"></a>
43 <h2>QtHelpFiltersDialog</h2>
44 <p>
45 Class implementing a dialog to manage the QtHelp filters.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_QtHelpFiltersDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#QtHelpFiltersDialog.__init__">QtHelpFiltersDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#QtHelpFiltersDialog.__removeAttributes">__removeAttributes</a></td>
64 <td>Private method to remove attributes from the Qt Help database.</td>
65 </tr><tr>
66 <td><a href="#QtHelpFiltersDialog.on_addButton_clicked">on_addButton_clicked</a></td>
67 <td>Private slot to add a new filter.</td>
68 </tr><tr>
69 <td><a href="#QtHelpFiltersDialog.on_attributesList_itemChanged">on_attributesList_itemChanged</a></td>
70 <td>Private slot to handle a change of an attribute.</td>
71 </tr><tr>
72 <td><a href="#QtHelpFiltersDialog.on_attributesList_itemSelectionChanged">on_attributesList_itemSelectionChanged</a></td>
73 <td>Private slot handling the selection of attributes.</td>
74 </tr><tr>
75 <td><a href="#QtHelpFiltersDialog.on_buttonBox_accepted">on_buttonBox_accepted</a></td>
76 <td>Private slot to update the database, if the dialog is accepted.</td>
77 </tr><tr>
78 <td><a href="#QtHelpFiltersDialog.on_filtersList_currentItemChanged">on_filtersList_currentItemChanged</a></td>
79 <td>Private slot to update the attributes depending on the current filter.</td>
80 </tr><tr>
81 <td><a href="#QtHelpFiltersDialog.on_filtersList_itemSelectionChanged">on_filtersList_itemSelectionChanged</a></td>
82 <td>Private slot handling a change of selected filters.</td>
83 </tr><tr>
84 <td><a href="#QtHelpFiltersDialog.on_removeAttributeButton_clicked">on_removeAttributeButton_clicked</a></td>
85 <td>Private slot to remove the selected filter attributes.</td>
86 </tr><tr>
87 <td><a href="#QtHelpFiltersDialog.on_removeButton_clicked">on_removeButton_clicked</a></td>
88 <td>Private slot to remove the selected filters.</td>
89 </tr><tr>
90 <td><a href="#QtHelpFiltersDialog.on_unusedAttributesButton_clicked">on_unusedAttributesButton_clicked</a></td>
91 <td>Private slot to select all unused attributes.</td>
92 </tr>
93 </table>
94 <h3>Static Methods</h3>
95 <table>
96 <tr><td>None</td></tr>
97 </table>
98 <a NAME="QtHelpFiltersDialog.__init__" ID="QtHelpFiltersDialog.__init__"></a>
99 <h4>QtHelpFiltersDialog (Constructor)</h4>
100 <b>QtHelpFiltersDialog</b>(<i>engine, parent=None</i>)
101 <p>
102 Constructor
103 </p><dl>
104 <dt><i>engine</i></dt>
105 <dd>
106 reference to the help engine (QHelpEngine)
107 </dd><dt><i>parent</i></dt>
108 <dd>
109 reference to the parent widget (QWidget)
110 </dd>
111 </dl><a NAME="QtHelpFiltersDialog.__removeAttributes" ID="QtHelpFiltersDialog.__removeAttributes"></a>
112 <h4>QtHelpFiltersDialog.__removeAttributes</h4>
113 <b>__removeAttributes</b>(<i></i>)
114 <p>
115 Private method to remove attributes from the Qt Help database.
116 </p><a NAME="QtHelpFiltersDialog.on_addButton_clicked" ID="QtHelpFiltersDialog.on_addButton_clicked"></a>
117 <h4>QtHelpFiltersDialog.on_addButton_clicked</h4>
118 <b>on_addButton_clicked</b>(<i></i>)
119 <p>
120 Private slot to add a new filter.
121 </p><a NAME="QtHelpFiltersDialog.on_attributesList_itemChanged" ID="QtHelpFiltersDialog.on_attributesList_itemChanged"></a>
122 <h4>QtHelpFiltersDialog.on_attributesList_itemChanged</h4>
123 <b>on_attributesList_itemChanged</b>(<i>item, column</i>)
124 <p>
125 Private slot to handle a change of an attribute.
126 </p><dl>
127 <dt><i>item</i></dt>
128 <dd>
129 reference to the changed item (QTreeWidgetItem)
130 </dd><dt><i>column</i></dt>
131 <dd>
132 column containing the change (integer)
133 </dd>
134 </dl><a NAME="QtHelpFiltersDialog.on_attributesList_itemSelectionChanged" ID="QtHelpFiltersDialog.on_attributesList_itemSelectionChanged"></a>
135 <h4>QtHelpFiltersDialog.on_attributesList_itemSelectionChanged</h4>
136 <b>on_attributesList_itemSelectionChanged</b>(<i></i>)
137 <p>
138 Private slot handling the selection of attributes.
139 </p><a NAME="QtHelpFiltersDialog.on_buttonBox_accepted" ID="QtHelpFiltersDialog.on_buttonBox_accepted"></a>
140 <h4>QtHelpFiltersDialog.on_buttonBox_accepted</h4>
141 <b>on_buttonBox_accepted</b>(<i></i>)
142 <p>
143 Private slot to update the database, if the dialog is accepted.
144 </p><a NAME="QtHelpFiltersDialog.on_filtersList_currentItemChanged" ID="QtHelpFiltersDialog.on_filtersList_currentItemChanged"></a>
145 <h4>QtHelpFiltersDialog.on_filtersList_currentItemChanged</h4>
146 <b>on_filtersList_currentItemChanged</b>(<i>current, previous</i>)
147 <p>
148 Private slot to update the attributes depending on the current filter.
149 </p><dl>
150 <dt><i>current</i></dt>
151 <dd>
152 reference to the current item (QListWidgetitem)
153 </dd><dt><i>previous</i></dt>
154 <dd>
155 reference to the previous current item
156 (QListWidgetItem)
157 </dd>
158 </dl><a NAME="QtHelpFiltersDialog.on_filtersList_itemSelectionChanged" ID="QtHelpFiltersDialog.on_filtersList_itemSelectionChanged"></a>
159 <h4>QtHelpFiltersDialog.on_filtersList_itemSelectionChanged</h4>
160 <b>on_filtersList_itemSelectionChanged</b>(<i></i>)
161 <p>
162 Private slot handling a change of selected filters.
163 </p><a NAME="QtHelpFiltersDialog.on_removeAttributeButton_clicked" ID="QtHelpFiltersDialog.on_removeAttributeButton_clicked"></a>
164 <h4>QtHelpFiltersDialog.on_removeAttributeButton_clicked</h4>
165 <b>on_removeAttributeButton_clicked</b>(<i></i>)
166 <p>
167 Private slot to remove the selected filter attributes.
168 </p><a NAME="QtHelpFiltersDialog.on_removeButton_clicked" ID="QtHelpFiltersDialog.on_removeButton_clicked"></a>
169 <h4>QtHelpFiltersDialog.on_removeButton_clicked</h4>
170 <b>on_removeButton_clicked</b>(<i></i>)
171 <p>
172 Private slot to remove the selected filters.
173 </p><a NAME="QtHelpFiltersDialog.on_unusedAttributesButton_clicked" ID="QtHelpFiltersDialog.on_unusedAttributesButton_clicked"></a>
174 <h4>QtHelpFiltersDialog.on_unusedAttributesButton_clicked</h4>
175 <b>on_unusedAttributesButton_clicked</b>(<i></i>)
176 <p>
177 Private slot to select all unused attributes.
178 </p>
179 <div align="right"><a href="#top">Up</a></div>
180 <hr />
181 </body></html>

eric ide

mercurial