|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric6.Helpviewer.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.Helpviewer.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><a NAME="FlashCookieManagerDialog.__addWhitelist" ID="FlashCookieManagerDialog.__addWhitelist"></a> |
|
144 <h4>FlashCookieManagerDialog.__addWhitelist</h4> |
|
145 <b>__addWhitelist</b>(<i>origin</i>) |
|
146 <p> |
|
147 Private method to add a cookie origin to the whitelist. |
|
148 </p><a NAME="FlashCookieManagerDialog.__cookiesListContextMenuRequested" ID="FlashCookieManagerDialog.__cookiesListContextMenuRequested"></a> |
|
149 <h4>FlashCookieManagerDialog.__cookiesListContextMenuRequested</h4> |
|
150 <b>__cookiesListContextMenuRequested</b>(<i>pos</i>) |
|
151 <p> |
|
152 Private slot handling the cookies list context menu. |
|
153 </p><dl> |
|
154 <dt><i>pos</i> (QPoint)</dt> |
|
155 <dd> |
|
156 position to show the menu at |
|
157 </dd> |
|
158 </dl><a NAME="FlashCookieManagerDialog.__refreshCookiesList" ID="FlashCookieManagerDialog.__refreshCookiesList"></a> |
|
159 <h4>FlashCookieManagerDialog.__refreshCookiesList</h4> |
|
160 <b>__refreshCookiesList</b>(<i></i>) |
|
161 <p> |
|
162 Private slot to refresh the cookies list. |
|
163 </p><a NAME="FlashCookieManagerDialog.__refreshFilterLists" ID="FlashCookieManagerDialog.__refreshFilterLists"></a> |
|
164 <h4>FlashCookieManagerDialog.__refreshFilterLists</h4> |
|
165 <b>__refreshFilterLists</b>(<i></i>) |
|
166 <p> |
|
167 Private slot to refresh the white and black lists. |
|
168 </p><a NAME="FlashCookieManagerDialog.closeEvent" ID="FlashCookieManagerDialog.closeEvent"></a> |
|
169 <h4>FlashCookieManagerDialog.closeEvent</h4> |
|
170 <b>closeEvent</b>(<i>evt</i>) |
|
171 <p> |
|
172 Protected method to handle the close event. |
|
173 </p><dl> |
|
174 <dt><i>evt</i> (QCloseEvent)</dt> |
|
175 <dd> |
|
176 reference to the close event |
|
177 </dd> |
|
178 </dl><a NAME="FlashCookieManagerDialog.on_addBlackButton_clicked" ID="FlashCookieManagerDialog.on_addBlackButton_clicked"></a> |
|
179 <h4>FlashCookieManagerDialog.on_addBlackButton_clicked</h4> |
|
180 <b>on_addBlackButton_clicked</b>(<i></i>) |
|
181 <p> |
|
182 Private slot to add a server to the blacklist. |
|
183 </p><a NAME="FlashCookieManagerDialog.on_addWhiteButton_clicked" ID="FlashCookieManagerDialog.on_addWhiteButton_clicked"></a> |
|
184 <h4>FlashCookieManagerDialog.on_addWhiteButton_clicked</h4> |
|
185 <b>on_addWhiteButton_clicked</b>(<i></i>) |
|
186 <p> |
|
187 Private slot to add a server to the whitelist. |
|
188 </p><a NAME="FlashCookieManagerDialog.on_blackList_itemSelectionChanged" ID="FlashCookieManagerDialog.on_blackList_itemSelectionChanged"></a> |
|
189 <h4>FlashCookieManagerDialog.on_blackList_itemSelectionChanged</h4> |
|
190 <b>on_blackList_itemSelectionChanged</b>(<i></i>) |
|
191 <p> |
|
192 Private slot handling the selection of items in the blacklist. |
|
193 </p><a NAME="FlashCookieManagerDialog.on_cookiesList_currentItemChanged" ID="FlashCookieManagerDialog.on_cookiesList_currentItemChanged"></a> |
|
194 <h4>FlashCookieManagerDialog.on_cookiesList_currentItemChanged</h4> |
|
195 <b>on_cookiesList_currentItemChanged</b>(<i>current, previous</i>) |
|
196 <p> |
|
197 Private slot handling a change of the current cookie item. |
|
198 </p><dl> |
|
199 <dt><i>current</i> (QTreeWidgetItem)</dt> |
|
200 <dd> |
|
201 reference to the current item |
|
202 </dd><dt><i>previous</i> (QTreeWidgetItem)</dt> |
|
203 <dd> |
|
204 reference to the previous item |
|
205 </dd> |
|
206 </dl><a NAME="FlashCookieManagerDialog.on_filterEdit_textChanged" ID="FlashCookieManagerDialog.on_filterEdit_textChanged"></a> |
|
207 <h4>FlashCookieManagerDialog.on_filterEdit_textChanged</h4> |
|
208 <b>on_filterEdit_textChanged</b>(<i>filter</i>) |
|
209 <p> |
|
210 Private slot to filter the cookies list. |
|
211 </p><dl> |
|
212 <dt><i>filter</i> (str)</dt> |
|
213 <dd> |
|
214 filter text |
|
215 </dd> |
|
216 </dl><a NAME="FlashCookieManagerDialog.on_reloadButton_clicked" ID="FlashCookieManagerDialog.on_reloadButton_clicked"></a> |
|
217 <h4>FlashCookieManagerDialog.on_reloadButton_clicked</h4> |
|
218 <b>on_reloadButton_clicked</b>(<i></i>) |
|
219 <p> |
|
220 Private slot handling a press of the reload button. |
|
221 </p><a NAME="FlashCookieManagerDialog.on_removeAllButton_clicked" ID="FlashCookieManagerDialog.on_removeAllButton_clicked"></a> |
|
222 <h4>FlashCookieManagerDialog.on_removeAllButton_clicked</h4> |
|
223 <b>on_removeAllButton_clicked</b>(<i></i>) |
|
224 <p> |
|
225 Private slot to remove all cookies. |
|
226 </p><a NAME="FlashCookieManagerDialog.on_removeBlackButton_clicked" ID="FlashCookieManagerDialog.on_removeBlackButton_clicked"></a> |
|
227 <h4>FlashCookieManagerDialog.on_removeBlackButton_clicked</h4> |
|
228 <b>on_removeBlackButton_clicked</b>(<i></i>) |
|
229 <p> |
|
230 Private slot to remove a server from the blacklist. |
|
231 </p><a NAME="FlashCookieManagerDialog.on_removeButton_clicked" ID="FlashCookieManagerDialog.on_removeButton_clicked"></a> |
|
232 <h4>FlashCookieManagerDialog.on_removeButton_clicked</h4> |
|
233 <b>on_removeButton_clicked</b>(<i></i>) |
|
234 <p> |
|
235 Private slot to remove one cookie or a cookie group. |
|
236 </p><a NAME="FlashCookieManagerDialog.on_removeWhiteButton_clicked" ID="FlashCookieManagerDialog.on_removeWhiteButton_clicked"></a> |
|
237 <h4>FlashCookieManagerDialog.on_removeWhiteButton_clicked</h4> |
|
238 <b>on_removeWhiteButton_clicked</b>(<i></i>) |
|
239 <p> |
|
240 Private slot to remove a server from the whitelist. |
|
241 </p><a NAME="FlashCookieManagerDialog.on_whiteList_itemSelectionChanged" ID="FlashCookieManagerDialog.on_whiteList_itemSelectionChanged"></a> |
|
242 <h4>FlashCookieManagerDialog.on_whiteList_itemSelectionChanged</h4> |
|
243 <b>on_whiteList_itemSelectionChanged</b>(<i></i>) |
|
244 <p> |
|
245 Private slot handling the selection of items in the whitelist. |
|
246 </p><a NAME="FlashCookieManagerDialog.refreshView" ID="FlashCookieManagerDialog.refreshView"></a> |
|
247 <h4>FlashCookieManagerDialog.refreshView</h4> |
|
248 <b>refreshView</b>(<i>forceReload=False</i>) |
|
249 <p> |
|
250 Public method to refresh the dialog view. |
|
251 </p><dl> |
|
252 <dt><i>forceReload</i> (bool)</dt> |
|
253 <dd> |
|
254 flag indicating to reload the cookies |
|
255 </dd> |
|
256 </dl><a NAME="FlashCookieManagerDialog.showPage" ID="FlashCookieManagerDialog.showPage"></a> |
|
257 <h4>FlashCookieManagerDialog.showPage</h4> |
|
258 <b>showPage</b>(<i>index</i>) |
|
259 <p> |
|
260 Public method to display a given page. |
|
261 </p><dl> |
|
262 <dt><i>index</i> (int)</dt> |
|
263 <dd> |
|
264 index of the page to be shown |
|
265 </dd> |
|
266 </dl> |
|
267 <div align="right"><a href="#top">Up</a></div> |
|
268 <hr /> |
|
269 </body></html> |