--- a/eric6/Documentation/Source/eric6.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate.html Wed Sep 25 19:40:31 2019 +0200 +++ b/eric6/Documentation/Source/eric6.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate.html Wed Sep 25 19:42:44 2019 +0200 @@ -18,30 +18,38 @@ </style> </head> -<body><a NAME="top" ID="top"></a> +<body> +<a NAME="top" ID="top"></a> <h1>eric6.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 /> +<hr /> +<hr /> <a NAME="GreaseMonkeyConfigurationListDelegate" ID="GreaseMonkeyConfigurationListDelegate"></a> <h2>GreaseMonkeyConfigurationListDelegate</h2> + <p> Class implementing a delegate for the special list widget for GreaseMonkey scripts. @@ -49,83 +57,110 @@ <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> +</tr> +<tr> <td><a href="#GreaseMonkeyConfigurationListDelegate.padding">padding</a></td> <td>Public method to get the padding used.</td> -</tr><tr> +</tr> +<tr> <td><a href="#GreaseMonkeyConfigurationListDelegate.paint">paint</a></td> <td>Public method to paint the specified list item.</td> -</tr><tr> +</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> +</p> +<dl> + <dt><i>parent</i></dt> <dd> reference to the parent object (QObject) </dd> -</dl><a NAME="GreaseMonkeyConfigurationListDelegate.padding" ID="GreaseMonkeyConfigurationListDelegate.padding"></a> +</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> +</p> +<dl> <dt>Returns:</dt> <dd> padding used (integer) </dd> -</dl><a NAME="GreaseMonkeyConfigurationListDelegate.paint" ID="GreaseMonkeyConfigurationListDelegate.paint"></a> +</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> +</p> +<dl> + <dt><i>painter</i></dt> <dd> painter object to paint to (QPainter) -</dd><dt><i>option</i></dt> +</dd> +<dt><i>option</i></dt> <dd> style option used for painting (QStyleOptionViewItem) -</dd><dt><i>index</i></dt> +</dd> +<dt><i>index</i></dt> <dd> model index of the item (QModelIndex) </dd> -</dl><a NAME="GreaseMonkeyConfigurationListDelegate.sizeHint" ID="GreaseMonkeyConfigurationListDelegate.sizeHint"></a> +</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> +</p> +<dl> + <dt><i>option</i></dt> <dd> style option used for painting (QStyleOptionViewItem) -</dd><dt><i>index</i></dt> +</dd> +<dt><i>index</i></dt> <dd> model index of the item (QModelIndex) </dd> -</dl><dl> +</dl> +<dl> <dt>Returns:</dt> <dd> size hint (QSize)