|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.WebBrowser.CookieJar.CookiesExceptionsDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>eric7.WebBrowser.CookieJar.CookiesExceptionsDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog for the configuration of cookie exceptions. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#CookiesExceptionsDialog">CookiesExceptionsDialog</a></td> |
|
25 <td>Class implementing a dialog for the configuration of cookie exceptions.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="CookiesExceptionsDialog" ID="CookiesExceptionsDialog"></a> |
|
36 <h2>CookiesExceptionsDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a dialog for the configuration of cookie exceptions. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QDialog, Ui_CookiesExceptionsDialog |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#CookiesExceptionsDialog.__init__">CookiesExceptionsDialog</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#CookiesExceptionsDialog.on_allowButton_clicked">on_allowButton_clicked</a></td> |
|
63 <td>Private slot to allow cookies of a domain.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#CookiesExceptionsDialog.on_allowForSessionButton_clicked">on_allowForSessionButton_clicked</a></td> |
|
67 <td>Private slot to allow cookies of a domain for the current session only.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#CookiesExceptionsDialog.on_blockButton_clicked">on_blockButton_clicked</a></td> |
|
71 <td>Private slot to block cookies of a domain.</td> |
|
72 </tr> |
|
73 <tr> |
|
74 <td><a href="#CookiesExceptionsDialog.on_domainEdit_textChanged">on_domainEdit_textChanged</a></td> |
|
75 <td>Private slot to handle a change of the domain edit text.</td> |
|
76 </tr> |
|
77 <tr> |
|
78 <td><a href="#CookiesExceptionsDialog.setDomainName">setDomainName</a></td> |
|
79 <td>Public method to set the domain to be displayed.</td> |
|
80 </tr> |
|
81 </table> |
|
82 <h3>Static Methods</h3> |
|
83 |
|
84 <table> |
|
85 <tr><td>None</td></tr> |
|
86 </table> |
|
87 |
|
88 <a NAME="CookiesExceptionsDialog.__init__" ID="CookiesExceptionsDialog.__init__"></a> |
|
89 <h4>CookiesExceptionsDialog (Constructor)</h4> |
|
90 <b>CookiesExceptionsDialog</b>(<i>cookieJar, parent=None</i>) |
|
91 |
|
92 <p> |
|
93 Constructor |
|
94 </p> |
|
95 <dl> |
|
96 |
|
97 <dt><i>cookieJar</i></dt> |
|
98 <dd> |
|
99 reference to the cookie jar (CookieJar) |
|
100 </dd> |
|
101 <dt><i>parent</i></dt> |
|
102 <dd> |
|
103 reference to the parent widget (QWidget) |
|
104 </dd> |
|
105 </dl> |
|
106 <a NAME="CookiesExceptionsDialog.on_allowButton_clicked" ID="CookiesExceptionsDialog.on_allowButton_clicked"></a> |
|
107 <h4>CookiesExceptionsDialog.on_allowButton_clicked</h4> |
|
108 <b>on_allowButton_clicked</b>(<i></i>) |
|
109 |
|
110 <p> |
|
111 Private slot to allow cookies of a domain. |
|
112 </p> |
|
113 <a NAME="CookiesExceptionsDialog.on_allowForSessionButton_clicked" ID="CookiesExceptionsDialog.on_allowForSessionButton_clicked"></a> |
|
114 <h4>CookiesExceptionsDialog.on_allowForSessionButton_clicked</h4> |
|
115 <b>on_allowForSessionButton_clicked</b>(<i></i>) |
|
116 |
|
117 <p> |
|
118 Private slot to allow cookies of a domain for the current session only. |
|
119 </p> |
|
120 <a NAME="CookiesExceptionsDialog.on_blockButton_clicked" ID="CookiesExceptionsDialog.on_blockButton_clicked"></a> |
|
121 <h4>CookiesExceptionsDialog.on_blockButton_clicked</h4> |
|
122 <b>on_blockButton_clicked</b>(<i></i>) |
|
123 |
|
124 <p> |
|
125 Private slot to block cookies of a domain. |
|
126 </p> |
|
127 <a NAME="CookiesExceptionsDialog.on_domainEdit_textChanged" ID="CookiesExceptionsDialog.on_domainEdit_textChanged"></a> |
|
128 <h4>CookiesExceptionsDialog.on_domainEdit_textChanged</h4> |
|
129 <b>on_domainEdit_textChanged</b>(<i>txt</i>) |
|
130 |
|
131 <p> |
|
132 Private slot to handle a change of the domain edit text. |
|
133 </p> |
|
134 <dl> |
|
135 |
|
136 <dt><i>txt</i></dt> |
|
137 <dd> |
|
138 current text of the edit (string) |
|
139 </dd> |
|
140 </dl> |
|
141 <a NAME="CookiesExceptionsDialog.setDomainName" ID="CookiesExceptionsDialog.setDomainName"></a> |
|
142 <h4>CookiesExceptionsDialog.setDomainName</h4> |
|
143 <b>setDomainName</b>(<i>domain</i>) |
|
144 |
|
145 <p> |
|
146 Public method to set the domain to be displayed. |
|
147 </p> |
|
148 <dl> |
|
149 |
|
150 <dt><i>domain</i></dt> |
|
151 <dd> |
|
152 domain name to be displayed (string) |
|
153 </dd> |
|
154 </dl> |
|
155 <div align="right"><a href="#top">Up</a></div> |
|
156 <hr /> |
|
157 </body></html> |