Class: QgsDetailedItemDelegate

class qgis.gui.QgsDetailedItemDelegate(parent: QObject = None)

Bases: PyQt5.QtWidgets.QAbstractItemDelegate

Constructor for QgsDetailedItemDelegate

A custom model/view delegate that can display an icon, heading and detail sections.

See also

also()

Parameters

parent

childEvent()
connectNotify()
customEvent()
disconnectNotify()
horizontalSpacing(self) → int
Return type

int

isSignalConnected()
paint(self, painter: QPainter, option: QStyleOptionViewItem, index: QModelIndex)

Reimplement for parent class

Parameters
  • painter (QPainter) –

  • option (QStyleOptionViewItem) –

  • index (QModelIndex) –

receivers()
sender()
senderSignalIndex()
setHorizontalSpacing(self, value: int)
Parameters

value (int) –

setVerticalSpacing(self, value: int)
Parameters

value (int) –

sizeHint(self, option: QStyleOptionViewItem, index: QModelIndex) → QSize

Reimplement for parent class

Parameters
  • option (QStyleOptionViewItem) –

  • index (QModelIndex) –

Return type

QSize

timerEvent()
verticalSpacing(self) → int
Return type

int