src/eric7/Documentation/Source/eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate.html

Fri, 27 Oct 2023 14:09:40 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Fri, 27 Oct 2023 14:09:40 +0200
branch
eric7
changeset 10259
b51dfacef37f
parent 9209
b99e7fd55fd3
child 10436
f6881d10e995
permissions
-rw-r--r--

Regenerated the source documentation with the corrected module parser.

<!DOCTYPE html>
<html><head>
<title>eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate</h1>

<p>
Module implementing a delegate for the 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="#GreaseMonkeyConfigurationListDelegate">GreaseMonkeyConfigurationListDelegate</a></td>
<td>Class implementing a delegate for the special list widget for GreaseMonkey scripts.</td>
</tr>
</table>
<h3>Functions</h3>

<table>
<tr><td>None</td></tr>
</table>
<hr />
<hr />
<a NAME="GreaseMonkeyConfigurationListDelegate" ID="GreaseMonkeyConfigurationListDelegate"></a>
<h2>GreaseMonkeyConfigurationListDelegate</h2>

<p>
    Class implementing a delegate for the special list widget for GreaseMonkey
    scripts.
</p>
<h3>Derived from</h3>
QStyledItemDelegate
<h3>Class Attributes</h3>

<table>
<tr><td>CheckBoxSize</td></tr><tr><td>IconSize</td></tr><tr><td>ItemWidth</td></tr><tr><td>MinPadding</td></tr><tr><td>RemoveIconSize</td></tr>
</table>
<h3>Class Methods</h3>

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

<table>

<tr>
<td><a href="#GreaseMonkeyConfigurationListDelegate.__init__">GreaseMonkeyConfigurationListDelegate</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#GreaseMonkeyConfigurationListDelegate.padding">padding</a></td>
<td>Public method to get the padding used.</td>
</tr>
<tr>
<td><a href="#GreaseMonkeyConfigurationListDelegate.paint">paint</a></td>
<td>Public method to paint the specified list item.</td>
</tr>
<tr>
<td><a href="#GreaseMonkeyConfigurationListDelegate.sizeHint">sizeHint</a></td>
<td>Public method to get a size hint for the specified list item.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="GreaseMonkeyConfigurationListDelegate.__init__" ID="GreaseMonkeyConfigurationListDelegate.__init__"></a>
<h4>GreaseMonkeyConfigurationListDelegate (Constructor)</h4>
<b>GreaseMonkeyConfigurationListDelegate</b>(<i>parent=None</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>parent</i></dt>
<dd>
reference to the parent object (QObject)
</dd>
</dl>
<a NAME="GreaseMonkeyConfigurationListDelegate.padding" ID="GreaseMonkeyConfigurationListDelegate.padding"></a>
<h4>GreaseMonkeyConfigurationListDelegate.padding</h4>
<b>padding</b>(<i></i>)

<p>
        Public method to get the padding used.
</p>
<dl>
<dt>Return:</dt>
<dd>
padding used (integer)
</dd>
</dl>
<a NAME="GreaseMonkeyConfigurationListDelegate.paint" ID="GreaseMonkeyConfigurationListDelegate.paint"></a>
<h4>GreaseMonkeyConfigurationListDelegate.paint</h4>
<b>paint</b>(<i>painter, option, index</i>)

<p>
        Public method to paint the specified list item.
</p>
<dl>

<dt><i>painter</i></dt>
<dd>
painter object to paint to (QPainter)
</dd>
<dt><i>option</i></dt>
<dd>
style option used for painting (QStyleOptionViewItem)
</dd>
<dt><i>index</i></dt>
<dd>
model index of the item (QModelIndex)
</dd>
</dl>
<a NAME="GreaseMonkeyConfigurationListDelegate.sizeHint" ID="GreaseMonkeyConfigurationListDelegate.sizeHint"></a>
<h4>GreaseMonkeyConfigurationListDelegate.sizeHint</h4>
<b>sizeHint</b>(<i>option, index</i>)

<p>
        Public method to get a size hint for the specified list item.
</p>
<dl>

<dt><i>option</i></dt>
<dd>
style option used for painting (QStyleOptionViewItem)
</dd>
<dt><i>index</i></dt>
<dd>
model index of the item (QModelIndex)
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
size hint (QSize)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial