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

changeset 5030
b728bb00886e
parent 4918
71caf42a13d8
child 5037
b2b37d7c0791
--- a/Documentation/Source/eric6.WebBrowser.CookieJar.CookiesDialog.html	Sun Jul 10 19:41:24 2016 +0200
+++ b/Documentation/Source/eric6.WebBrowser.CookieJar.CookiesDialog.html	Tue Jul 12 12:48:11 2016 +0200
@@ -48,7 +48,7 @@
 QDialog, Ui_CookiesDialog
 <h3>Class Attributes</h3>
 <table>
-<tr><td>None</td></tr>
+<tr><td>CookieRole</td></tr><tr><td>DomainRole</td></tr>
 </table>
 <h3>Class Methods</h3>
 <table>
@@ -60,17 +60,26 @@
 <td><a href="#CookiesDialog.__init__">CookiesDialog</a></td>
 <td>Constructor</td>
 </tr><tr>
-<td><a href="#CookiesDialog.__showCookieDetails">__showCookieDetails</a></td>
-<td>Private slot to show a dialog with the cookie details.</td>
+<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.__tableModelReset">__tableModelReset</a></td>
-<td>Private slot to handle a reset of the cookies table.</td>
-</tr><tr>
-<td><a href="#CookiesDialog.__tableSelectionChanged">__tableSelectionChanged</a></td>
-<td>Private slot to handle a change of selected items.</td>
+<td><a href="#CookiesDialog.__cookieDomain">__cookieDomain</a></td>
+<td>Private method to extract the cookie domain.</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>
@@ -90,40 +99,75 @@
 <dd>
 reference to the parent widget (QWidget)
 </dd>
-</dl><a NAME="CookiesDialog.__showCookieDetails" ID="CookiesDialog.__showCookieDetails"></a>
-<h4>CookiesDialog.__showCookieDetails</h4>
-<b>__showCookieDetails</b>(<i>index</i>)
+</dl><a NAME="CookiesDialog.__addCookie" ID="CookiesDialog.__addCookie"></a>
+<h4>CookiesDialog.__addCookie</h4>
+<b>__addCookie</b>(<i>cookie</i>)
 <p>
-        Private slot to show a dialog with the cookie details.
+        Private method to add a cookie to the tree.
 </p><dl>
-<dt><i>index</i></dt>
+<dt><i>cookie</i> (QNetworkCookie)</dt>
 <dd>
-index of the entry to show (QModelIndex)
+reference to the cookie
 </dd>
-</dl><a NAME="CookiesDialog.__tableModelReset" ID="CookiesDialog.__tableModelReset"></a>
-<h4>CookiesDialog.__tableModelReset</h4>
-<b>__tableModelReset</b>(<i></i>)
+</dl><a NAME="CookiesDialog.__cookieDomain" ID="CookiesDialog.__cookieDomain"></a>
+<h4>CookiesDialog.__cookieDomain</h4>
+<b>__cookieDomain</b>(<i>cookie</i>)
 <p>
-        Private slot to handle a reset of the cookies table.
-</p><a NAME="CookiesDialog.__tableSelectionChanged" ID="CookiesDialog.__tableSelectionChanged"></a>
-<h4>CookiesDialog.__tableSelectionChanged</h4>
-<b>__tableSelectionChanged</b>(<i>selected, deselected</i>)
-<p>
-        Private slot to handle a change of selected items.
+        Private method to extract the cookie domain.
 </p><dl>
-<dt><i>selected</i></dt>
+<dt><i>cookie</i> (QNetworkCookie)</dt>
+<dd>
+cookie to get the domain from
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
 <dd>
-selected indexes (QItemSelection)
-</dd><dt><i>deselected</i></dt>
+domain of the cookie
+</dd>
+</dl><dl>
+<dt>Return Type:</dt>
 <dd>
-deselected indexes (QItemSelection)
+str
 </dd>
 </dl><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>
+</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