Skip to content

PythonQt.QtCore.QSignalBlocker · declarations 001

Back to PythonQt.QtCore.QSignalBlocker

reblock

reblock() -> None

X.reblock()

Supplemental documentation: Qt 5 reference:

void QSignalBlocker::reblock()

Re-blocks signals after a previous unblock().

The numbers of reblock() and unblock() calls are not counted, so every reblock() undoes any number of unblock() calls.

Upstream PySide2 reference signatures (binding differences may apply):

reblock(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qsignalblocker.html#reblock

unblock

unblock() -> None

X.unblock()

Supplemental documentation: Qt 5 reference:

void QSignalBlocker::unblock()

Temporarily restores the QObject::signalsBlocked() state to what it was before this QSignalBlocker's constructor ran. To undo, use reblock().

The numbers of reblock() and unblock() calls are not counted, so every unblock() undoes any number of reblock() calls.

Upstream PySide2 reference signatures (binding differences may apply):

unblock(self) -> None

Source: https://doc.qt.io/archives/qt-5.15/qsignalblocker.html#unblock