76 <td>Private slot to populate the tab widget with subscriptions.</td> |
76 <td>Private slot to populate the tab widget with subscriptions.</td> |
77 </tr><tr> |
77 </tr><tr> |
78 <td><a href="#AdBlockDialog.__loadSubscriptions">__loadSubscriptions</a></td> |
78 <td><a href="#AdBlockDialog.__loadSubscriptions">__loadSubscriptions</a></td> |
79 <td>Private slot to load the AdBlock subscription rules.</td> |
79 <td>Private slot to load the AdBlock subscription rules.</td> |
80 </tr><tr> |
80 </tr><tr> |
|
81 <td><a href="#AdBlockDialog.__managerEnabledChanged">__managerEnabledChanged</a></td> |
|
82 <td>Private slot handling a change of the AdBlock manager enabled state.</td> |
|
83 </tr><tr> |
81 <td><a href="#AdBlockDialog.__removeCustomRule">__removeCustomRule</a></td> |
84 <td><a href="#AdBlockDialog.__removeCustomRule">__removeCustomRule</a></td> |
82 <td>Private slot to remove a custom AdBlock rule.</td> |
85 <td>Private slot to remove a custom AdBlock rule.</td> |
83 </tr><tr> |
86 </tr><tr> |
84 <td><a href="#AdBlockDialog.__removeSubscription">__removeSubscription</a></td> |
87 <td><a href="#AdBlockDialog.__removeSubscription">__removeSubscription</a></td> |
85 <td>Private slot to remove the selected subscription.</td> |
88 <td>Private slot to remove the selected subscription.</td> |
126 <h4>AdBlockDialog (Constructor)</h4> |
129 <h4>AdBlockDialog (Constructor)</h4> |
127 <b>AdBlockDialog</b>(<i>manager, parent=None</i>) |
130 <b>AdBlockDialog</b>(<i>manager, parent=None</i>) |
128 <p> |
131 <p> |
129 Constructor |
132 Constructor |
130 </p><dl> |
133 </p><dl> |
131 <dt><i>manager</i></dt> |
134 <dt><i>manager</i> (AdBlockManager)</dt> |
132 <dd> |
135 <dd> |
133 reference to the AdBlock manager (AdBlockManager) |
136 reference to the AdBlock manager |
134 </dd><dt><i>parent</i></dt> |
137 </dd><dt><i>parent</i> (QWidget)</dt> |
135 <dd> |
138 <dd> |
136 reference to the parent object (QWidget) |
139 reference to the parent object |
137 </dd> |
140 </dd> |
138 </dl><a NAME="AdBlockDialog.__aboutToShowActionMenu" ID="AdBlockDialog.__aboutToShowActionMenu"></a> |
141 </dl><a NAME="AdBlockDialog.__aboutToShowActionMenu" ID="AdBlockDialog.__aboutToShowActionMenu"></a> |
139 <h4>AdBlockDialog.__aboutToShowActionMenu</h4> |
142 <h4>AdBlockDialog.__aboutToShowActionMenu</h4> |
140 <b>__aboutToShowActionMenu</b>(<i></i>) |
143 <b>__aboutToShowActionMenu</b>(<i></i>) |
141 <p> |
144 <p> |
163 </p><a NAME="AdBlockDialog.__loadSubscriptions" ID="AdBlockDialog.__loadSubscriptions"></a> |
166 </p><a NAME="AdBlockDialog.__loadSubscriptions" ID="AdBlockDialog.__loadSubscriptions"></a> |
164 <h4>AdBlockDialog.__loadSubscriptions</h4> |
167 <h4>AdBlockDialog.__loadSubscriptions</h4> |
165 <b>__loadSubscriptions</b>(<i></i>) |
168 <b>__loadSubscriptions</b>(<i></i>) |
166 <p> |
169 <p> |
167 Private slot to load the AdBlock subscription rules. |
170 Private slot to load the AdBlock subscription rules. |
168 </p><a NAME="AdBlockDialog.__removeCustomRule" ID="AdBlockDialog.__removeCustomRule"></a> |
171 </p><a NAME="AdBlockDialog.__managerEnabledChanged" ID="AdBlockDialog.__managerEnabledChanged"></a> |
|
172 <h4>AdBlockDialog.__managerEnabledChanged</h4> |
|
173 <b>__managerEnabledChanged</b>(<i>enabled</i>) |
|
174 <p> |
|
175 Private slot handling a change of the AdBlock manager enabled state. |
|
176 </p><dl> |
|
177 <dt><i>enabled</i> (bool)</dt> |
|
178 <dd> |
|
179 flag indicating the enabled state |
|
180 </dd> |
|
181 </dl><a NAME="AdBlockDialog.__removeCustomRule" ID="AdBlockDialog.__removeCustomRule"></a> |
169 <h4>AdBlockDialog.__removeCustomRule</h4> |
182 <h4>AdBlockDialog.__removeCustomRule</h4> |
170 <b>__removeCustomRule</b>(<i></i>) |
183 <b>__removeCustomRule</b>(<i></i>) |
171 <p> |
184 <p> |
172 Private slot to remove a custom AdBlock rule. |
185 Private slot to remove a custom AdBlock rule. |
173 </p><a NAME="AdBlockDialog.__removeSubscription" ID="AdBlockDialog.__removeSubscription"></a> |
186 </p><a NAME="AdBlockDialog.__removeSubscription" ID="AdBlockDialog.__removeSubscription"></a> |
179 <h4>AdBlockDialog.__setSubscriptionEnabled</h4> |
192 <h4>AdBlockDialog.__setSubscriptionEnabled</h4> |
180 <b>__setSubscriptionEnabled</b>(<i>subscription, enable</i>) |
193 <b>__setSubscriptionEnabled</b>(<i>subscription, enable</i>) |
181 <p> |
194 <p> |
182 Private slot to set the enabled state of a subscription. |
195 Private slot to set the enabled state of a subscription. |
183 </p><dl> |
196 </p><dl> |
184 <dt><i>subscription</i></dt> |
197 <dt><i>subscription</i> (AdBlockSubscription)</dt> |
185 <dd> |
198 <dd> |
186 subscription to set the state for |
199 subscription to set the state for |
187 (AdBlockSubscription) |
200 </dd><dt><i>enable</i> (bool)</dt> |
188 </dd><dt><i>enable</i></dt> |
201 <dd> |
189 <dd> |
202 state to set to |
190 state to set to (boolean) |
|
191 </dd> |
203 </dd> |
192 </dl><a NAME="AdBlockDialog.__switchSubscriptionEnabled" ID="AdBlockDialog.__switchSubscriptionEnabled"></a> |
204 </dl><a NAME="AdBlockDialog.__switchSubscriptionEnabled" ID="AdBlockDialog.__switchSubscriptionEnabled"></a> |
193 <h4>AdBlockDialog.__switchSubscriptionEnabled</h4> |
205 <h4>AdBlockDialog.__switchSubscriptionEnabled</h4> |
194 <b>__switchSubscriptionEnabled</b>(<i></i>) |
206 <b>__switchSubscriptionEnabled</b>(<i></i>) |
195 <p> |
207 <p> |
208 <h4>AdBlockDialog.addCustomRule</h4> |
220 <h4>AdBlockDialog.addCustomRule</h4> |
209 <b>addCustomRule</b>(<i>filterRule</i>) |
221 <b>addCustomRule</b>(<i>filterRule</i>) |
210 <p> |
222 <p> |
211 Public slot to add a custom AdBlock rule. |
223 Public slot to add a custom AdBlock rule. |
212 </p><dl> |
224 </p><dl> |
213 <dt><i>filterRule</i></dt> |
225 <dt><i>filterRule</i> (string)</dt> |
214 <dd> |
226 <dd> |
215 filter to be added (string) |
227 filter to be added |
216 </dd> |
228 </dd> |
217 </dl><a NAME="AdBlockDialog.addSubscription" ID="AdBlockDialog.addSubscription"></a> |
229 </dl><a NAME="AdBlockDialog.addSubscription" ID="AdBlockDialog.addSubscription"></a> |
218 <h4>AdBlockDialog.addSubscription</h4> |
230 <h4>AdBlockDialog.addSubscription</h4> |
219 <b>addSubscription</b>(<i>subscription, refresh=True</i>) |
231 <b>addSubscription</b>(<i>subscription, refresh=True</i>) |
220 <p> |
232 <p> |
221 Public slot adding a subscription to the list. |
233 Public slot adding a subscription to the list. |
222 </p><dl> |
234 </p><dl> |
223 <dt><i>subscription</i></dt> |
235 <dt><i>subscription</i> (AdBlockSubscription)</dt> |
224 <dd> |
236 <dd> |
225 reference to the subscription to be |
237 reference to the subscription to be |
226 added (AdBlockSubscription) |
238 added |
227 </dd><dt><i>refresh</i></dt> |
239 </dd><dt><i>refresh</i> (bool)</dt> |
228 <dd> |
240 <dd> |
229 flag indicating to refresh the tree (boolean) |
241 flag indicating to refresh the tree |
230 </dd> |
242 </dd> |
231 </dl><a NAME="AdBlockDialog.on_adBlockGroup_toggled" ID="AdBlockDialog.on_adBlockGroup_toggled"></a> |
243 </dl><a NAME="AdBlockDialog.on_adBlockGroup_toggled" ID="AdBlockDialog.on_adBlockGroup_toggled"></a> |
232 <h4>AdBlockDialog.on_adBlockGroup_toggled</h4> |
244 <h4>AdBlockDialog.on_adBlockGroup_toggled</h4> |
233 <b>on_adBlockGroup_toggled</b>(<i>state</i>) |
245 <b>on_adBlockGroup_toggled</b>(<i>state</i>) |
234 <p> |
246 <p> |
235 Private slot handling the enabling/disabling of AdBlock. |
247 Private slot handling the enabling/disabling of AdBlock. |
236 </p><dl> |
248 </p><dl> |
237 <dt><i>state</i></dt> |
249 <dt><i>state</i> (bool)</dt> |
238 <dd> |
250 <dd> |
239 state of the toggle (boolean) |
251 state of the toggle |
240 </dd> |
252 </dd> |
241 </dl><a NAME="AdBlockDialog.on_searchEdit_textChanged" ID="AdBlockDialog.on_searchEdit_textChanged"></a> |
253 </dl><a NAME="AdBlockDialog.on_searchEdit_textChanged" ID="AdBlockDialog.on_searchEdit_textChanged"></a> |
242 <h4>AdBlockDialog.on_searchEdit_textChanged</h4> |
254 <h4>AdBlockDialog.on_searchEdit_textChanged</h4> |
243 <b>on_searchEdit_textChanged</b>(<i>filterRule</i>) |
255 <b>on_searchEdit_textChanged</b>(<i>filterRule</i>) |
244 <p> |
256 <p> |
245 Private slot to set a new filter on the current widget. |
257 Private slot to set a new filter on the current widget. |
246 </p><dl> |
258 </p><dl> |
247 <dt><i>filterRule</i></dt> |
259 <dt><i>filterRule</i> (str)</dt> |
248 <dd> |
260 <dd> |
249 filter to be set (string) |
261 filter to be set |
250 </dd> |
262 </dd> |
251 </dl><a NAME="AdBlockDialog.on_subscriptionsTabWidget_currentChanged" ID="AdBlockDialog.on_subscriptionsTabWidget_currentChanged"></a> |
263 </dl><a NAME="AdBlockDialog.on_subscriptionsTabWidget_currentChanged" ID="AdBlockDialog.on_subscriptionsTabWidget_currentChanged"></a> |
252 <h4>AdBlockDialog.on_subscriptionsTabWidget_currentChanged</h4> |
264 <h4>AdBlockDialog.on_subscriptionsTabWidget_currentChanged</h4> |
253 <b>on_subscriptionsTabWidget_currentChanged</b>(<i>index</i>) |
265 <b>on_subscriptionsTabWidget_currentChanged</b>(<i>index</i>) |
254 <p> |
266 <p> |
255 Private slot handling the selection of another tab. |
267 Private slot handling the selection of another tab. |
256 </p><dl> |
268 </p><dl> |
257 <dt><i>index</i></dt> |
269 <dt><i>index</i> (int)</dt> |
258 <dd> |
270 <dd> |
259 index of the new current tab (integer) |
271 index of the new current tab |
260 </dd> |
272 </dd> |
261 </dl><a NAME="AdBlockDialog.on_updateSpinBox_valueChanged" ID="AdBlockDialog.on_updateSpinBox_valueChanged"></a> |
273 </dl><a NAME="AdBlockDialog.on_updateSpinBox_valueChanged" ID="AdBlockDialog.on_updateSpinBox_valueChanged"></a> |
262 <h4>AdBlockDialog.on_updateSpinBox_valueChanged</h4> |
274 <h4>AdBlockDialog.on_updateSpinBox_valueChanged</h4> |
263 <b>on_updateSpinBox_valueChanged</b>(<i>value</i>) |
275 <b>on_updateSpinBox_valueChanged</b>(<i>value</i>) |
264 <p> |
276 <p> |
265 Private slot to handle changes of the update period. |
277 Private slot to handle changes of the update period. |
266 </p><dl> |
278 </p><dl> |
267 <dt><i>value</i></dt> |
279 <dt><i>value</i> (int)</dt> |
268 <dd> |
280 <dd> |
269 update period (integer) |
281 update period |
270 </dd> |
282 </dd> |
271 </dl><a NAME="AdBlockDialog.on_useLimitedEasyListCheckBox_clicked" ID="AdBlockDialog.on_useLimitedEasyListCheckBox_clicked"></a> |
283 </dl><a NAME="AdBlockDialog.on_useLimitedEasyListCheckBox_clicked" ID="AdBlockDialog.on_useLimitedEasyListCheckBox_clicked"></a> |
272 <h4>AdBlockDialog.on_useLimitedEasyListCheckBox_clicked</h4> |
284 <h4>AdBlockDialog.on_useLimitedEasyListCheckBox_clicked</h4> |
273 <b>on_useLimitedEasyListCheckBox_clicked</b>(<i>checked</i>) |
285 <b>on_useLimitedEasyListCheckBox_clicked</b>(<i>checked</i>) |
274 <p> |
286 <p> |