eric6.WebBrowser.GreaseMonkey.GreaseMonkeyConfiguration.GreaseMonkeyConfigurationListDelegate
Module implementing a delegate for the special list widget for GreaseMonkey
scripts.
Global Attributes
Classes
Functions
GreaseMonkeyConfigurationListDelegate
Class implementing a delegate for the special list widget for GreaseMonkey
scripts.
Derived from
QStyledItemDelegate
Class Attributes
CheckBoxSize |
IconSize |
ItemWidth |
MinPadding |
RemoveIconSize |
Class Methods
Methods
Static Methods
GreaseMonkeyConfigurationListDelegate (Constructor)
GreaseMonkeyConfigurationListDelegate(parent=None)
Constructor
- parent
-
reference to the parent object (QObject)
GreaseMonkeyConfigurationListDelegate.padding
padding()
Public method to get the padding used.
- Returns:
-
padding used (integer)
GreaseMonkeyConfigurationListDelegate.paint
paint(painter, option, index)
Public method to paint the specified list item.
- painter
-
painter object to paint to (QPainter)
- option
-
style option used for painting (QStyleOptionViewItem)
- index
-
model index of the item (QModelIndex)
GreaseMonkeyConfigurationListDelegate.sizeHint
sizeHint(option, index)
Public method to get a size hint for the specified list item.
- option
-
style option used for painting (QStyleOptionViewItem)
- index
-
model index of the item (QModelIndex)
- Returns:
-
size hint (QSize)