src/eric7/Documentation/Source/eric7.EricWidgets.EricClickableLabel.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.EricWidgets.EricClickableLabel</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.EricWidgets.EricClickableLabel</h1>
<p>
Module implementing a clickable label.
</p>

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

<h3>Classes</h3>
<table>
<tr>
<td><a href="#EricClickableLabel">EricClickableLabel</a></td>
<td>Class implementing a clickable label.</td>
</tr>
</table>

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

<hr />
<hr />
<a NAME="EricClickableLabel" ID="EricClickableLabel"></a>
<h2>EricClickableLabel</h2>
<p>
    Class implementing a clickable label.
</p>

<h3>Signals</h3>
<dl>

<dt>clicked(QPoint)</dt>
<dd>
emitted upon a click on the label
        with the left button
</dd>
<dt>middleClicked(QPoint)</dt>
<dd>
emitted upon a click on the label
        with the middle button or CTRL and left button
</dd>
</dl>
<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="#EricClickableLabel.__init__">EricClickableLabel</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#EricClickableLabel.mouseReleaseEvent">mouseReleaseEvent</a></td>
<td>Protected method handling mouse release events.</td>
</tr>
</table>

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


<a NAME="EricClickableLabel.__init__" ID="EricClickableLabel.__init__"></a>
<h4>EricClickableLabel (Constructor)</h4>
<b>EricClickableLabel</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="EricClickableLabel.mouseReleaseEvent" ID="EricClickableLabel.mouseReleaseEvent"></a>
<h4>EricClickableLabel.mouseReleaseEvent</h4>
<b>mouseReleaseEvent</b>(<i>evt</i>)
<p>
        Protected method handling mouse release events.
</p>

<dl>

<dt><i>evt</i> (QMouseEvent)</dt>
<dd>
mouse event
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial