lyse.widgets.ItemDelegate
- class lyse.widgets.ItemDelegate(app, view, model, col_status, role_status_percent)[source]
Bases:
QStyledItemDelegateAn item delegate with a fixed height and a progress bar in one column
Methods
__init__(app, 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
EditNextItemEditPreviousItemNoHintRevertModelCacheSubmitModelCachecloseEditorint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
commitDataint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
destroyedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
objectNameChangedint = ..., arguments: Sequence = ...) -> PYQT_SIGNAL
sizeHintChangedint = ..., 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]