5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.WebBrowser.AdBlock.AdBlockExceptionsDialog</h1> |
9 <h1>eric7.WebBrowser.AdBlock.AdBlockExceptionsDialog</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing a dialog to configure the AdBlock exceptions. |
11 Module implementing a dialog to configure the AdBlock exceptions. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
|
16 <table> |
15 <table> |
17 <tr><td>None</td></tr> |
16 <tr><td>None</td></tr> |
18 </table> |
17 </table> |
|
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
|
21 <table> |
20 <table> |
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#AdBlockExceptionsDialog">AdBlockExceptionsDialog</a></td> |
22 <td><a href="#AdBlockExceptionsDialog">AdBlockExceptionsDialog</a></td> |
25 <td>Class implementing a dialog to configure the AdBlock exceptions.</td> |
23 <td>Class implementing a dialog to configure the AdBlock exceptions.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
|
30 <table> |
28 <table> |
31 <tr><td>None</td></tr> |
29 <tr><td>None</td></tr> |
32 </table> |
30 </table> |
|
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="AdBlockExceptionsDialog" ID="AdBlockExceptionsDialog"></a> |
34 <a NAME="AdBlockExceptionsDialog" ID="AdBlockExceptionsDialog"></a> |
36 <h2>AdBlockExceptionsDialog</h2> |
35 <h2>AdBlockExceptionsDialog</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing a dialog to configure the AdBlock exceptions. |
37 Class implementing a dialog to configure the AdBlock exceptions. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QDialog, Ui_AdBlockExceptionsDialog |
41 QDialog, Ui_AdBlockExceptionsDialog |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
|
45 <table> |
43 <table> |
46 <tr><td>None</td></tr> |
44 <tr><td>None</td></tr> |
47 </table> |
45 </table> |
|
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
|
50 <table> |
48 <table> |
51 <tr><td>None</td></tr> |
49 <tr><td>None</td></tr> |
52 </table> |
50 </table> |
|
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
|
55 <table> |
53 <table> |
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#AdBlockExceptionsDialog.__init__">AdBlockExceptionsDialog</a></td> |
55 <td><a href="#AdBlockExceptionsDialog.__init__">AdBlockExceptionsDialog</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
81 <tr> |
78 <tr> |
82 <td><a href="#AdBlockExceptionsDialog.on_hostList_itemSelectionChanged">on_hostList_itemSelectionChanged</a></td> |
79 <td><a href="#AdBlockExceptionsDialog.on_hostList_itemSelectionChanged">on_hostList_itemSelectionChanged</a></td> |
83 <td>Private slot handling a change of the number of selected items.</td> |
80 <td>Private slot handling a change of the number of selected items.</td> |
84 </tr> |
81 </tr> |
85 </table> |
82 </table> |
|
83 |
86 <h3>Static Methods</h3> |
84 <h3>Static Methods</h3> |
87 |
|
88 <table> |
85 <table> |
89 <tr><td>None</td></tr> |
86 <tr><td>None</td></tr> |
90 </table> |
87 </table> |
91 |
88 |
|
89 |
92 <a NAME="AdBlockExceptionsDialog.__init__" ID="AdBlockExceptionsDialog.__init__"></a> |
90 <a NAME="AdBlockExceptionsDialog.__init__" ID="AdBlockExceptionsDialog.__init__"></a> |
93 <h4>AdBlockExceptionsDialog (Constructor)</h4> |
91 <h4>AdBlockExceptionsDialog (Constructor)</h4> |
94 <b>AdBlockExceptionsDialog</b>(<i>parent=None</i>) |
92 <b>AdBlockExceptionsDialog</b>(<i>parent=None</i>) |
95 |
|
96 <p> |
93 <p> |
97 Constructor |
94 Constructor |
98 </p> |
95 </p> |
|
96 |
99 <dl> |
97 <dl> |
100 |
98 |
101 <dt><i>parent</i> (QWidget)</dt> |
99 <dt><i>parent</i> (QWidget)</dt> |
102 <dd> |
100 <dd> |
103 reference to the parent widget |
101 reference to the parent widget |
104 </dd> |
102 </dd> |
105 </dl> |
103 </dl> |
106 <a NAME="AdBlockExceptionsDialog.accept" ID="AdBlockExceptionsDialog.accept"></a> |
104 <a NAME="AdBlockExceptionsDialog.accept" ID="AdBlockExceptionsDialog.accept"></a> |
107 <h4>AdBlockExceptionsDialog.accept</h4> |
105 <h4>AdBlockExceptionsDialog.accept</h4> |
108 <b>accept</b>(<i></i>) |
106 <b>accept</b>(<i></i>) |
109 |
|
110 <p> |
107 <p> |
111 Public slot handling the acceptance of the dialog. |
108 Public slot handling the acceptance of the dialog. |
112 </p> |
109 </p> |
|
110 |
113 <a NAME="AdBlockExceptionsDialog.load" ID="AdBlockExceptionsDialog.load"></a> |
111 <a NAME="AdBlockExceptionsDialog.load" ID="AdBlockExceptionsDialog.load"></a> |
114 <h4>AdBlockExceptionsDialog.load</h4> |
112 <h4>AdBlockExceptionsDialog.load</h4> |
115 <b>load</b>(<i>hosts</i>) |
113 <b>load</b>(<i>hosts</i>) |
116 |
|
117 <p> |
114 <p> |
118 Public slot to load the list of excepted hosts. |
115 Public slot to load the list of excepted hosts. |
119 </p> |
116 </p> |
|
117 |
120 <dl> |
118 <dl> |
121 |
119 |
122 <dt><i>hosts</i> (list of str)</dt> |
120 <dt><i>hosts</i> (list of str)</dt> |
123 <dd> |
121 <dd> |
124 list of excepted hosts |
122 list of excepted hosts |
125 </dd> |
123 </dd> |
126 </dl> |
124 </dl> |
127 <a NAME="AdBlockExceptionsDialog.on_addButton_clicked" ID="AdBlockExceptionsDialog.on_addButton_clicked"></a> |
125 <a NAME="AdBlockExceptionsDialog.on_addButton_clicked" ID="AdBlockExceptionsDialog.on_addButton_clicked"></a> |
128 <h4>AdBlockExceptionsDialog.on_addButton_clicked</h4> |
126 <h4>AdBlockExceptionsDialog.on_addButton_clicked</h4> |
129 <b>on_addButton_clicked</b>(<i></i>) |
127 <b>on_addButton_clicked</b>(<i></i>) |
130 |
|
131 <p> |
128 <p> |
132 Private slot to handle a click of the add button. |
129 Private slot to handle a click of the add button. |
133 </p> |
130 </p> |
|
131 |
134 <a NAME="AdBlockExceptionsDialog.on_deleteButton_clicked" ID="AdBlockExceptionsDialog.on_deleteButton_clicked"></a> |
132 <a NAME="AdBlockExceptionsDialog.on_deleteButton_clicked" ID="AdBlockExceptionsDialog.on_deleteButton_clicked"></a> |
135 <h4>AdBlockExceptionsDialog.on_deleteButton_clicked</h4> |
133 <h4>AdBlockExceptionsDialog.on_deleteButton_clicked</h4> |
136 <b>on_deleteButton_clicked</b>(<i></i>) |
134 <b>on_deleteButton_clicked</b>(<i></i>) |
137 |
|
138 <p> |
135 <p> |
139 Private slot handling a click of the delete button. |
136 Private slot handling a click of the delete button. |
140 </p> |
137 </p> |
|
138 |
141 <a NAME="AdBlockExceptionsDialog.on_hostEdit_textChanged" ID="AdBlockExceptionsDialog.on_hostEdit_textChanged"></a> |
139 <a NAME="AdBlockExceptionsDialog.on_hostEdit_textChanged" ID="AdBlockExceptionsDialog.on_hostEdit_textChanged"></a> |
142 <h4>AdBlockExceptionsDialog.on_hostEdit_textChanged</h4> |
140 <h4>AdBlockExceptionsDialog.on_hostEdit_textChanged</h4> |
143 <b>on_hostEdit_textChanged</b>(<i>txt</i>) |
141 <b>on_hostEdit_textChanged</b>(<i>txt</i>) |
144 |
|
145 <p> |
142 <p> |
146 Private slot to handle changes of the host edit. |
143 Private slot to handle changes of the host edit. |
147 </p> |
144 </p> |
|
145 |
148 <dl> |
146 <dl> |
149 |
147 |
150 <dt><i>txt</i> (str)</dt> |
148 <dt><i>txt</i> (str)</dt> |
151 <dd> |
149 <dd> |
152 text of the edit |
150 text of the edit |
153 </dd> |
151 </dd> |
154 </dl> |
152 </dl> |
155 <a NAME="AdBlockExceptionsDialog.on_hostList_itemSelectionChanged" ID="AdBlockExceptionsDialog.on_hostList_itemSelectionChanged"></a> |
153 <a NAME="AdBlockExceptionsDialog.on_hostList_itemSelectionChanged" ID="AdBlockExceptionsDialog.on_hostList_itemSelectionChanged"></a> |
156 <h4>AdBlockExceptionsDialog.on_hostList_itemSelectionChanged</h4> |
154 <h4>AdBlockExceptionsDialog.on_hostList_itemSelectionChanged</h4> |
157 <b>on_hostList_itemSelectionChanged</b>(<i></i>) |
155 <b>on_hostList_itemSelectionChanged</b>(<i></i>) |
158 |
|
159 <p> |
156 <p> |
160 Private slot handling a change of the number of selected items. |
157 Private slot handling a change of the number of selected items. |
161 </p> |
158 </p> |
|
159 |
162 <div align="right"><a href="#top">Up</a></div> |
160 <div align="right"><a href="#top">Up</a></div> |
163 <hr /> |
161 <hr /> |
164 </body></html> |
162 </body></html> |