runmanager.__main__.ItemDelegate
- class runmanager.__main__.ItemDelegate(*args, **kwargs)[source]
Bases:
QStyledItemDelegateAn item delegate with a larger row height and column width, faint grey vertical lines between columns, and a custom editor for handling multi-line data
Methods
__init__(*args, **kwargs)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(obj, event)Filter events before they get to the editor, so that editing is ended when the user presses tab, shift-tab or enter (which otherwise would not end editing in a QTextEdit).
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_COL_WIDTH = 20
- EXTRA_ROW_HEIGHT = 6
- MIN_ROW_HEIGHT = 22
- createEditor(self, parent: QWidget | None, option: QStyleOptionViewItem, index: QModelIndex) QWidget | None[source]
- eventFilter(obj, event)[source]
Filter events before they get to the editor, so that editing is ended when the user presses tab, shift-tab or enter (which otherwise would not end editing in a QTextEdit).
- paint(self, painter: QPainter | None, option: QStyleOptionViewItem, index: QModelIndex)[source]
- setEditorData(self, editor: QWidget | None, index: QModelIndex)[source]
- setModelData(self, editor: QWidget | None, model: QAbstractItemModel | None, index: QModelIndex)[source]
- sizeHint(self, option: QStyleOptionViewItem, index: QModelIndex) QSize[source]