src/eric7/Documentation/Source/eric7.WebBrowser.UrlBar.FavIconLabel.html

Sat, 26 Apr 2025 12:34:32 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sat, 26 Apr 2025 12:34:32 +0200
branch
eric7
changeset 11240
c48c615c04a3
parent 10479
856476537696
permissions
-rw-r--r--

MicroPython
- Added a configuration option to disable the support for the no longer produced Pimoroni Pico Wireless Pack.

<!DOCTYPE html>
<html><head>
<title>eric7.WebBrowser.UrlBar.FavIconLabel</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.WebBrowser.UrlBar.FavIconLabel</h1>
<p>
Module implementing the label to show the web site icon.
</p>

<h3>Global Attributes</h3>
<table>
<tr><td>None</td></tr>
</table>

<h3>Classes</h3>
<table>
<tr>
<td><a href="#FavIconLabel">FavIconLabel</a></td>
<td>Class implementing the label to show the web site icon.</td>
</tr>
</table>

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

<hr />
<hr />
<a NAME="FavIconLabel" ID="FavIconLabel"></a>
<h2>FavIconLabel</h2>
<p>
    Class implementing the label to show the web site icon.
</p>

<h3>Derived from</h3>
QLabel
<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="#FavIconLabel.__init__">FavIconLabel</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#FavIconLabel.__browserIconChanged">__browserIconChanged</a></td>
<td>Private slot to set the icon.</td>
</tr>
<tr>
<td><a href="#FavIconLabel.__clearIcon">__clearIcon</a></td>
<td>Private slot to clear the icon.</td>
</tr>
<tr>
<td><a href="#FavIconLabel.__showPopup">__showPopup</a></td>
<td>Private method to show the site info popup.</td>
</tr>
<tr>
<td><a href="#FavIconLabel.mouseMoveEvent">mouseMoveEvent</a></td>
<td>Protected method to handle mouse move events.</td>
</tr>
<tr>
<td><a href="#FavIconLabel.mousePressEvent">mousePressEvent</a></td>
<td>Protected method to handle mouse press events.</td>
</tr>
<tr>
<td><a href="#FavIconLabel.mouseReleaseEvent">mouseReleaseEvent</a></td>
<td>Protected method to handle mouse release events.</td>
</tr>
<tr>
<td><a href="#FavIconLabel.setBrowser">setBrowser</a></td>
<td>Public method to set the browser connection.</td>
</tr>
</table>

<h3>Static Methods</h3>
<table>
<tr><td>None</td></tr>
</table>


<a NAME="FavIconLabel.__init__" ID="FavIconLabel.__init__"></a>
<h4>FavIconLabel (Constructor)</h4>
<b>FavIconLabel</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="FavIconLabel.__browserIconChanged" ID="FavIconLabel.__browserIconChanged"></a>
<h4>FavIconLabel.__browserIconChanged</h4>
<b>__browserIconChanged</b>(<i></i>)
<p>
        Private slot to set the icon.
</p>

<a NAME="FavIconLabel.__clearIcon" ID="FavIconLabel.__clearIcon"></a>
<h4>FavIconLabel.__clearIcon</h4>
<b>__clearIcon</b>(<i></i>)
<p>
        Private slot to clear the icon.
</p>

<a NAME="FavIconLabel.__showPopup" ID="FavIconLabel.__showPopup"></a>
<h4>FavIconLabel.__showPopup</h4>
<b>__showPopup</b>(<i>pos</i>)
<p>
        Private method to show the site info popup.
</p>

<dl>

<dt><i>pos</i> (QPoint)</dt>
<dd>
position the popup should be shown at
</dd>
</dl>
<a NAME="FavIconLabel.mouseMoveEvent" ID="FavIconLabel.mouseMoveEvent"></a>
<h4>FavIconLabel.mouseMoveEvent</h4>
<b>mouseMoveEvent</b>(<i>evt</i>)
<p>
        Protected method to handle mouse move events.
</p>

<dl>

<dt><i>evt</i> (QMouseEvent)</dt>
<dd>
reference to the mouse event
</dd>
</dl>
<a NAME="FavIconLabel.mousePressEvent" ID="FavIconLabel.mousePressEvent"></a>
<h4>FavIconLabel.mousePressEvent</h4>
<b>mousePressEvent</b>(<i>evt</i>)
<p>
        Protected method to handle mouse press events.
</p>

<dl>

<dt><i>evt</i> (QMouseEvent)</dt>
<dd>
reference to the mouse event
</dd>
</dl>
<a NAME="FavIconLabel.mouseReleaseEvent" ID="FavIconLabel.mouseReleaseEvent"></a>
<h4>FavIconLabel.mouseReleaseEvent</h4>
<b>mouseReleaseEvent</b>(<i>evt</i>)
<p>
        Protected method to handle mouse release events.
</p>

<dl>

<dt><i>evt</i> (QMouseEvent)</dt>
<dd>
reference to the mouse event
</dd>
</dl>
<a NAME="FavIconLabel.setBrowser" ID="FavIconLabel.setBrowser"></a>
<h4>FavIconLabel.setBrowser</h4>
<b>setBrowser</b>(<i>browser</i>)
<p>
        Public method to set the browser connection.
</p>

<dl>

<dt><i>browser</i> (WebBrowserView)</dt>
<dd>
reference to the browser widget
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial