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

changeset 4918
71caf42a13d8
child 5606
da305d172769
equal deleted inserted replaced
4917:682750cc7bd5 4918:71caf42a13d8
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><a NAME="top" ID="top"></a>
22 <h1>eric6.WebBrowser.FlashCookieManager.FlashCookieManagerDialog</h1>
23 <p>
24 Module implementing a dialog to manage the flash cookies.
25 </p>
26 <h3>Global Attributes</h3>
27 <table>
28 <tr><td>None</td></tr>
29 </table>
30 <h3>Classes</h3>
31 <table>
32 <tr>
33 <td><a href="#FlashCookieManagerDialog">FlashCookieManagerDialog</a></td>
34 <td>Class implementing a dialog to manage the flash cookies.</td>
35 </tr>
36 </table>
37 <h3>Functions</h3>
38 <table>
39 <tr><td>None</td></tr>
40 </table>
41 <hr /><hr />
42 <a NAME="FlashCookieManagerDialog" ID="FlashCookieManagerDialog"></a>
43 <h2>FlashCookieManagerDialog</h2>
44 <p>
45 Class implementing a dialog to manage the flash cookies.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_FlashCookieManagerDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>None</td></tr>
52 </table>
53 <h3>Class Methods</h3>
54 <table>
55 <tr><td>None</td></tr>
56 </table>
57 <h3>Methods</h3>
58 <table>
59 <tr>
60 <td><a href="#FlashCookieManagerDialog.__init__">FlashCookieManagerDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#FlashCookieManagerDialog.__addBlacklist">__addBlacklist</a></td>
64 <td>Private method to add a cookie origin to the blacklist.</td>
65 </tr><tr>
66 <td><a href="#FlashCookieManagerDialog.__addWhitelist">__addWhitelist</a></td>
67 <td>Private method to add a cookie origin to the whitelist.</td>
68 </tr><tr>
69 <td><a href="#FlashCookieManagerDialog.__cookiesListContextMenuRequested">__cookiesListContextMenuRequested</a></td>
70 <td>Private slot handling the cookies list context menu.</td>
71 </tr><tr>
72 <td><a href="#FlashCookieManagerDialog.__refreshCookiesList">__refreshCookiesList</a></td>
73 <td>Private slot to refresh the cookies list.</td>
74 </tr><tr>
75 <td><a href="#FlashCookieManagerDialog.__refreshFilterLists">__refreshFilterLists</a></td>
76 <td>Private slot to refresh the white and black lists.</td>
77 </tr><tr>
78 <td><a href="#FlashCookieManagerDialog.closeEvent">closeEvent</a></td>
79 <td>Protected method to handle the close event.</td>
80 </tr><tr>
81 <td><a href="#FlashCookieManagerDialog.on_addBlackButton_clicked">on_addBlackButton_clicked</a></td>
82 <td>Private slot to add a server to the blacklist.</td>
83 </tr><tr>
84 <td><a href="#FlashCookieManagerDialog.on_addWhiteButton_clicked">on_addWhiteButton_clicked</a></td>
85 <td>Private slot to add a server to the whitelist.</td>
86 </tr><tr>
87 <td><a href="#FlashCookieManagerDialog.on_blackList_itemSelectionChanged">on_blackList_itemSelectionChanged</a></td>
88 <td>Private slot handling the selection of items in the blacklist.</td>
89 </tr><tr>
90 <td><a href="#FlashCookieManagerDialog.on_cookiesList_currentItemChanged">on_cookiesList_currentItemChanged</a></td>
91 <td>Private slot handling a change of the current cookie item.</td>
92 </tr><tr>
93 <td><a href="#FlashCookieManagerDialog.on_filterEdit_textChanged">on_filterEdit_textChanged</a></td>
94 <td>Private slot to filter the cookies list.</td>
95 </tr><tr>
96 <td><a href="#FlashCookieManagerDialog.on_reloadButton_clicked">on_reloadButton_clicked</a></td>
97 <td>Private slot handling a press of the reload button.</td>
98 </tr><tr>
99 <td><a href="#FlashCookieManagerDialog.on_removeAllButton_clicked">on_removeAllButton_clicked</a></td>
100 <td>Private slot to remove all cookies.</td>
101 </tr><tr>
102 <td><a href="#FlashCookieManagerDialog.on_removeBlackButton_clicked">on_removeBlackButton_clicked</a></td>
103 <td>Private slot to remove a server from the blacklist.</td>
104 </tr><tr>
105 <td><a href="#FlashCookieManagerDialog.on_removeButton_clicked">on_removeButton_clicked</a></td>
106 <td>Private slot to remove one cookie or a cookie group.</td>
107 </tr><tr>
108 <td><a href="#FlashCookieManagerDialog.on_removeWhiteButton_clicked">on_removeWhiteButton_clicked</a></td>
109 <td>Private slot to remove a server from the whitelist.</td>
110 </tr><tr>
111 <td><a href="#FlashCookieManagerDialog.on_whiteList_itemSelectionChanged">on_whiteList_itemSelectionChanged</a></td>
112 <td>Private slot handling the selection of items in the whitelist.</td>
113 </tr><tr>
114 <td><a href="#FlashCookieManagerDialog.refreshView">refreshView</a></td>
115 <td>Public method to refresh the dialog view.</td>
116 </tr><tr>
117 <td><a href="#FlashCookieManagerDialog.showPage">showPage</a></td>
118 <td>Public method to display a given page.</td>
119 </tr>
120 </table>
121 <h3>Static Methods</h3>
122 <table>
123 <tr><td>None</td></tr>
124 </table>
125 <a NAME="FlashCookieManagerDialog.__init__" ID="FlashCookieManagerDialog.__init__"></a>
126 <h4>FlashCookieManagerDialog (Constructor)</h4>
127 <b>FlashCookieManagerDialog</b>(<i>manager, parent=None</i>)
128 <p>
129 Constructor
130 </p><dl>
131 <dt><i>manager</i> (FlashCookieManager)</dt>
132 <dd>
133 reference to the Flash cookie manager object
134 </dd><dt><i>parent</i> (QWidget)</dt>
135 <dd>
136 reference to the parent widget
137 </dd>
138 </dl><a NAME="FlashCookieManagerDialog.__addBlacklist" ID="FlashCookieManagerDialog.__addBlacklist"></a>
139 <h4>FlashCookieManagerDialog.__addBlacklist</h4>
140 <b>__addBlacklist</b>(<i>origin</i>)
141 <p>
142 Private method to add a cookie origin to the blacklist.
143 </p><dl>
144 <dt><i>origin</i> (str)</dt>
145 <dd>
146 origin to be added to the list
147 </dd>
148 </dl><a NAME="FlashCookieManagerDialog.__addWhitelist" ID="FlashCookieManagerDialog.__addWhitelist"></a>
149 <h4>FlashCookieManagerDialog.__addWhitelist</h4>
150 <b>__addWhitelist</b>(<i>origin</i>)
151 <p>
152 Private method to add a cookie origin to the whitelist.
153 </p><dl>
154 <dt><i>origin</i> (str)</dt>
155 <dd>
156 origin to be added to the list
157 </dd>
158 </dl><a NAME="FlashCookieManagerDialog.__cookiesListContextMenuRequested" ID="FlashCookieManagerDialog.__cookiesListContextMenuRequested"></a>
159 <h4>FlashCookieManagerDialog.__cookiesListContextMenuRequested</h4>
160 <b>__cookiesListContextMenuRequested</b>(<i>pos</i>)
161 <p>
162 Private slot handling the cookies list context menu.
163 </p><dl>
164 <dt><i>pos</i> (QPoint)</dt>
165 <dd>
166 position to show the menu at
167 </dd>
168 </dl><a NAME="FlashCookieManagerDialog.__refreshCookiesList" ID="FlashCookieManagerDialog.__refreshCookiesList"></a>
169 <h4>FlashCookieManagerDialog.__refreshCookiesList</h4>
170 <b>__refreshCookiesList</b>(<i></i>)
171 <p>
172 Private slot to refresh the cookies list.
173 </p><a NAME="FlashCookieManagerDialog.__refreshFilterLists" ID="FlashCookieManagerDialog.__refreshFilterLists"></a>
174 <h4>FlashCookieManagerDialog.__refreshFilterLists</h4>
175 <b>__refreshFilterLists</b>(<i></i>)
176 <p>
177 Private slot to refresh the white and black lists.
178 </p><a NAME="FlashCookieManagerDialog.closeEvent" ID="FlashCookieManagerDialog.closeEvent"></a>
179 <h4>FlashCookieManagerDialog.closeEvent</h4>
180 <b>closeEvent</b>(<i>evt</i>)
181 <p>
182 Protected method to handle the close event.
183 </p><dl>
184 <dt><i>evt</i> (QCloseEvent)</dt>
185 <dd>
186 reference to the close event
187 </dd>
188 </dl><a NAME="FlashCookieManagerDialog.on_addBlackButton_clicked" ID="FlashCookieManagerDialog.on_addBlackButton_clicked"></a>
189 <h4>FlashCookieManagerDialog.on_addBlackButton_clicked</h4>
190 <b>on_addBlackButton_clicked</b>(<i></i>)
191 <p>
192 Private slot to add a server to the blacklist.
193 </p><a NAME="FlashCookieManagerDialog.on_addWhiteButton_clicked" ID="FlashCookieManagerDialog.on_addWhiteButton_clicked"></a>
194 <h4>FlashCookieManagerDialog.on_addWhiteButton_clicked</h4>
195 <b>on_addWhiteButton_clicked</b>(<i></i>)
196 <p>
197 Private slot to add a server to the whitelist.
198 </p><a NAME="FlashCookieManagerDialog.on_blackList_itemSelectionChanged" ID="FlashCookieManagerDialog.on_blackList_itemSelectionChanged"></a>
199 <h4>FlashCookieManagerDialog.on_blackList_itemSelectionChanged</h4>
200 <b>on_blackList_itemSelectionChanged</b>(<i></i>)
201 <p>
202 Private slot handling the selection of items in the blacklist.
203 </p><a NAME="FlashCookieManagerDialog.on_cookiesList_currentItemChanged" ID="FlashCookieManagerDialog.on_cookiesList_currentItemChanged"></a>
204 <h4>FlashCookieManagerDialog.on_cookiesList_currentItemChanged</h4>
205 <b>on_cookiesList_currentItemChanged</b>(<i>current, previous</i>)
206 <p>
207 Private slot handling a change of the current cookie item.
208 </p><dl>
209 <dt><i>current</i> (QTreeWidgetItem)</dt>
210 <dd>
211 reference to the current item
212 </dd><dt><i>previous</i> (QTreeWidgetItem)</dt>
213 <dd>
214 reference to the previous item
215 </dd>
216 </dl><a NAME="FlashCookieManagerDialog.on_filterEdit_textChanged" ID="FlashCookieManagerDialog.on_filterEdit_textChanged"></a>
217 <h4>FlashCookieManagerDialog.on_filterEdit_textChanged</h4>
218 <b>on_filterEdit_textChanged</b>(<i>filter</i>)
219 <p>
220 Private slot to filter the cookies list.
221 </p><dl>
222 <dt><i>filter</i> (str)</dt>
223 <dd>
224 filter text
225 </dd>
226 </dl><a NAME="FlashCookieManagerDialog.on_reloadButton_clicked" ID="FlashCookieManagerDialog.on_reloadButton_clicked"></a>
227 <h4>FlashCookieManagerDialog.on_reloadButton_clicked</h4>
228 <b>on_reloadButton_clicked</b>(<i></i>)
229 <p>
230 Private slot handling a press of the reload button.
231 </p><a NAME="FlashCookieManagerDialog.on_removeAllButton_clicked" ID="FlashCookieManagerDialog.on_removeAllButton_clicked"></a>
232 <h4>FlashCookieManagerDialog.on_removeAllButton_clicked</h4>
233 <b>on_removeAllButton_clicked</b>(<i></i>)
234 <p>
235 Private slot to remove all cookies.
236 </p><a NAME="FlashCookieManagerDialog.on_removeBlackButton_clicked" ID="FlashCookieManagerDialog.on_removeBlackButton_clicked"></a>
237 <h4>FlashCookieManagerDialog.on_removeBlackButton_clicked</h4>
238 <b>on_removeBlackButton_clicked</b>(<i></i>)
239 <p>
240 Private slot to remove a server from the blacklist.
241 </p><a NAME="FlashCookieManagerDialog.on_removeButton_clicked" ID="FlashCookieManagerDialog.on_removeButton_clicked"></a>
242 <h4>FlashCookieManagerDialog.on_removeButton_clicked</h4>
243 <b>on_removeButton_clicked</b>(<i></i>)
244 <p>
245 Private slot to remove one cookie or a cookie group.
246 </p><a NAME="FlashCookieManagerDialog.on_removeWhiteButton_clicked" ID="FlashCookieManagerDialog.on_removeWhiteButton_clicked"></a>
247 <h4>FlashCookieManagerDialog.on_removeWhiteButton_clicked</h4>
248 <b>on_removeWhiteButton_clicked</b>(<i></i>)
249 <p>
250 Private slot to remove a server from the whitelist.
251 </p><a NAME="FlashCookieManagerDialog.on_whiteList_itemSelectionChanged" ID="FlashCookieManagerDialog.on_whiteList_itemSelectionChanged"></a>
252 <h4>FlashCookieManagerDialog.on_whiteList_itemSelectionChanged</h4>
253 <b>on_whiteList_itemSelectionChanged</b>(<i></i>)
254 <p>
255 Private slot handling the selection of items in the whitelist.
256 </p><a NAME="FlashCookieManagerDialog.refreshView" ID="FlashCookieManagerDialog.refreshView"></a>
257 <h4>FlashCookieManagerDialog.refreshView</h4>
258 <b>refreshView</b>(<i>forceReload=False</i>)
259 <p>
260 Public method to refresh the dialog view.
261 </p><dl>
262 <dt><i>forceReload</i> (bool)</dt>
263 <dd>
264 flag indicating to reload the cookies
265 </dd>
266 </dl><a NAME="FlashCookieManagerDialog.showPage" ID="FlashCookieManagerDialog.showPage"></a>
267 <h4>FlashCookieManagerDialog.showPage</h4>
268 <b>showPage</b>(<i>index</i>)
269 <p>
270 Public method to display a given page.
271 </p><dl>
272 <dt><i>index</i> (int)</dt>
273 <dd>
274 index of the page to be shown
275 </dd>
276 </dl>
277 <div align="right"><a href="#top">Up</a></div>
278 <hr />
279 </body></html>

eric ide

mercurial