Subgroup: Color
Class: QgsColorSwatchDelegate¶
-
class
qgis.gui.
QgsColorSwatchDelegate
¶ Bases:
PyQt5.QtWidgets.QAbstractItemDelegate
A delegate for showing a color swatch in a list
See also
New in version 2.5: Methods
childEvent
connectNotify
customEvent
disconnectNotify
editorEvent
isSignalConnected
paint
receivers
sender
senderSignalIndex
sizeHint
timerEvent
Signals
Attributes
-
childEvent
()¶
-
connectNotify
()¶
-
customEvent
()¶
-
disconnectNotify
()¶
-
editorEvent
(self, event: QEvent, model: QAbstractItemModel, option: QStyleOptionViewItem, index: QModelIndex) → bool¶
-
isSignalConnected
()¶
-
paint
(self, painter: QPainter, option: QStyleOptionViewItem, index: QModelIndex)¶
-
receivers
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
sizeHint
(self, option: QStyleOptionViewItem, index: QModelIndex) → QSize¶
-
timerEvent
()¶
-