src/eric7/Documentation/Source/eric7.WebBrowser.Tools.WebIconDialog.html

Thu, 07 Jul 2022 11:23:56 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 07 Jul 2022 11:23:56 +0200
branch
eric7
changeset 9209
b99e7fd55fd3
parent 8596
eric7/Documentation/Source/eric7.WebBrowser.Tools.WebIconDialog.html@d64760b2da50
child 10479
856476537696
permissions
-rw-r--r--

Reorganized the project structure to use the source layout in order to support up-to-date build systems with "pyproject.toml".

<!DOCTYPE html>
<html><head>
<title>eric7.WebBrowser.Tools.WebIconDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.WebBrowser.Tools.WebIconDialog</h1>

<p>
Module implementing a dialog to manage the Favicons.
</p>
<h3>Global Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>

<table>

<tr>
<td><a href="#WebIconDialog">WebIconDialog</a></td>
<td>Class implementing a dialog to manage the Favicons.</td>
</tr>
</table>
<h3>Functions</h3>

<table>
<tr><td>None</td></tr>
</table>
<hr />
<hr />
<a NAME="WebIconDialog" ID="WebIconDialog"></a>
<h2>WebIconDialog</h2>

<p>
    Class implementing a dialog to manage the Favicons.
</p>
<h3>Derived from</h3>
QDialog, Ui_WebIconDialog
<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="#WebIconDialog.__init__">WebIconDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#WebIconDialog.__setRemoveButtons">__setRemoveButtons</a></td>
<td>Private method to set the state of the 'remove' buttons.</td>
</tr>
<tr>
<td><a href="#WebIconDialog.getUrls">getUrls</a></td>
<td>Public method to get the list of URLs.</td>
</tr>
<tr>
<td><a href="#WebIconDialog.on_iconsList_customContextMenuRequested">on_iconsList_customContextMenuRequested</a></td>
<td>Private slot to show the context menu.</td>
</tr>
<tr>
<td><a href="#WebIconDialog.on_iconsList_itemSelectionChanged">on_iconsList_itemSelectionChanged</a></td>
<td>Private slot handling the selection of entries.</td>
</tr>
<tr>
<td><a href="#WebIconDialog.on_removeAllButton_clicked">on_removeAllButton_clicked</a></td>
<td>Private slot to remove all entries.</td>
</tr>
<tr>
<td><a href="#WebIconDialog.on_removeButton_clicked">on_removeButton_clicked</a></td>
<td>Private slot to remove the selected items.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="WebIconDialog.__init__" ID="WebIconDialog.__init__"></a>
<h4>WebIconDialog (Constructor)</h4>
<b>WebIconDialog</b>(<i>iconsDB, parent=None</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>iconsDB</i> (dict)</dt>
<dd>
icons database
</dd>
<dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
</dl>
<a NAME="WebIconDialog.__setRemoveButtons" ID="WebIconDialog.__setRemoveButtons"></a>
<h4>WebIconDialog.__setRemoveButtons</h4>
<b>__setRemoveButtons</b>(<i></i>)

<p>
        Private method to set the state of the 'remove' buttons.
</p>
<a NAME="WebIconDialog.getUrls" ID="WebIconDialog.getUrls"></a>
<h4>WebIconDialog.getUrls</h4>
<b>getUrls</b>(<i></i>)

<p>
        Public method to get the list of URLs.
</p>
<dl>
<dt>Return:</dt>
<dd>
list of URLs
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
list of str
</dd>
</dl>
<a NAME="WebIconDialog.on_iconsList_customContextMenuRequested" ID="WebIconDialog.on_iconsList_customContextMenuRequested"></a>
<h4>WebIconDialog.on_iconsList_customContextMenuRequested</h4>
<b>on_iconsList_customContextMenuRequested</b>(<i>pos</i>)

<p>
        Private slot to show the context menu.
</p>
<dl>

<dt><i>pos</i> (QPoint)</dt>
<dd>
cursor position
</dd>
</dl>
<a NAME="WebIconDialog.on_iconsList_itemSelectionChanged" ID="WebIconDialog.on_iconsList_itemSelectionChanged"></a>
<h4>WebIconDialog.on_iconsList_itemSelectionChanged</h4>
<b>on_iconsList_itemSelectionChanged</b>(<i></i>)

<p>
        Private slot handling the selection of entries.
</p>
<a NAME="WebIconDialog.on_removeAllButton_clicked" ID="WebIconDialog.on_removeAllButton_clicked"></a>
<h4>WebIconDialog.on_removeAllButton_clicked</h4>
<b>on_removeAllButton_clicked</b>(<i></i>)

<p>
        Private slot to remove all entries.
</p>
<a NAME="WebIconDialog.on_removeButton_clicked" ID="WebIconDialog.on_removeButton_clicked"></a>
<h4>WebIconDialog.on_removeButton_clicked</h4>
<b>on_removeButton_clicked</b>(<i></i>)

<p>
        Private slot to remove the selected items.
</p>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial