|
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>eric4.Helpviewer.QtHelpFiltersDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background:white; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #4FA4FF; } |
|
14 h2 { color: white; background: #4FA4FF; } |
|
15 h3 { color: white; background: #00557F; } |
|
16 h4 { color: white; background: #00557F; } |
|
17 |
|
18 a { color: #AA5500; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric4.Helpviewer.QtHelpFiltersDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog to manage the QtHelp filters. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#QtHelpFiltersDialog">QtHelpFiltersDialog</a></td> |
|
35 <td>Class implementing a dialog to manage the QtHelp filters</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="QtHelpFiltersDialog" ID="QtHelpFiltersDialog"></a> |
|
44 <h2>QtHelpFiltersDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog to manage the QtHelp filters |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_QtHelpFiltersDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Methods</h3> |
|
55 <table> |
|
56 <tr> |
|
57 <td><a href="#QtHelpFiltersDialog.__init__">QtHelpFiltersDialog</a></td> |
|
58 <td>Constructor</td> |
|
59 </tr><tr> |
|
60 <td><a href="#QtHelpFiltersDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
|
61 <td>Private slot to add a new filter.</td> |
|
62 </tr><tr> |
|
63 <td><a href="#QtHelpFiltersDialog.on_attributesList_itemChanged">on_attributesList_itemChanged</a></td> |
|
64 <td>Private slot to handle a change of an attribute.</td> |
|
65 </tr><tr> |
|
66 <td><a href="#QtHelpFiltersDialog.on_buttonBox_accepted">on_buttonBox_accepted</a></td> |
|
67 <td>Private slot to update the database, if the dialog is accepted.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#QtHelpFiltersDialog.on_filtersList_currentItemChanged">on_filtersList_currentItemChanged</a></td> |
|
70 <td>Private slot to update the attributes depending on the current filter.</td> |
|
71 </tr><tr> |
|
72 <td><a href="#QtHelpFiltersDialog.on_removeButton_clicked">on_removeButton_clicked</a></td> |
|
73 <td>Private slot to remove a filter.</td> |
|
74 </tr> |
|
75 </table> |
|
76 <a NAME="QtHelpFiltersDialog.__init__" ID="QtHelpFiltersDialog.__init__"></a> |
|
77 <h4>QtHelpFiltersDialog (Constructor)</h4> |
|
78 <b>QtHelpFiltersDialog</b>(<i>engine, parent = None</i>) |
|
79 <p> |
|
80 Constructor |
|
81 </p><dl> |
|
82 <dt><i>engine</i></dt> |
|
83 <dd> |
|
84 reference to the help engine (QHelpEngine) |
|
85 </dd><dt><i>parent</i></dt> |
|
86 <dd> |
|
87 reference to the parent widget (QWidget) |
|
88 </dd> |
|
89 </dl><a NAME="QtHelpFiltersDialog.on_addButton_clicked" ID="QtHelpFiltersDialog.on_addButton_clicked"></a> |
|
90 <h4>QtHelpFiltersDialog.on_addButton_clicked</h4> |
|
91 <b>on_addButton_clicked</b>(<i></i>) |
|
92 <p> |
|
93 Private slot to add a new filter. |
|
94 </p><a NAME="QtHelpFiltersDialog.on_attributesList_itemChanged" ID="QtHelpFiltersDialog.on_attributesList_itemChanged"></a> |
|
95 <h4>QtHelpFiltersDialog.on_attributesList_itemChanged</h4> |
|
96 <b>on_attributesList_itemChanged</b>(<i>item, column</i>) |
|
97 <p> |
|
98 Private slot to handle a change of an attribute. |
|
99 </p><dl> |
|
100 <dt><i>item</i></dt> |
|
101 <dd> |
|
102 reference to the changed item (QTreeWidgetItem) |
|
103 </dd><dt><i>column</i></dt> |
|
104 <dd> |
|
105 column containing the change (integer) |
|
106 </dd> |
|
107 </dl><a NAME="QtHelpFiltersDialog.on_buttonBox_accepted" ID="QtHelpFiltersDialog.on_buttonBox_accepted"></a> |
|
108 <h4>QtHelpFiltersDialog.on_buttonBox_accepted</h4> |
|
109 <b>on_buttonBox_accepted</b>(<i></i>) |
|
110 <p> |
|
111 Private slot to update the database, if the dialog is accepted. |
|
112 </p><a NAME="QtHelpFiltersDialog.on_filtersList_currentItemChanged" ID="QtHelpFiltersDialog.on_filtersList_currentItemChanged"></a> |
|
113 <h4>QtHelpFiltersDialog.on_filtersList_currentItemChanged</h4> |
|
114 <b>on_filtersList_currentItemChanged</b>(<i>current, previous</i>) |
|
115 <p> |
|
116 Private slot to update the attributes depending on the current filter. |
|
117 </p><dl> |
|
118 <dt><i>current</i></dt> |
|
119 <dd> |
|
120 reference to the current item (QListWidgetitem) |
|
121 </dd><dt><i>previous</i></dt> |
|
122 <dd> |
|
123 reference to the previous current item (QListWidgetItem) |
|
124 </dd> |
|
125 </dl><a NAME="QtHelpFiltersDialog.on_removeButton_clicked" ID="QtHelpFiltersDialog.on_removeButton_clicked"></a> |
|
126 <h4>QtHelpFiltersDialog.on_removeButton_clicked</h4> |
|
127 <b>on_removeButton_clicked</b>(<i></i>) |
|
128 <p> |
|
129 Private slot to remove a filter. |
|
130 </p> |
|
131 <div align="right"><a href="#top">Up</a></div> |
|
132 <hr /> |
|
133 </body></html> |