| |
- Method resolution order:
- ClickableDelegate
- PyQt5.QtWidgets.QStyledItemDelegate
- PyQt5.QtWidgets.QAbstractItemDelegate
- PyQt5.QtCore.QObject
- sip.wrapper
- sip.simplewrapper
- builtins.object
Methods defined here:
- editorEvent(self, event: PyQt5.QtCore.QEvent, model: PyQt5.QtCore.QAbstractItemModel, option: PyQt5.QtWidgets.QStyleOptionViewItem, index: PyQt5.QtCore.QModelIndex) -> bool
- This method is called when an event is triggered on a cell in the table.
:param event: The event that was triggered
:param model: The model that contains the data
:param option: The style options for the cell
:param index: The index of the cell in the model
:return: True if the event was handled, False otherwise
Methods inherited from PyQt5.QtWidgets.QStyledItemDelegate:
- childEvent(...)
- connectNotify(...)
- createEditor(...)
- createEditor(self, parent: Optional[QWidget], option: QStyleOptionViewItem, index: QModelIndex) -> Optional[QWidget]
- customEvent(...)
- disconnectNotify(...)
- displayText(...)
- displayText(self, value: Any, locale: QLocale) -> str
- eventFilter(...)
- eventFilter(self, object: Optional[QObject], event: Optional[QEvent]) -> bool
- initStyleOption(...)
- initStyleOption(self, option: Optional[QStyleOptionViewItem], index: QModelIndex)
- isSignalConnected(...)
- itemEditorFactory(...)
- itemEditorFactory(self) -> Optional[QItemEditorFactory]
- paint(...)
- paint(self, painter: Optional[QPainter], option: QStyleOptionViewItem, index: QModelIndex)
- receivers(...)
- sender(...)
- senderSignalIndex(...)
- setEditorData(...)
- setEditorData(self, editor: Optional[QWidget], index: QModelIndex)
- setItemEditorFactory(...)
- setItemEditorFactory(self, factory: Optional[QItemEditorFactory])
- setModelData(...)
- setModelData(self, editor: Optional[QWidget], model: Optional[QAbstractItemModel], index: QModelIndex)
- sizeHint(...)
- sizeHint(self, option: QStyleOptionViewItem, index: QModelIndex) -> QSize
- timerEvent(...)
- updateEditorGeometry(...)
- updateEditorGeometry(self, editor: Optional[QWidget], option: QStyleOptionViewItem, index: QModelIndex)
Methods inherited from PyQt5.QtWidgets.QAbstractItemDelegate:
closeEditor = <unbound PYQT_SIGNAL closeEditor(QWidget*,QAbstractItemDelegate::EndEditHint)>
commitData = <unbound PYQT_SIGNAL commitData(QWidget*)>
- destroyEditor(...)
- destroyEditor(self, editor: Optional[QWidget], index: QModelIndex)
- helpEvent(...)
- helpEvent(self, event: Optional[QHelpEvent], view: Optional[QAbstractItemView], option: QStyleOptionViewItem, index: QModelIndex) -> bool
sizeHintChanged = <unbound PYQT_SIGNAL sizeHintChanged(QModelIndex)>
Data and other attributes inherited from PyQt5.QtWidgets.QAbstractItemDelegate:
- EditNextItem = 1
- EditPreviousItem = 2
- EndEditHint = <class 'PyQt5.QtWidgets.QAbstractItemDelegate.EndEditHint'>
- NoHint = 0
- RevertModelCache = 4
- SubmitModelCache = 3
Methods inherited from PyQt5.QtCore.QObject:
- __getattr__(...)
- __getattr__(self, name: Optional[str]) -> Any
- blockSignals(...)
- blockSignals(self, b: bool) -> bool
- children(...)
- children(self) -> List[QObject]
- deleteLater(...)
- deleteLater(self)
destroyed = <unbound PYQT_SIGNAL destroyed(QObject*)>
- disconnect(...)
- disconnect(a0: QMetaObject.Connection) -> bool
disconnect(self)
- dumpObjectInfo(...)
- dumpObjectInfo(self)
- dumpObjectTree(...)
- dumpObjectTree(self)
- dynamicPropertyNames(...)
- dynamicPropertyNames(self) -> List[QByteArray]
- event(...)
- event(self, a0: Optional[QEvent]) -> bool
- findChild(...)
- findChild(self, type: Type[QObjectT], name: Optional[str] = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObjectT
findChild(self, types: Tuple[Type[QObjectT], ...], name: Optional[str] = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObjectT
- findChildren(...)
- findChildren(self, type: Type[QObjectT], name: Optional[str] = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObjectT]
findChildren(self, types: Tuple[Type[QObjectT], ...], name: Optional[str] = '', options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObjectT]
findChildren(self, type: Type[QObjectT], regExp: QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObjectT]
findChildren(self, types: Tuple[Type[QObjectT], ...], regExp: QRegExp, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObjectT]
findChildren(self, type: Type[QObjectT], re: QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObjectT]
findChildren(self, types: Tuple[Type[QObjectT], ...], re: QRegularExpression, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObjectT]
- inherits(...)
- inherits(self, classname: Optional[str]) -> bool
- installEventFilter(...)
- installEventFilter(self, a0: Optional[QObject])
- isWidgetType(...)
- isWidgetType(self) -> bool
- isWindowType(...)
- isWindowType(self) -> bool
- killTimer(...)
- killTimer(self, id: int)
- metaObject(...)
- metaObject(self) -> Optional[QMetaObject]
- moveToThread(...)
- moveToThread(self, thread: Optional[QThread])
- objectName(...)
- objectName(self) -> str
objectNameChanged = <unbound PYQT_SIGNAL objectNameChanged(QString)>
- parent(...)
- parent(self) -> Optional[QObject]
- property(...)
- property(self, name: Optional[str]) -> Any
- pyqtConfigure(...)
- QObject.pyqtConfigure(...)
Each keyword argument is either the name of a Qt property or a Qt signal.
For properties the property is set to the given value which should be of an
appropriate type.
For signals the signal is connected to the given value which should be a
callable.
- removeEventFilter(...)
- removeEventFilter(self, a0: Optional[QObject])
- setObjectName(...)
- setObjectName(self, name: Optional[str])
- setParent(...)
- setParent(self, a0: Optional[QObject])
- setProperty(...)
- setProperty(self, name: Optional[str], value: Any) -> bool
- signalsBlocked(...)
- signalsBlocked(self) -> bool
- startTimer(...)
- startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) -> int
- thread(...)
- thread(self) -> Optional[QThread]
- tr(...)
- tr(self, sourceText: Optional[str], disambiguation: Optional[str] = None, n: int = -1) -> str
Data descriptors inherited from PyQt5.QtCore.QObject:
- __weakref__
- list of weak references to the object (if defined)
Data and other attributes inherited from PyQt5.QtCore.QObject:
- staticMetaObject = <PyQt5.QtCore.QMetaObject object>
Methods inherited from sip.simplewrapper:
- __init__(self, /, *args, **kwargs)
- Initialize self. See help(type(self)) for accurate signature.
Static methods inherited from sip.simplewrapper:
- __new__(*args, **kwargs) from sip.wrappertype
- Create and return a new object. See help(type) for accurate signature.
Data descriptors inherited from sip.simplewrapper:
- __dict__
|