src/eric7/Documentation/Source/eric7.WebBrowser.AdBlock.AdBlockExceptionsDialog.html

Mon, 09 Jan 2023 11:22:56 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 09 Jan 2023 11:22:56 +0100
branch
eric7
changeset 9686
2eee7a645cba
parent 9209
b99e7fd55fd3
child 10479
856476537696
permissions
-rw-r--r--

Moved the 'QtHelp' subpackage out of the WebBrowser package because it is used in the HelpViewer as well.

<!DOCTYPE html>
<html><head>
<title>eric7.WebBrowser.AdBlock.AdBlockExceptionsDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.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> (QWidget)</dt>
<dd>
reference to the parent widget
</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> (list of str)</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> (str)</dt>
<dd>
text of the edit
</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