lyse.__main__.ItemDelegate

class lyse.__main__.ItemDelegate(view, model, col_status, role_status_percent)[source]

Bases: QStyledItemDelegate

An item delegate with a fixed height and a progress bar in one column

__init__(view, model, col_status, role_status_percent)[source]

Methods

__init__(view, model, col_status, ...)

blockSignals(self, b)

childEvent(self, a0)

children(self)

connectNotify(self, signal)

createEditor(self, parent, option, index)

customEvent(self, a0)

deleteLater(self)

destroyEditor(self, editor, index)

disconnect(-> bool)

disconnectNotify(self, signal)

displayText(self, value, locale)

dumpObjectInfo(self)

dumpObjectTree(self)

dynamicPropertyNames(self)

editorEvent(self, event, model, option, index)

event(self, a0)

eventFilter(self, object, event)

findChild(-> QObjectT)

findChildren(...)

helpEvent(self, event, view, option, index)

inherits(self, classname)

initStyleOption(self, option, index)

installEventFilter(self, a0)

isSignalConnected(self, signal)

isWidgetType(self)

isWindowType(self)

itemEditorFactory(self)

killTimer(self, id)

metaObject(self)

moveToThread(self, thread)

objectName(self)

paint(self, painter, option, index)

parent(self)

property(self, name)

pyqtConfigure(...)

Each keyword argument is either the name of a Qt property or a Qt signal.

receivers(self, signal)

removeEventFilter(self, a0)

sender(self)

senderSignalIndex(self)

setEditorData(self, editor, index)

setItemEditorFactory(self, factory)

setModelData(self, editor, model, index)

setObjectName(self, name)

setParent(self, a0)

setProperty(self, name, value)

signalsBlocked(self)

sizeHint(self, option, index)

startTimer(self, interval[, timerType])

thread(self)

timerEvent(self, a0)

tr(self, sourceText[, disambiguation, n])

updateEditorGeometry(self, editor, option, index)

Attributes

EXTRA_ROW_HEIGHT

EditNextItem

EditPreviousItem

NoHint

RevertModelCache

SubmitModelCache

closeEditor

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

commitData

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

destroyed

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

objectNameChanged

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

sizeHintChanged

int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

staticMetaObject

EXTRA_ROW_HEIGHT = 2
paint(self, painter: QPainter | None, option: QStyleOptionViewItem, index: QModelIndex)[source]
sizeHint(self, option: QStyleOptionViewItem, index: QModelIndex) QSize[source]