--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/eric7/Documentation/Source/eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListWidget.html Thu Jul 07 11:23:56 2022 +0200 @@ -0,0 +1,154 @@ +<!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></dt> +<dd> +reference to the parent widget (QWidget) +</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></dt> +<dd> +position to check for (QPoint) +</dd> +</dl> +<dl> +<dt>Return:</dt> +<dd> +flag indicating success (boolean) +</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></dt> +<dd> +mouse press event (QMouseEvent) +</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></dt> +<dd> +mouse press event (QMouseEvent) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file