QNodeEditor.widgets.combo_box.PopupItemDelegate#
- class QNodeEditor.widgets.combo_box.PopupItemDelegate(box: ~QNodeEditor.widgets.combo_box.ComboBox, *args, theme: ~typing.Type[~QNodeEditor.themes.theme.Theme] = <class 'QNodeEditor.themes.dark.DarkTheme'>, **kwargs)#
Bases:
QStyledItemDelegateCustom item delegate used in combo box drop-down menu.
This class should not be used. It is automatically instantiated in a
ComboBox.Properties
Get or set the item delegate theme.
Methods
Create new item delegate.
paintPaint the item at the specified index.
sizeHintEnforce strict item height for the item delegate.
- __init__(box: ~QNodeEditor.widgets.combo_box.ComboBox, *args, theme: ~typing.Type[~QNodeEditor.themes.theme.Theme] = <class 'QNodeEditor.themes.dark.DarkTheme'>, **kwargs)#
Create new item delegate.