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

branch
maintenance
changeset 6989
8b8cadf8d7e9
parent 6942
2602857055c5
child 7273
391d6b7b1eff
equal deleted inserted replaced
6938:7926553b7509 6989:8b8cadf8d7e9
1 <!DOCTYPE html>
2 <html><head>
3 <title>eric6.WebBrowser.CookieJar.CookiesDialog</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.CookieJar.CookiesDialog</h1>
23 <p>
24 Module implementing a dialog to show all 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="#CookiesDialog">CookiesDialog</a></td>
34 <td>Class implementing a dialog to show all 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="CookiesDialog" ID="CookiesDialog"></a>
43 <h2>CookiesDialog</h2>
44 <p>
45 Class implementing a dialog to show all cookies.
46 </p>
47 <h3>Derived from</h3>
48 QDialog, Ui_CookiesDialog
49 <h3>Class Attributes</h3>
50 <table>
51 <tr><td>CookieRole</td></tr><tr><td>DomainRole</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="#CookiesDialog.__init__">CookiesDialog</a></td>
61 <td>Constructor</td>
62 </tr><tr>
63 <td><a href="#CookiesDialog.__addCookie">__addCookie</a></td>
64 <td>Private method to add a cookie to the tree.</td>
65 </tr><tr>
66 <td><a href="#CookiesDialog.__cookieDomain">__cookieDomain</a></td>
67 <td>Private method to extract the cookie domain.</td>
68 </tr><tr>
69 <td><a href="#CookiesDialog.__resizeColumns">__resizeColumns</a></td>
70 <td>Private slot to resize the columns.</td>
71 </tr><tr>
72 <td><a href="#CookiesDialog.on_addButton_clicked">on_addButton_clicked</a></td>
73 <td>Private slot to add a new exception.</td>
74 </tr><tr>
75 <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>
77 </tr><tr>
78 <td><a href="#CookiesDialog.on_removeAllButton_clicked">on_removeAllButton_clicked</a></td>
79 <td>Private slot to remove all cookies.</td>
80 </tr><tr>
81 <td><a href="#CookiesDialog.on_removeButton_clicked">on_removeButton_clicked</a></td>
82 <td>Private slot to remove the selected cookie(s).</td>
83 </tr><tr>
84 <td><a href="#CookiesDialog.on_searchEdit_textChanged">on_searchEdit_textChanged</a></td>
85 <td>Private slot to search and filter the cookie tree.</td>
86 </tr>
87 </table>
88 <h3>Static Methods</h3>
89 <table>
90 <tr><td>None</td></tr>
91 </table>
92 <a NAME="CookiesDialog.__init__" ID="CookiesDialog.__init__"></a>
93 <h4>CookiesDialog (Constructor)</h4>
94 <b>CookiesDialog</b>(<i>cookieJar, parent=None</i>)
95 <p>
96 Constructor
97 </p><dl>
98 <dt><i>cookieJar</i></dt>
99 <dd>
100 reference to the cookie jar (CookieJar)
101 </dd><dt><i>parent</i></dt>
102 <dd>
103 reference to the parent widget (QWidget)
104 </dd>
105 </dl><a NAME="CookiesDialog.__addCookie" ID="CookiesDialog.__addCookie"></a>
106 <h4>CookiesDialog.__addCookie</h4>
107 <b>__addCookie</b>(<i>cookie</i>)
108 <p>
109 Private method to add a cookie to the tree.
110 </p><dl>
111 <dt><i>cookie</i> (QNetworkCookie)</dt>
112 <dd>
113 reference to the cookie
114 </dd>
115 </dl><a NAME="CookiesDialog.__cookieDomain" ID="CookiesDialog.__cookieDomain"></a>
116 <h4>CookiesDialog.__cookieDomain</h4>
117 <b>__cookieDomain</b>(<i>cookie</i>)
118 <p>
119 Private method to extract the cookie domain.
120 </p><dl>
121 <dt><i>cookie</i> (QNetworkCookie)</dt>
122 <dd>
123 cookie to get the domain from
124 </dd>
125 </dl><dl>
126 <dt>Returns:</dt>
127 <dd>
128 domain of the cookie
129 </dd>
130 </dl><dl>
131 <dt>Return Type:</dt>
132 <dd>
133 str
134 </dd>
135 </dl><a NAME="CookiesDialog.__resizeColumns" ID="CookiesDialog.__resizeColumns"></a>
136 <h4>CookiesDialog.__resizeColumns</h4>
137 <b>__resizeColumns</b>(<i></i>)
138 <p>
139 Private slot to resize the columns.
140 </p><a NAME="CookiesDialog.on_addButton_clicked" ID="CookiesDialog.on_addButton_clicked"></a>
141 <h4>CookiesDialog.on_addButton_clicked</h4>
142 <b>on_addButton_clicked</b>(<i></i>)
143 <p>
144 Private slot to add a new exception.
145 </p><a NAME="CookiesDialog.on_cookiesTree_currentItemChanged" ID="CookiesDialog.on_cookiesTree_currentItemChanged"></a>
146 <h4>CookiesDialog.on_cookiesTree_currentItemChanged</h4>
147 <b>on_cookiesTree_currentItemChanged</b>(<i>current, previous</i>)
148 <p>
149 Private slot to handle a change of the current item.
150 </p><dl>
151 <dt><i>current</i> (QTreeWidgetItem)</dt>
152 <dd>
153 reference to the current item
154 </dd><dt><i>previous</i> (QTreeWidgetItem)</dt>
155 <dd>
156 reference to the previous current item
157 </dd>
158 </dl><a NAME="CookiesDialog.on_removeAllButton_clicked" ID="CookiesDialog.on_removeAllButton_clicked"></a>
159 <h4>CookiesDialog.on_removeAllButton_clicked</h4>
160 <b>on_removeAllButton_clicked</b>(<i></i>)
161 <p>
162 Private slot to remove all cookies.
163 </p><a NAME="CookiesDialog.on_removeButton_clicked" ID="CookiesDialog.on_removeButton_clicked"></a>
164 <h4>CookiesDialog.on_removeButton_clicked</h4>
165 <b>on_removeButton_clicked</b>(<i></i>)
166 <p>
167 Private slot to remove the selected cookie(s).
168 </p><a NAME="CookiesDialog.on_searchEdit_textChanged" ID="CookiesDialog.on_searchEdit_textChanged"></a>
169 <h4>CookiesDialog.on_searchEdit_textChanged</h4>
170 <b>on_searchEdit_textChanged</b>(<i>txt</i>)
171 <p>
172 Private slot to search and filter the cookie tree.
173 </p><dl>
174 <dt><i>txt</i> (str)</dt>
175 <dd>
176 text to search for
177 </dd>
178 </dl>
179 <div align="right"><a href="#top">Up</a></div>
180 <hr />
181 </body></html>

eric ide

mercurial