--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Documentation/Source/eric5.Helpviewer.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate.html Sun Jul 22 15:32:52 2012 +0200 @@ -0,0 +1,135 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' +'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> +<html><head> +<title>eric5.Helpviewer.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate</title> +<style> +body { + background: #EDECE6; + margin: 0em 1em 10em 1em; + color: black; +} + +h1 { color: white; background: #85774A; } +h2 { color: white; background: #85774A; } +h3 { color: white; background: #9D936E; } +h4 { color: white; background: #9D936E; } + +a { color: #BA6D36; } + +</style> +</head> +<body><a NAME="top" ID="top"></a> +<h1>eric5.Helpviewer.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>Returns:</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>Returns:</dt> +<dd> +size hint (QSize) +</dd> +</dl> +<div align="right"><a href="#top">Up</a></div> +<hr /> +</body></html> \ No newline at end of file