src/eric7/Documentation/Source/eric7.Preferences.MouseClickDialog.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.Preferences.MouseClickDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.Preferences.MouseClickDialog</h1>
<p>
Module implementing a dialog for the configuration of a mouse click sequence.
</p>

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

<h3>Classes</h3>
<table>
<tr>
<td><a href="#MouseClickDialog">MouseClickDialog</a></td>
<td>Class implementing a dialog for the configuration of a mouse click sequence.</td>
</tr>
</table>

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

<hr />
<hr />
<a NAME="MouseClickDialog" ID="MouseClickDialog"></a>
<h2>MouseClickDialog</h2>
<p>
    Class implementing a dialog for the configuration of a mouse click
    sequence.
</p>

<h3>Derived from</h3>
QDialog, Ui_MouseClickDialog
<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="#MouseClickDialog.__init__">MouseClickDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#MouseClickDialog.__showClickText">__showClickText</a></td>
<td>Private method to show a string representing the entered mouse click sequence.</td>
</tr>
<tr>
<td><a href="#MouseClickDialog.eventFilter">eventFilter</a></td>
<td>Public method called to filter the event queue.</td>
</tr>
<tr>
<td><a href="#MouseClickDialog.getClick">getClick</a></td>
<td>Public method to get the entered mouse click sequence.</td>
</tr>
<tr>
<td><a href="#MouseClickDialog.on_clearButton_clicked">on_clearButton_clicked</a></td>
<td>Private slot to clear the entered sequence.</td>
</tr>
</table>

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


<a NAME="MouseClickDialog.__init__" ID="MouseClickDialog.__init__"></a>
<h4>MouseClickDialog (Constructor)</h4>
<b>MouseClickDialog</b>(<i>modifiers, button, parent=None</i>)
<p>
        Constructor
</p>

<dl>

<dt><i>modifiers</i> (Qt.KeyboardModifiers)</dt>
<dd>
keyboard modifiers of the handler
</dd>
<dt><i>button</i> (Qt.MouseButton)</dt>
<dd>
mouse button of the handler
</dd>
<dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
</dl>
<a NAME="MouseClickDialog.__showClickText" ID="MouseClickDialog.__showClickText"></a>
<h4>MouseClickDialog.__showClickText</h4>
<b>__showClickText</b>(<i></i>)
<p>
        Private method to show a string representing the entered mouse click
        sequence.
</p>

<a NAME="MouseClickDialog.eventFilter" ID="MouseClickDialog.eventFilter"></a>
<h4>MouseClickDialog.eventFilter</h4>
<b>eventFilter</b>(<i>watched, event</i>)
<p>
        Public method called to filter the event queue.
</p>

<dl>

<dt><i>watched</i> (QObject)</dt>
<dd>
reference to the watched object
</dd>
<dt><i>event</i> (QEvent)</dt>
<dd>
reference to the event that occurred
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
flag indicating a handled event
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
bool
</dd>
</dl>
<a NAME="MouseClickDialog.getClick" ID="MouseClickDialog.getClick"></a>
<h4>MouseClickDialog.getClick</h4>
<b>getClick</b>(<i></i>)
<p>
        Public method to get the entered mouse click sequence.
</p>

<dl>
<dt>Return:</dt>
<dd>
tuple containing the modifiers and the mouse button
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
tuple of Qt.KeyboardModifiers and Qt.MouseButton
</dd>
</dl>
<a NAME="MouseClickDialog.on_clearButton_clicked" ID="MouseClickDialog.on_clearButton_clicked"></a>
<h4>MouseClickDialog.on_clearButton_clicked</h4>
<b>on_clearButton_clicked</b>(<i></i>)
<p>
        Private slot to clear the entered sequence.
</p>

<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial