devctrl.gui.exception.UncaughtHook#

class UncaughtHook(*args, show_traceback=False, **kwargs)[source]#

Bases: QObject

Methods

Attributes

destroyed

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

objectNameChanged

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

staticMetaObject

classmethod blockSignals(self, b: bool) bool#
classmethod childEvent(self, a0: QChildEvent | None)#
classmethod children(self) list[QObject]#
classmethod connectNotify(self, signal: QMetaMethod)#
classmethod customEvent(self, a0: QEvent | None)#
classmethod deleteLater(self)#
classmethod disconnect(a0: QMetaObject.Connection) bool#
classmethod disconnect(self)
classmethod disconnectNotify(self, signal: QMetaMethod)#
classmethod dumpObjectInfo(self)#
classmethod dumpObjectTree(self)#
classmethod dynamicPropertyNames(self) list[QByteArray]#
classmethod event(self, a0: QEvent | None) bool#
classmethod eventFilter(self, a0: QObject | None, a1: QEvent | None) bool#
exception_hook(exc_type, exc_value, exc_traceback)[source]#

Function handling uncaught exceptions. It is triggered each time an uncaught exception occurs.

classmethod findChild(self, type: type[QObjectT], name: str | None = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObjectT#
classmethod findChild(self, types: tuple[type[QObjectT], ...], name: str | None = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) QObjectT
classmethod findChildren(self, type: type[QObjectT], name: str | None = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) list[QObjectT]#
classmethod findChildren(self, types: tuple[type[QObjectT], ...], name: str | None = '', options: Qt.FindChildOption = Qt.FindChildrenRecursively) list[QObjectT]
classmethod findChildren(self, type: type[QObjectT], re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) list[QObjectT]
classmethod findChildren(self, types: tuple[type[QObjectT], ...], re: QRegularExpression, options: Qt.FindChildOption = Qt.FindChildrenRecursively) list[QObjectT]
classmethod inherits(self, classname: str | None) bool#
classmethod installEventFilter(self, a0: QObject | None)#
classmethod isQuickItemType(self) bool#
classmethod isSignalConnected(self, signal: QMetaMethod) bool#
classmethod isWidgetType(self) bool#
classmethod isWindowType(self) bool#
classmethod killTimer(self, id: int)#
classmethod metaObject(self) QMetaObject | None#
classmethod moveToThread(self, thread: QThread | None)#
classmethod objectName(self) str#
classmethod parent(self) QObject | None#
classmethod property(self, name: str | None) Any#
classmethod 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.

classmethod receivers(self, signal: PYQT_SIGNAL) int#
classmethod removeEventFilter(self, a0: QObject | None)#
classmethod sender(self) QObject | None#
classmethod senderSignalIndex(self) int#
classmethod setObjectName(self, name: QByteArray | bytes | bytearray | memoryview | str | None)#
classmethod setParent(self, a0: QObject | None)#
classmethod setProperty(self, name: str | None, value: Any) bool#
classmethod signalsBlocked(self) bool#
classmethod startTimer(self, interval: int, timerType: Qt.TimerType = Qt.CoarseTimer) int#
classmethod thread(self) QThread | None#
classmethod timerEvent(self, a0: QTimerEvent | None)#
classmethod tr(sourceText: str | None, disambiguation: str | None = None, n: int = -1) str#