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

branch
eric7
changeset 8372
e0227a7c850e
child 8596
d64760b2da50
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/eric7/Documentation/Source/eric7.WebBrowser.CookieJar.CookiesDialog.html	Mon May 24 11:19:57 2021 +0200
@@ -0,0 +1,234 @@
+<!DOCTYPE html>
+<html><head>
+<title>eric7.WebBrowser.CookieJar.CookiesDialog</title>
+<meta charset="UTF-8">
+<style>
+body {
+    background: #EDECE6;
+    margin: 0em 1em 10em 1em;
+    color: black;
+}
+
+h1 { color: white; background: #85774A; }
+h2 { color: white; background: #85774A; }
+h3 { color: white; background: #9D936E; }
+h4 { color: white; background: #9D936E; }
+    
+a { color: #BA6D36; }
+
+</style>
+</head>
+<body>
+<a NAME="top" ID="top"></a>
+<h1>eric7.WebBrowser.CookieJar.CookiesDialog</h1>
+
+<p>
+Module implementing a dialog to show all cookies.
+</p>
+<h3>Global Attributes</h3>
+
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Classes</h3>
+
+<table>
+
+<tr>
+<td><a href="#CookiesDialog">CookiesDialog</a></td>
+<td>Class implementing a dialog to show all cookies.</td>
+</tr>
+</table>
+<h3>Functions</h3>
+
+<table>
+<tr><td>None</td></tr>
+</table>
+<hr />
+<hr />
+<a NAME="CookiesDialog" ID="CookiesDialog"></a>
+<h2>CookiesDialog</h2>
+
+<p>
+    Class implementing a dialog to show all cookies.
+</p>
+<h3>Derived from</h3>
+QDialog, Ui_CookiesDialog
+<h3>Class Attributes</h3>
+
+<table>
+<tr><td>CookieRole</td></tr><tr><td>DomainRole</td></tr>
+</table>
+<h3>Class Methods</h3>
+
+<table>
+<tr><td>None</td></tr>
+</table>
+<h3>Methods</h3>
+
+<table>
+
+<tr>
+<td><a href="#CookiesDialog.__init__">CookiesDialog</a></td>
+<td>Constructor</td>
+</tr>
+<tr>
+<td><a href="#CookiesDialog.__addCookie">__addCookie</a></td>
+<td>Private method to add a cookie to the tree.</td>
+</tr>
+<tr>
+<td><a href="#CookiesDialog.__cookieDomain">__cookieDomain</a></td>
+<td>Private method to extract the cookie domain.</td>
+</tr>
+<tr>
+<td><a href="#CookiesDialog.__resizeColumns">__resizeColumns</a></td>
+<td>Private slot to resize the columns.</td>
+</tr>
+<tr>
+<td><a href="#CookiesDialog.on_addButton_clicked">on_addButton_clicked</a></td>
+<td>Private slot to add a new exception.</td>
+</tr>
+<tr>
+<td><a href="#CookiesDialog.on_cookiesTree_currentItemChanged">on_cookiesTree_currentItemChanged</a></td>
+<td>Private slot to handle a change of the current item.</td>
+</tr>
+<tr>
+<td><a href="#CookiesDialog.on_removeAllButton_clicked">on_removeAllButton_clicked</a></td>
+<td>Private slot to remove all cookies.</td>
+</tr>
+<tr>
+<td><a href="#CookiesDialog.on_removeButton_clicked">on_removeButton_clicked</a></td>
+<td>Private slot to remove the selected cookie(s).</td>
+</tr>
+<tr>
+<td><a href="#CookiesDialog.on_searchEdit_textChanged">on_searchEdit_textChanged</a></td>
+<td>Private slot to search and filter the cookie tree.</td>
+</tr>
+</table>
+<h3>Static Methods</h3>
+
+<table>
+<tr><td>None</td></tr>
+</table>
+
+<a NAME="CookiesDialog.__init__" ID="CookiesDialog.__init__"></a>
+<h4>CookiesDialog (Constructor)</h4>
+<b>CookiesDialog</b>(<i>cookieJar, parent=None</i>)
+
+<p>
+        Constructor
+</p>
+<dl>
+
+<dt><i>cookieJar</i></dt>
+<dd>
+reference to the cookie jar (CookieJar)
+</dd>
+<dt><i>parent</i></dt>
+<dd>
+reference to the parent widget (QWidget)
+</dd>
+</dl>
+<a NAME="CookiesDialog.__addCookie" ID="CookiesDialog.__addCookie"></a>
+<h4>CookiesDialog.__addCookie</h4>
+<b>__addCookie</b>(<i>cookie</i>)
+
+<p>
+        Private method to add a cookie to the tree.
+</p>
+<dl>
+
+<dt><i>cookie</i> (QNetworkCookie)</dt>
+<dd>
+reference to the cookie
+</dd>
+</dl>
+<a NAME="CookiesDialog.__cookieDomain" ID="CookiesDialog.__cookieDomain"></a>
+<h4>CookiesDialog.__cookieDomain</h4>
+<b>__cookieDomain</b>(<i>cookie</i>)
+
+<p>
+        Private method to extract the cookie domain.
+</p>
+<dl>
+
+<dt><i>cookie</i> (QNetworkCookie)</dt>
+<dd>
+cookie to get the domain from
+</dd>
+</dl>
+<dl>
+<dt>Return:</dt>
+<dd>
+domain of the cookie
+</dd>
+</dl>
+<dl>
+<dt>Return Type:</dt>
+<dd>
+str
+</dd>
+</dl>
+<a NAME="CookiesDialog.__resizeColumns" ID="CookiesDialog.__resizeColumns"></a>
+<h4>CookiesDialog.__resizeColumns</h4>
+<b>__resizeColumns</b>(<i></i>)
+
+<p>
+        Private slot to resize the columns.
+</p>
+<a NAME="CookiesDialog.on_addButton_clicked" ID="CookiesDialog.on_addButton_clicked"></a>
+<h4>CookiesDialog.on_addButton_clicked</h4>
+<b>on_addButton_clicked</b>(<i></i>)
+
+<p>
+        Private slot to add a new exception.
+</p>
+<a NAME="CookiesDialog.on_cookiesTree_currentItemChanged" ID="CookiesDialog.on_cookiesTree_currentItemChanged"></a>
+<h4>CookiesDialog.on_cookiesTree_currentItemChanged</h4>
+<b>on_cookiesTree_currentItemChanged</b>(<i>current, previous</i>)
+
+<p>
+        Private slot to handle a change of the current item.
+</p>
+<dl>
+
+<dt><i>current</i> (QTreeWidgetItem)</dt>
+<dd>
+reference to the current item
+</dd>
+<dt><i>previous</i> (QTreeWidgetItem)</dt>
+<dd>
+reference to the previous current item
+</dd>
+</dl>
+<a NAME="CookiesDialog.on_removeAllButton_clicked" ID="CookiesDialog.on_removeAllButton_clicked"></a>
+<h4>CookiesDialog.on_removeAllButton_clicked</h4>
+<b>on_removeAllButton_clicked</b>(<i></i>)
+
+<p>
+        Private slot to remove all cookies.
+</p>
+<a NAME="CookiesDialog.on_removeButton_clicked" ID="CookiesDialog.on_removeButton_clicked"></a>
+<h4>CookiesDialog.on_removeButton_clicked</h4>
+<b>on_removeButton_clicked</b>(<i></i>)
+
+<p>
+        Private slot to remove the selected cookie(s).
+</p>
+<a NAME="CookiesDialog.on_searchEdit_textChanged" ID="CookiesDialog.on_searchEdit_textChanged"></a>
+<h4>CookiesDialog.on_searchEdit_textChanged</h4>
+<b>on_searchEdit_textChanged</b>(<i>txt</i>)
+
+<p>
+        Private slot to search and filter the cookie tree.
+</p>
+<dl>
+
+<dt><i>txt</i> (str)</dt>
+<dd>
+text to search for
+</dd>
+</dl>
+<div align="right"><a href="#top">Up</a></div>
+<hr />
+</body></html>
\ No newline at end of file

eric ide

mercurial