I had the assumption that:
Code:
QtCore.QSignalBlocker(mywidget.setValue(somevalue))
Would be somewhat equivalent to:
Code:
mywidget.blockSignals(True) mywidget.setValue(somevalue) mywidget.blockSignals(False)
But, I've found that the latter actually does block the signals while the former appears to do "nothing".
I must be missing something. Anyone have some insight?