Documentation/Source/eric6.WebBrowser.AdBlock.AdBlockExceptionsDialog.html

Tue, 24 Oct 2017 19:09:09 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Tue, 24 Oct 2017 19:09:09 +0200
changeset 5928
a3809f75ca07
parent 4918
71caf42a13d8
child 6028
859f6894eed9
permissions
-rw-r--r--

Changed the logic of the two web browsers in order to put new downloads at the top of the list of downloads and add the download date and time to the shown info.

<!DOCTYPE html>
<html><head>
<title>eric6.WebBrowser.AdBlock.AdBlockExceptionsDialog</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>eric6.WebBrowser.AdBlock.AdBlockExceptionsDialog</h1>
<p>
Module implementing a dialog to configure the AdBlock exceptions.
</p>
<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>
<table>
<tr>
<td><a href="#AdBlockExceptionsDialog">AdBlockExceptionsDialog</a></td>
<td>Class implementing a dialog to configure the AdBlock exceptions.</td>
</tr>
</table>
<h3>Functions</h3>
<table>
<tr><td>None</td></tr>
</table>
<hr /><hr />
<a NAME="AdBlockExceptionsDialog" ID="AdBlockExceptionsDialog"></a>
<h2>AdBlockExceptionsDialog</h2>
<p>
    Class implementing a dialog to configure the AdBlock exceptions.
</p>
<h3>Derived from</h3>
QDialog, Ui_AdBlockExceptionsDialog
<h3>Class Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>
<table>
<tr>
<td><a href="#AdBlockExceptionsDialog.__init__">AdBlockExceptionsDialog</a></td>
<td>Constructor</td>
</tr><tr>
<td><a href="#AdBlockExceptionsDialog.accept">accept</a></td>
<td>Public slot handling the acceptance of the dialog.</td>
</tr><tr>
<td><a href="#AdBlockExceptionsDialog.load">load</a></td>
<td>Public slot to load the list of excepted hosts.</td>
</tr><tr>
<td><a href="#AdBlockExceptionsDialog.on_addButton_clicked">on_addButton_clicked</a></td>
<td>Private slot to handle a click of the add button.</td>
</tr><tr>
<td><a href="#AdBlockExceptionsDialog.on_deleteButton_clicked">on_deleteButton_clicked</a></td>
<td>Private slot handling a click of the delete button.</td>
</tr><tr>
<td><a href="#AdBlockExceptionsDialog.on_hostEdit_textChanged">on_hostEdit_textChanged</a></td>
<td>Private slot to handle changes of the host edit.</td>
</tr><tr>
<td><a href="#AdBlockExceptionsDialog.on_hostList_itemSelectionChanged">on_hostList_itemSelectionChanged</a></td>
<td>Private slot handling a change of the number of selected items.</td>
</tr>
</table>
<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>
<a NAME="AdBlockExceptionsDialog.__init__" ID="AdBlockExceptionsDialog.__init__"></a>
<h4>AdBlockExceptionsDialog (Constructor)</h4>
<b>AdBlockExceptionsDialog</b>(<i>parent=None</i>)
<p>
        Constructor
</p><dl>
<dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl><a NAME="AdBlockExceptionsDialog.accept" ID="AdBlockExceptionsDialog.accept"></a>
<h4>AdBlockExceptionsDialog.accept</h4>
<b>accept</b>(<i></i>)
<p>
        Public slot handling the acceptance of the dialog.
</p><a NAME="AdBlockExceptionsDialog.load" ID="AdBlockExceptionsDialog.load"></a>
<h4>AdBlockExceptionsDialog.load</h4>
<b>load</b>(<i>hosts</i>)
<p>
        Public slot to load the list of excepted hosts.
</p><dl>
<dt><i>hosts</i></dt>
<dd>
list of excepted hosts
</dd>
</dl><a NAME="AdBlockExceptionsDialog.on_addButton_clicked" ID="AdBlockExceptionsDialog.on_addButton_clicked"></a>
<h4>AdBlockExceptionsDialog.on_addButton_clicked</h4>
<b>on_addButton_clicked</b>(<i></i>)
<p>
        Private slot to handle a click of the add button.
</p><a NAME="AdBlockExceptionsDialog.on_deleteButton_clicked" ID="AdBlockExceptionsDialog.on_deleteButton_clicked"></a>
<h4>AdBlockExceptionsDialog.on_deleteButton_clicked</h4>
<b>on_deleteButton_clicked</b>(<i></i>)
<p>
        Private slot handling a click of the delete button.
</p><a NAME="AdBlockExceptionsDialog.on_hostEdit_textChanged" ID="AdBlockExceptionsDialog.on_hostEdit_textChanged"></a>
<h4>AdBlockExceptionsDialog.on_hostEdit_textChanged</h4>
<b>on_hostEdit_textChanged</b>(<i>txt</i>)
<p>
        Private slot to handle changes of the host edit.
</p><dl>
<dt><i>txt</i></dt>
<dd>
text of the edit (string)
</dd>
</dl><a NAME="AdBlockExceptionsDialog.on_hostList_itemSelectionChanged" ID="AdBlockExceptionsDialog.on_hostList_itemSelectionChanged"></a>
<h4>AdBlockExceptionsDialog.on_hostList_itemSelectionChanged</h4>
<b>on_hostList_itemSelectionChanged</b>(<i></i>)
<p>
        Private slot handling a change of the number of selected items.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial