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