|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.AdBlock.AdBlockExceptionsDialog</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> |
|
22 <a NAME="top" ID="top"></a> |
|
23 <h1>eric7.WebBrowser.AdBlock.AdBlockExceptionsDialog</h1> |
|
24 |
|
25 <p> |
|
26 Module implementing a dialog to configure the AdBlock exceptions. |
|
27 </p> |
|
28 <h3>Global Attributes</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <h3>Classes</h3> |
|
34 |
|
35 <table> |
|
36 |
|
37 <tr> |
|
38 <td><a href="#AdBlockExceptionsDialog">AdBlockExceptionsDialog</a></td> |
|
39 <td>Class implementing a dialog to configure the AdBlock exceptions.</td> |
|
40 </tr> |
|
41 </table> |
|
42 <h3>Functions</h3> |
|
43 |
|
44 <table> |
|
45 <tr><td>None</td></tr> |
|
46 </table> |
|
47 <hr /> |
|
48 <hr /> |
|
49 <a NAME="AdBlockExceptionsDialog" ID="AdBlockExceptionsDialog"></a> |
|
50 <h2>AdBlockExceptionsDialog</h2> |
|
51 |
|
52 <p> |
|
53 Class implementing a dialog to configure the AdBlock exceptions. |
|
54 </p> |
|
55 <h3>Derived from</h3> |
|
56 QDialog, Ui_AdBlockExceptionsDialog |
|
57 <h3>Class Attributes</h3> |
|
58 |
|
59 <table> |
|
60 <tr><td>None</td></tr> |
|
61 </table> |
|
62 <h3>Class Methods</h3> |
|
63 |
|
64 <table> |
|
65 <tr><td>None</td></tr> |
|
66 </table> |
|
67 <h3>Methods</h3> |
|
68 |
|
69 <table> |
|
70 |
|
71 <tr> |
|
72 <td><a href="#AdBlockExceptionsDialog.__init__">AdBlockExceptionsDialog</a></td> |
|
73 <td>Constructor</td> |
|
74 </tr> |
|
75 <tr> |
|
76 <td><a href="#AdBlockExceptionsDialog.accept">accept</a></td> |
|
77 <td>Public slot handling the acceptance of the dialog.</td> |
|
78 </tr> |
|
79 <tr> |
|
80 <td><a href="#AdBlockExceptionsDialog.load">load</a></td> |
|
81 <td>Public slot to load the list of excepted hosts.</td> |
|
82 </tr> |
|
83 <tr> |
|
84 <td><a href="#AdBlockExceptionsDialog.on_addButton_clicked">on_addButton_clicked</a></td> |
|
85 <td>Private slot to handle a click of the add button.</td> |
|
86 </tr> |
|
87 <tr> |
|
88 <td><a href="#AdBlockExceptionsDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td> |
|
89 <td>Private slot handling a click of the delete button.</td> |
|
90 </tr> |
|
91 <tr> |
|
92 <td><a href="#AdBlockExceptionsDialog.on_hostEdit_textChanged">on_hostEdit_textChanged</a></td> |
|
93 <td>Private slot to handle changes of the host edit.</td> |
|
94 </tr> |
|
95 <tr> |
|
96 <td><a href="#AdBlockExceptionsDialog.on_hostList_itemSelectionChanged">on_hostList_itemSelectionChanged</a></td> |
|
97 <td>Private slot handling a change of the number of selected items.</td> |
|
98 </tr> |
|
99 </table> |
|
100 <h3>Static Methods</h3> |
|
101 |
|
102 <table> |
|
103 <tr><td>None</td></tr> |
|
104 </table> |
|
105 |
|
106 <a NAME="AdBlockExceptionsDialog.__init__" ID="AdBlockExceptionsDialog.__init__"></a> |
|
107 <h4>AdBlockExceptionsDialog (Constructor)</h4> |
|
108 <b>AdBlockExceptionsDialog</b>(<i>parent=None</i>) |
|
109 |
|
110 <p> |
|
111 Constructor |
|
112 </p> |
|
113 <dl> |
|
114 |
|
115 <dt><i>parent</i> (QWidget)</dt> |
|
116 <dd> |
|
117 reference to the parent widget |
|
118 </dd> |
|
119 </dl> |
|
120 <a NAME="AdBlockExceptionsDialog.accept" ID="AdBlockExceptionsDialog.accept"></a> |
|
121 <h4>AdBlockExceptionsDialog.accept</h4> |
|
122 <b>accept</b>(<i></i>) |
|
123 |
|
124 <p> |
|
125 Public slot handling the acceptance of the dialog. |
|
126 </p> |
|
127 <a NAME="AdBlockExceptionsDialog.load" ID="AdBlockExceptionsDialog.load"></a> |
|
128 <h4>AdBlockExceptionsDialog.load</h4> |
|
129 <b>load</b>(<i>hosts</i>) |
|
130 |
|
131 <p> |
|
132 Public slot to load the list of excepted hosts. |
|
133 </p> |
|
134 <dl> |
|
135 |
|
136 <dt><i>hosts</i> (list of str)</dt> |
|
137 <dd> |
|
138 list of excepted hosts |
|
139 </dd> |
|
140 </dl> |
|
141 <a NAME="AdBlockExceptionsDialog.on_addButton_clicked" ID="AdBlockExceptionsDialog.on_addButton_clicked"></a> |
|
142 <h4>AdBlockExceptionsDialog.on_addButton_clicked</h4> |
|
143 <b>on_addButton_clicked</b>(<i></i>) |
|
144 |
|
145 <p> |
|
146 Private slot to handle a click of the add button. |
|
147 </p> |
|
148 <a NAME="AdBlockExceptionsDialog.on_deleteButton_clicked" ID="AdBlockExceptionsDialog.on_deleteButton_clicked"></a> |
|
149 <h4>AdBlockExceptionsDialog.on_deleteButton_clicked</h4> |
|
150 <b>on_deleteButton_clicked</b>(<i></i>) |
|
151 |
|
152 <p> |
|
153 Private slot handling a click of the delete button. |
|
154 </p> |
|
155 <a NAME="AdBlockExceptionsDialog.on_hostEdit_textChanged" ID="AdBlockExceptionsDialog.on_hostEdit_textChanged"></a> |
|
156 <h4>AdBlockExceptionsDialog.on_hostEdit_textChanged</h4> |
|
157 <b>on_hostEdit_textChanged</b>(<i>txt</i>) |
|
158 |
|
159 <p> |
|
160 Private slot to handle changes of the host edit. |
|
161 </p> |
|
162 <dl> |
|
163 |
|
164 <dt><i>txt</i> (str)</dt> |
|
165 <dd> |
|
166 text of the edit |
|
167 </dd> |
|
168 </dl> |
|
169 <a NAME="AdBlockExceptionsDialog.on_hostList_itemSelectionChanged" ID="AdBlockExceptionsDialog.on_hostList_itemSelectionChanged"></a> |
|
170 <h4>AdBlockExceptionsDialog.on_hostList_itemSelectionChanged</h4> |
|
171 <b>on_hostList_itemSelectionChanged</b>(<i></i>) |
|
172 |
|
173 <p> |
|
174 Private slot handling a change of the number of selected items. |
|
175 </p> |
|
176 <div align="right"><a href="#top">Up</a></div> |
|
177 <hr /> |
|
178 </body></html> |