eric6/Documentation/Source/eric6.WebBrowser.CookieJar.CookiesDialog.html

changeset 7273
391d6b7b1eff
parent 6942
2602857055c5
child 7989
a21d673a8f99
equal deleted inserted replaced
7272:1779dc278077 7273:391d6b7b1eff
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.CookieJar.CookiesDialog</h1> 23 <h1>eric6.WebBrowser.CookieJar.CookiesDialog</h1>
24
23 <p> 25 <p>
24 Module implementing a dialog to show all cookies. 26 Module implementing a dialog to show all cookies.
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>
31 <table> 34
35 <table>
36
32 <tr> 37 <tr>
33 <td><a href="#CookiesDialog">CookiesDialog</a></td> 38 <td><a href="#CookiesDialog">CookiesDialog</a></td>
34 <td>Class implementing a dialog to show all cookies.</td> 39 <td>Class implementing a dialog to show all cookies.</td>
35 </tr> 40 </tr>
36 </table> 41 </table>
37 <h3>Functions</h3> 42 <h3>Functions</h3>
38 <table> 43
39 <tr><td>None</td></tr> 44 <table>
40 </table> 45 <tr><td>None</td></tr>
41 <hr /><hr /> 46 </table>
47 <hr />
48 <hr />
42 <a NAME="CookiesDialog" ID="CookiesDialog"></a> 49 <a NAME="CookiesDialog" ID="CookiesDialog"></a>
43 <h2>CookiesDialog</h2> 50 <h2>CookiesDialog</h2>
51
44 <p> 52 <p>
45 Class implementing a dialog to show all cookies. 53 Class implementing a dialog to show all cookies.
46 </p> 54 </p>
47 <h3>Derived from</h3> 55 <h3>Derived from</h3>
48 QDialog, Ui_CookiesDialog 56 QDialog, Ui_CookiesDialog
49 <h3>Class Attributes</h3> 57 <h3>Class Attributes</h3>
58
50 <table> 59 <table>
51 <tr><td>CookieRole</td></tr><tr><td>DomainRole</td></tr> 60 <tr><td>CookieRole</td></tr><tr><td>DomainRole</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>
58 <table> 68
69 <table>
70
59 <tr> 71 <tr>
60 <td><a href="#CookiesDialog.__init__">CookiesDialog</a></td> 72 <td><a href="#CookiesDialog.__init__">CookiesDialog</a></td>
61 <td>Constructor</td> 73 <td>Constructor</td>
62 </tr><tr> 74 </tr>
75 <tr>
63 <td><a href="#CookiesDialog.__addCookie">__addCookie</a></td> 76 <td><a href="#CookiesDialog.__addCookie">__addCookie</a></td>
64 <td>Private method to add a cookie to the tree.</td> 77 <td>Private method to add a cookie to the tree.</td>
65 </tr><tr> 78 </tr>
79 <tr>
66 <td><a href="#CookiesDialog.__cookieDomain">__cookieDomain</a></td> 80 <td><a href="#CookiesDialog.__cookieDomain">__cookieDomain</a></td>
67 <td>Private method to extract the cookie domain.</td> 81 <td>Private method to extract the cookie domain.</td>
68 </tr><tr> 82 </tr>
83 <tr>
69 <td><a href="#CookiesDialog.__resizeColumns">__resizeColumns</a></td> 84 <td><a href="#CookiesDialog.__resizeColumns">__resizeColumns</a></td>
70 <td>Private slot to resize the columns.</td> 85 <td>Private slot to resize the columns.</td>
71 </tr><tr> 86 </tr>
87 <tr>
72 <td><a href="#CookiesDialog.on_addButton_clicked">on_addButton_clicked</a></td> 88 <td><a href="#CookiesDialog.on_addButton_clicked">on_addButton_clicked</a></td>
73 <td>Private slot to add a new exception.</td> 89 <td>Private slot to add a new exception.</td>
74 </tr><tr> 90 </tr>
91 <tr>
75 <td><a href="#CookiesDialog.on_cookiesTree_currentItemChanged">on_cookiesTree_currentItemChanged</a></td> 92 <td><a href="#CookiesDialog.on_cookiesTree_currentItemChanged">on_cookiesTree_currentItemChanged</a></td>
76 <td>Private slot to handle a change of the current item.</td> 93 <td>Private slot to handle a change of the current item.</td>
77 </tr><tr> 94 </tr>
95 <tr>
78 <td><a href="#CookiesDialog.on_removeAllButton_clicked">on_removeAllButton_clicked</a></td> 96 <td><a href="#CookiesDialog.on_removeAllButton_clicked">on_removeAllButton_clicked</a></td>
79 <td>Private slot to remove all cookies.</td> 97 <td>Private slot to remove all cookies.</td>
80 </tr><tr> 98 </tr>
99 <tr>
81 <td><a href="#CookiesDialog.on_removeButton_clicked">on_removeButton_clicked</a></td> 100 <td><a href="#CookiesDialog.on_removeButton_clicked">on_removeButton_clicked</a></td>
82 <td>Private slot to remove the selected cookie(s).</td> 101 <td>Private slot to remove the selected cookie(s).</td>
83 </tr><tr> 102 </tr>
103 <tr>
84 <td><a href="#CookiesDialog.on_searchEdit_textChanged">on_searchEdit_textChanged</a></td> 104 <td><a href="#CookiesDialog.on_searchEdit_textChanged">on_searchEdit_textChanged</a></td>
85 <td>Private slot to search and filter the cookie tree.</td> 105 <td>Private slot to search and filter the cookie tree.</td>
86 </tr> 106 </tr>
87 </table> 107 </table>
88 <h3>Static Methods</h3> 108 <h3>Static Methods</h3>
89 <table> 109
90 <tr><td>None</td></tr> 110 <table>
91 </table> 111 <tr><td>None</td></tr>
112 </table>
113
92 <a NAME="CookiesDialog.__init__" ID="CookiesDialog.__init__"></a> 114 <a NAME="CookiesDialog.__init__" ID="CookiesDialog.__init__"></a>
93 <h4>CookiesDialog (Constructor)</h4> 115 <h4>CookiesDialog (Constructor)</h4>
94 <b>CookiesDialog</b>(<i>cookieJar, parent=None</i>) 116 <b>CookiesDialog</b>(<i>cookieJar, parent=None</i>)
117
95 <p> 118 <p>
96 Constructor 119 Constructor
97 </p><dl> 120 </p>
121 <dl>
122
98 <dt><i>cookieJar</i></dt> 123 <dt><i>cookieJar</i></dt>
99 <dd> 124 <dd>
100 reference to the cookie jar (CookieJar) 125 reference to the cookie jar (CookieJar)
101 </dd><dt><i>parent</i></dt> 126 </dd>
127 <dt><i>parent</i></dt>
102 <dd> 128 <dd>
103 reference to the parent widget (QWidget) 129 reference to the parent widget (QWidget)
104 </dd> 130 </dd>
105 </dl><a NAME="CookiesDialog.__addCookie" ID="CookiesDialog.__addCookie"></a> 131 </dl>
132 <a NAME="CookiesDialog.__addCookie" ID="CookiesDialog.__addCookie"></a>
106 <h4>CookiesDialog.__addCookie</h4> 133 <h4>CookiesDialog.__addCookie</h4>
107 <b>__addCookie</b>(<i>cookie</i>) 134 <b>__addCookie</b>(<i>cookie</i>)
135
108 <p> 136 <p>
109 Private method to add a cookie to the tree. 137 Private method to add a cookie to the tree.
110 </p><dl> 138 </p>
139 <dl>
140
111 <dt><i>cookie</i> (QNetworkCookie)</dt> 141 <dt><i>cookie</i> (QNetworkCookie)</dt>
112 <dd> 142 <dd>
113 reference to the cookie 143 reference to the cookie
114 </dd> 144 </dd>
115 </dl><a NAME="CookiesDialog.__cookieDomain" ID="CookiesDialog.__cookieDomain"></a> 145 </dl>
146 <a NAME="CookiesDialog.__cookieDomain" ID="CookiesDialog.__cookieDomain"></a>
116 <h4>CookiesDialog.__cookieDomain</h4> 147 <h4>CookiesDialog.__cookieDomain</h4>
117 <b>__cookieDomain</b>(<i>cookie</i>) 148 <b>__cookieDomain</b>(<i>cookie</i>)
149
118 <p> 150 <p>
119 Private method to extract the cookie domain. 151 Private method to extract the cookie domain.
120 </p><dl> 152 </p>
153 <dl>
154
121 <dt><i>cookie</i> (QNetworkCookie)</dt> 155 <dt><i>cookie</i> (QNetworkCookie)</dt>
122 <dd> 156 <dd>
123 cookie to get the domain from 157 cookie to get the domain from
124 </dd> 158 </dd>
125 </dl><dl> 159 </dl>
160 <dl>
126 <dt>Returns:</dt> 161 <dt>Returns:</dt>
127 <dd> 162 <dd>
128 domain of the cookie 163 domain of the cookie
129 </dd> 164 </dd>
130 </dl><dl> 165 </dl>
166 <dl>
131 <dt>Return Type:</dt> 167 <dt>Return Type:</dt>
132 <dd> 168 <dd>
133 str 169 str
134 </dd> 170 </dd>
135 </dl><a NAME="CookiesDialog.__resizeColumns" ID="CookiesDialog.__resizeColumns"></a> 171 </dl>
172 <a NAME="CookiesDialog.__resizeColumns" ID="CookiesDialog.__resizeColumns"></a>
136 <h4>CookiesDialog.__resizeColumns</h4> 173 <h4>CookiesDialog.__resizeColumns</h4>
137 <b>__resizeColumns</b>(<i></i>) 174 <b>__resizeColumns</b>(<i></i>)
175
138 <p> 176 <p>
139 Private slot to resize the columns. 177 Private slot to resize the columns.
140 </p><a NAME="CookiesDialog.on_addButton_clicked" ID="CookiesDialog.on_addButton_clicked"></a> 178 </p>
179 <a NAME="CookiesDialog.on_addButton_clicked" ID="CookiesDialog.on_addButton_clicked"></a>
141 <h4>CookiesDialog.on_addButton_clicked</h4> 180 <h4>CookiesDialog.on_addButton_clicked</h4>
142 <b>on_addButton_clicked</b>(<i></i>) 181 <b>on_addButton_clicked</b>(<i></i>)
182
143 <p> 183 <p>
144 Private slot to add a new exception. 184 Private slot to add a new exception.
145 </p><a NAME="CookiesDialog.on_cookiesTree_currentItemChanged" ID="CookiesDialog.on_cookiesTree_currentItemChanged"></a> 185 </p>
186 <a NAME="CookiesDialog.on_cookiesTree_currentItemChanged" ID="CookiesDialog.on_cookiesTree_currentItemChanged"></a>
146 <h4>CookiesDialog.on_cookiesTree_currentItemChanged</h4> 187 <h4>CookiesDialog.on_cookiesTree_currentItemChanged</h4>
147 <b>on_cookiesTree_currentItemChanged</b>(<i>current, previous</i>) 188 <b>on_cookiesTree_currentItemChanged</b>(<i>current, previous</i>)
189
148 <p> 190 <p>
149 Private slot to handle a change of the current item. 191 Private slot to handle a change of the current item.
150 </p><dl> 192 </p>
193 <dl>
194
151 <dt><i>current</i> (QTreeWidgetItem)</dt> 195 <dt><i>current</i> (QTreeWidgetItem)</dt>
152 <dd> 196 <dd>
153 reference to the current item 197 reference to the current item
154 </dd><dt><i>previous</i> (QTreeWidgetItem)</dt> 198 </dd>
199 <dt><i>previous</i> (QTreeWidgetItem)</dt>
155 <dd> 200 <dd>
156 reference to the previous current item 201 reference to the previous current item
157 </dd> 202 </dd>
158 </dl><a NAME="CookiesDialog.on_removeAllButton_clicked" ID="CookiesDialog.on_removeAllButton_clicked"></a> 203 </dl>
204 <a NAME="CookiesDialog.on_removeAllButton_clicked" ID="CookiesDialog.on_removeAllButton_clicked"></a>
159 <h4>CookiesDialog.on_removeAllButton_clicked</h4> 205 <h4>CookiesDialog.on_removeAllButton_clicked</h4>
160 <b>on_removeAllButton_clicked</b>(<i></i>) 206 <b>on_removeAllButton_clicked</b>(<i></i>)
207
161 <p> 208 <p>
162 Private slot to remove all cookies. 209 Private slot to remove all cookies.
163 </p><a NAME="CookiesDialog.on_removeButton_clicked" ID="CookiesDialog.on_removeButton_clicked"></a> 210 </p>
211 <a NAME="CookiesDialog.on_removeButton_clicked" ID="CookiesDialog.on_removeButton_clicked"></a>
164 <h4>CookiesDialog.on_removeButton_clicked</h4> 212 <h4>CookiesDialog.on_removeButton_clicked</h4>
165 <b>on_removeButton_clicked</b>(<i></i>) 213 <b>on_removeButton_clicked</b>(<i></i>)
214
166 <p> 215 <p>
167 Private slot to remove the selected cookie(s). 216 Private slot to remove the selected cookie(s).
168 </p><a NAME="CookiesDialog.on_searchEdit_textChanged" ID="CookiesDialog.on_searchEdit_textChanged"></a> 217 </p>
218 <a NAME="CookiesDialog.on_searchEdit_textChanged" ID="CookiesDialog.on_searchEdit_textChanged"></a>
169 <h4>CookiesDialog.on_searchEdit_textChanged</h4> 219 <h4>CookiesDialog.on_searchEdit_textChanged</h4>
170 <b>on_searchEdit_textChanged</b>(<i>txt</i>) 220 <b>on_searchEdit_textChanged</b>(<i>txt</i>)
221
171 <p> 222 <p>
172 Private slot to search and filter the cookie tree. 223 Private slot to search and filter the cookie tree.
173 </p><dl> 224 </p>
225 <dl>
226
174 <dt><i>txt</i> (str)</dt> 227 <dt><i>txt</i> (str)</dt>
175 <dd> 228 <dd>
176 text to search for 229 text to search for
177 </dd> 230 </dd>
178 </dl> 231 </dl>

eric ide

mercurial