src/eric7/Documentation/Source/eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListWidget.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.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListWidget</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListWidget</h1>
<p>
Module implementing a special list widget for GreaseMonkey scripts.
</p>

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

<h3>Classes</h3>
<table>
<tr>
<td><a href="#GreaseMonkeyConfigurationListWidget">GreaseMonkeyConfigurationListWidget</a></td>
<td>Class implementing a special list widget for GreaseMonkey scripts.</td>
</tr>
</table>

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

<hr />
<hr />
<a NAME="GreaseMonkeyConfigurationListWidget" ID="GreaseMonkeyConfigurationListWidget"></a>
<h2>GreaseMonkeyConfigurationListWidget</h2>
<p>
    Class implementing a special list widget for GreaseMonkey scripts.
</p>

<h3>Signals</h3>
<dl>

<dt>removeItemRequested(item)</dt>
<dd>
emitted to indicate an item removal
        request (QListWidgetItem)
</dd>
</dl>
<h3>Derived from</h3>
QListWidget
<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="#GreaseMonkeyConfigurationListWidget.__init__">GreaseMonkeyConfigurationListWidget</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#GreaseMonkeyConfigurationListWidget.__containsRemoveIcon">__containsRemoveIcon</a></td>
<td>Private method to check, if the given position is inside the remove icon.</td>
</tr>
<tr>
<td><a href="#GreaseMonkeyConfigurationListWidget.mouseDoubleClickEvent">mouseDoubleClickEvent</a></td>
<td>Protected method handling mouse double click events.</td>
</tr>
<tr>
<td><a href="#GreaseMonkeyConfigurationListWidget.mousePressEvent">mousePressEvent</a></td>
<td>Protected method handling presses of mouse buttons.</td>
</tr>
</table>

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


<a NAME="GreaseMonkeyConfigurationListWidget.__init__" ID="GreaseMonkeyConfigurationListWidget.__init__"></a>
<h4>GreaseMonkeyConfigurationListWidget (Constructor)</h4>
<b>GreaseMonkeyConfigurationListWidget</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="GreaseMonkeyConfigurationListWidget.__containsRemoveIcon" ID="GreaseMonkeyConfigurationListWidget.__containsRemoveIcon"></a>
<h4>GreaseMonkeyConfigurationListWidget.__containsRemoveIcon</h4>
<b>__containsRemoveIcon</b>(<i>pos</i>)
<p>
        Private method to check, if the given position is inside the remove
        icon.
</p>

<dl>

<dt><i>pos</i> (QPoint)</dt>
<dd>
position to check for
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
flag indicating success
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
bool
</dd>
</dl>
<a NAME="GreaseMonkeyConfigurationListWidget.mouseDoubleClickEvent" ID="GreaseMonkeyConfigurationListWidget.mouseDoubleClickEvent"></a>
<h4>GreaseMonkeyConfigurationListWidget.mouseDoubleClickEvent</h4>
<b>mouseDoubleClickEvent</b>(<i>evt</i>)
<p>
        Protected method handling mouse double click events.
</p>

<dl>

<dt><i>evt</i> (QMouseEvent)</dt>
<dd>
mouse press event
</dd>
</dl>
<a NAME="GreaseMonkeyConfigurationListWidget.mousePressEvent" ID="GreaseMonkeyConfigurationListWidget.mousePressEvent"></a>
<h4>GreaseMonkeyConfigurationListWidget.mousePressEvent</h4>
<b>mousePressEvent</b>(<i>evt</i>)
<p>
        Protected method handling presses of mouse buttons.
</p>

<dl>

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

eric ide

mercurial