eric6/Documentation/Source/eric6.WebBrowser.FlashCookieManager.FlashCookieManagerDialog.html

changeset 8069
1176a936efa4
parent 8068
28457602b8f8
child 8070
6758ba4670e1
equal deleted inserted replaced
8068:28457602b8f8 8069:1176a936efa4
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.WebBrowser.FlashCookieManager.FlashCookieManagerDialog</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>eric6.WebBrowser.FlashCookieManager.FlashCookieManagerDialog</h1>
24
25 <p>
26 Module implementing a dialog to manage the flash cookies.
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="#FlashCookieManagerDialog">FlashCookieManagerDialog</a></td>
39 <td>Class implementing a dialog to manage the flash cookies.</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="FlashCookieManagerDialog" ID="FlashCookieManagerDialog"></a>
50 <h2>FlashCookieManagerDialog</h2>
51
52 <p>
53 Class implementing a dialog to manage the flash cookies.
54 </p>
55 <h3>Derived from</h3>
56 QDialog, Ui_FlashCookieManagerDialog
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="#FlashCookieManagerDialog.__init__">FlashCookieManagerDialog</a></td>
73 <td>Constructor</td>
74 </tr>
75 <tr>
76 <td><a href="#FlashCookieManagerDialog.__addBlacklist">__addBlacklist</a></td>
77 <td>Private method to add a cookie origin to the blacklist.</td>
78 </tr>
79 <tr>
80 <td><a href="#FlashCookieManagerDialog.__addWhitelist">__addWhitelist</a></td>
81 <td>Private method to add a cookie origin to the whitelist.</td>
82 </tr>
83 <tr>
84 <td><a href="#FlashCookieManagerDialog.__cookiesListContextMenuRequested">__cookiesListContextMenuRequested</a></td>
85 <td>Private slot handling the cookies list context menu.</td>
86 </tr>
87 <tr>
88 <td><a href="#FlashCookieManagerDialog.__refreshCookiesList">__refreshCookiesList</a></td>
89 <td>Private slot to refresh the cookies list.</td>
90 </tr>
91 <tr>
92 <td><a href="#FlashCookieManagerDialog.__refreshFilterLists">__refreshFilterLists</a></td>
93 <td>Private slot to refresh the white and black lists.</td>
94 </tr>
95 <tr>
96 <td><a href="#FlashCookieManagerDialog.closeEvent">closeEvent</a></td>
97 <td>Protected method to handle the close event.</td>
98 </tr>
99 <tr>
100 <td><a href="#FlashCookieManagerDialog.on_addBlackButton_clicked">on_addBlackButton_clicked</a></td>
101 <td>Private slot to add a server to the blacklist.</td>
102 </tr>
103 <tr>
104 <td><a href="#FlashCookieManagerDialog.on_addWhiteButton_clicked">on_addWhiteButton_clicked</a></td>
105 <td>Private slot to add a server to the whitelist.</td>
106 </tr>
107 <tr>
108 <td><a href="#FlashCookieManagerDialog.on_blackList_itemSelectionChanged">on_blackList_itemSelectionChanged</a></td>
109 <td>Private slot handling the selection of items in the blacklist.</td>
110 </tr>
111 <tr>
112 <td><a href="#FlashCookieManagerDialog.on_cookiesList_currentItemChanged">on_cookiesList_currentItemChanged</a></td>
113 <td>Private slot handling a change of the current cookie item.</td>
114 </tr>
115 <tr>
116 <td><a href="#FlashCookieManagerDialog.on_filterEdit_textChanged">on_filterEdit_textChanged</a></td>
117 <td>Private slot to filter the cookies list.</td>
118 </tr>
119 <tr>
120 <td><a href="#FlashCookieManagerDialog.on_reloadButton_clicked">on_reloadButton_clicked</a></td>
121 <td>Private slot handling a press of the reload button.</td>
122 </tr>
123 <tr>
124 <td><a href="#FlashCookieManagerDialog.on_removeAllButton_clicked">on_removeAllButton_clicked</a></td>
125 <td>Private slot to remove all cookies.</td>
126 </tr>
127 <tr>
128 <td><a href="#FlashCookieManagerDialog.on_removeBlackButton_clicked">on_removeBlackButton_clicked</a></td>
129 <td>Private slot to remove a server from the blacklist.</td>
130 </tr>
131 <tr>
132 <td><a href="#FlashCookieManagerDialog.on_removeButton_clicked">on_removeButton_clicked</a></td>
133 <td>Private slot to remove one cookie or a cookie group.</td>
134 </tr>
135 <tr>
136 <td><a href="#FlashCookieManagerDialog.on_removeWhiteButton_clicked">on_removeWhiteButton_clicked</a></td>
137 <td>Private slot to remove a server from the whitelist.</td>
138 </tr>
139 <tr>
140 <td><a href="#FlashCookieManagerDialog.on_whiteList_itemSelectionChanged">on_whiteList_itemSelectionChanged</a></td>
141 <td>Private slot handling the selection of items in the whitelist.</td>
142 </tr>
143 <tr>
144 <td><a href="#FlashCookieManagerDialog.refreshView">refreshView</a></td>
145 <td>Public method to refresh the dialog view.</td>
146 </tr>
147 <tr>
148 <td><a href="#FlashCookieManagerDialog.showPage">showPage</a></td>
149 <td>Public method to display a given page.</td>
150 </tr>
151 </table>
152 <h3>Static Methods</h3>
153
154 <table>
155 <tr><td>None</td></tr>
156 </table>
157
158 <a NAME="FlashCookieManagerDialog.__init__" ID="FlashCookieManagerDialog.__init__"></a>
159 <h4>FlashCookieManagerDialog (Constructor)</h4>
160 <b>FlashCookieManagerDialog</b>(<i>manager, parent=None</i>)
161
162 <p>
163 Constructor
164 </p>
165 <dl>
166
167 <dt><i>manager</i> (FlashCookieManager)</dt>
168 <dd>
169 reference to the Flash cookie manager object
170 </dd>
171 <dt><i>parent</i> (QWidget)</dt>
172 <dd>
173 reference to the parent widget
174 </dd>
175 </dl>
176 <a NAME="FlashCookieManagerDialog.__addBlacklist" ID="FlashCookieManagerDialog.__addBlacklist"></a>
177 <h4>FlashCookieManagerDialog.__addBlacklist</h4>
178 <b>__addBlacklist</b>(<i>origin</i>)
179
180 <p>
181 Private method to add a cookie origin to the blacklist.
182 </p>
183 <dl>
184
185 <dt><i>origin</i> (str)</dt>
186 <dd>
187 origin to be added to the list
188 </dd>
189 </dl>
190 <a NAME="FlashCookieManagerDialog.__addWhitelist" ID="FlashCookieManagerDialog.__addWhitelist"></a>
191 <h4>FlashCookieManagerDialog.__addWhitelist</h4>
192 <b>__addWhitelist</b>(<i>origin</i>)
193
194 <p>
195 Private method to add a cookie origin to the whitelist.
196 </p>
197 <dl>
198
199 <dt><i>origin</i> (str)</dt>
200 <dd>
201 origin to be added to the list
202 </dd>
203 </dl>
204 <a NAME="FlashCookieManagerDialog.__cookiesListContextMenuRequested" ID="FlashCookieManagerDialog.__cookiesListContextMenuRequested"></a>
205 <h4>FlashCookieManagerDialog.__cookiesListContextMenuRequested</h4>
206 <b>__cookiesListContextMenuRequested</b>(<i>pos</i>)
207
208 <p>
209 Private slot handling the cookies list context menu.
210 </p>
211 <dl>
212
213 <dt><i>pos</i> (QPoint)</dt>
214 <dd>
215 position to show the menu at
216 </dd>
217 </dl>
218 <a NAME="FlashCookieManagerDialog.__refreshCookiesList" ID="FlashCookieManagerDialog.__refreshCookiesList"></a>
219 <h4>FlashCookieManagerDialog.__refreshCookiesList</h4>
220 <b>__refreshCookiesList</b>(<i></i>)
221
222 <p>
223 Private slot to refresh the cookies list.
224 </p>
225 <a NAME="FlashCookieManagerDialog.__refreshFilterLists" ID="FlashCookieManagerDialog.__refreshFilterLists"></a>
226 <h4>FlashCookieManagerDialog.__refreshFilterLists</h4>
227 <b>__refreshFilterLists</b>(<i></i>)
228
229 <p>
230 Private slot to refresh the white and black lists.
231 </p>
232 <a NAME="FlashCookieManagerDialog.closeEvent" ID="FlashCookieManagerDialog.closeEvent"></a>
233 <h4>FlashCookieManagerDialog.closeEvent</h4>
234 <b>closeEvent</b>(<i>evt</i>)
235
236 <p>
237 Protected method to handle the close event.
238 </p>
239 <dl>
240
241 <dt><i>evt</i> (QCloseEvent)</dt>
242 <dd>
243 reference to the close event
244 </dd>
245 </dl>
246 <a NAME="FlashCookieManagerDialog.on_addBlackButton_clicked" ID="FlashCookieManagerDialog.on_addBlackButton_clicked"></a>
247 <h4>FlashCookieManagerDialog.on_addBlackButton_clicked</h4>
248 <b>on_addBlackButton_clicked</b>(<i></i>)
249
250 <p>
251 Private slot to add a server to the blacklist.
252 </p>
253 <a NAME="FlashCookieManagerDialog.on_addWhiteButton_clicked" ID="FlashCookieManagerDialog.on_addWhiteButton_clicked"></a>
254 <h4>FlashCookieManagerDialog.on_addWhiteButton_clicked</h4>
255 <b>on_addWhiteButton_clicked</b>(<i></i>)
256
257 <p>
258 Private slot to add a server to the whitelist.
259 </p>
260 <a NAME="FlashCookieManagerDialog.on_blackList_itemSelectionChanged" ID="FlashCookieManagerDialog.on_blackList_itemSelectionChanged"></a>
261 <h4>FlashCookieManagerDialog.on_blackList_itemSelectionChanged</h4>
262 <b>on_blackList_itemSelectionChanged</b>(<i></i>)
263
264 <p>
265 Private slot handling the selection of items in the blacklist.
266 </p>
267 <a NAME="FlashCookieManagerDialog.on_cookiesList_currentItemChanged" ID="FlashCookieManagerDialog.on_cookiesList_currentItemChanged"></a>
268 <h4>FlashCookieManagerDialog.on_cookiesList_currentItemChanged</h4>
269 <b>on_cookiesList_currentItemChanged</b>(<i>current, previous</i>)
270
271 <p>
272 Private slot handling a change of the current cookie item.
273 </p>
274 <dl>
275
276 <dt><i>current</i> (QTreeWidgetItem)</dt>
277 <dd>
278 reference to the current item
279 </dd>
280 <dt><i>previous</i> (QTreeWidgetItem)</dt>
281 <dd>
282 reference to the previous item
283 </dd>
284 </dl>
285 <a NAME="FlashCookieManagerDialog.on_filterEdit_textChanged" ID="FlashCookieManagerDialog.on_filterEdit_textChanged"></a>
286 <h4>FlashCookieManagerDialog.on_filterEdit_textChanged</h4>
287 <b>on_filterEdit_textChanged</b>(<i>filterStr</i>)
288
289 <p>
290 Private slot to filter the cookies list.
291 </p>
292 <dl>
293
294 <dt><i>filterStr</i> (str)</dt>
295 <dd>
296 filter text
297 </dd>
298 </dl>
299 <a NAME="FlashCookieManagerDialog.on_reloadButton_clicked" ID="FlashCookieManagerDialog.on_reloadButton_clicked"></a>
300 <h4>FlashCookieManagerDialog.on_reloadButton_clicked</h4>
301 <b>on_reloadButton_clicked</b>(<i></i>)
302
303 <p>
304 Private slot handling a press of the reload button.
305 </p>
306 <a NAME="FlashCookieManagerDialog.on_removeAllButton_clicked" ID="FlashCookieManagerDialog.on_removeAllButton_clicked"></a>
307 <h4>FlashCookieManagerDialog.on_removeAllButton_clicked</h4>
308 <b>on_removeAllButton_clicked</b>(<i></i>)
309
310 <p>
311 Private slot to remove all cookies.
312 </p>
313 <a NAME="FlashCookieManagerDialog.on_removeBlackButton_clicked" ID="FlashCookieManagerDialog.on_removeBlackButton_clicked"></a>
314 <h4>FlashCookieManagerDialog.on_removeBlackButton_clicked</h4>
315 <b>on_removeBlackButton_clicked</b>(<i></i>)
316
317 <p>
318 Private slot to remove a server from the blacklist.
319 </p>
320 <a NAME="FlashCookieManagerDialog.on_removeButton_clicked" ID="FlashCookieManagerDialog.on_removeButton_clicked"></a>
321 <h4>FlashCookieManagerDialog.on_removeButton_clicked</h4>
322 <b>on_removeButton_clicked</b>(<i></i>)
323
324 <p>
325 Private slot to remove one cookie or a cookie group.
326 </p>
327 <a NAME="FlashCookieManagerDialog.on_removeWhiteButton_clicked" ID="FlashCookieManagerDialog.on_removeWhiteButton_clicked"></a>
328 <h4>FlashCookieManagerDialog.on_removeWhiteButton_clicked</h4>
329 <b>on_removeWhiteButton_clicked</b>(<i></i>)
330
331 <p>
332 Private slot to remove a server from the whitelist.
333 </p>
334 <a NAME="FlashCookieManagerDialog.on_whiteList_itemSelectionChanged" ID="FlashCookieManagerDialog.on_whiteList_itemSelectionChanged"></a>
335 <h4>FlashCookieManagerDialog.on_whiteList_itemSelectionChanged</h4>
336 <b>on_whiteList_itemSelectionChanged</b>(<i></i>)
337
338 <p>
339 Private slot handling the selection of items in the whitelist.
340 </p>
341 <a NAME="FlashCookieManagerDialog.refreshView" ID="FlashCookieManagerDialog.refreshView"></a>
342 <h4>FlashCookieManagerDialog.refreshView</h4>
343 <b>refreshView</b>(<i>forceReload=False</i>)
344
345 <p>
346 Public method to refresh the dialog view.
347 </p>
348 <dl>
349
350 <dt><i>forceReload</i> (bool)</dt>
351 <dd>
352 flag indicating to reload the cookies
353 </dd>
354 </dl>
355 <a NAME="FlashCookieManagerDialog.showPage" ID="FlashCookieManagerDialog.showPage"></a>
356 <h4>FlashCookieManagerDialog.showPage</h4>
357 <b>showPage</b>(<i>index</i>)
358
359 <p>
360 Public method to display a given page.
361 </p>
362 <dl>
363
364 <dt><i>index</i> (int)</dt>
365 <dd>
366 index of the page to be shown
367 </dd>
368 </dl>
369 <div align="right"><a href="#top">Up</a></div>
370 <hr />
371 </body></html>

eric ide

mercurial