Skip to content

SignalBlocker

Qt Base Class: QSignalBlocker

Signature: QSignalBlocker(self, o: PySide6.QtCore.QObject) -> None

Base classes

Name Children Inherits
QSignalBlocker
PySide6.QtCore
QSignalBlocker(self, o: PySide6.QtCore.QObject) -> None

⋔ Inheritance diagram

graph TD
  1473299783792["core.SignalBlocker"]
  1473243793008["QtCore.QSignalBlocker"]
  1473291690208["Shiboken.Object"]
  140713234304496["builtins.object"]
  1473243793008 --> 1473299783792
  1473291690208 --> 1473243793008
  140713234304496 --> 1473291690208

🛈 DocStrings

Bases: QSignalBlocker

Exception-safe wrapper around QObject.blockSignals().

Source code in prettyqt\core\signalblocker.py
class SignalBlocker(QtCore.QSignalBlocker):
    """Exception-safe wrapper around QObject.blockSignals()."""