PDA

View Full Version : Disabled QSpinBox emit signal?



^NyAw^
22nd July 2009, 16:37
Hi,

Is a disabled QSpinBox emitting signals if the value is modified by code?

Thanks,

spirit
22nd July 2009, 16:48
yes, I also had such problem


value : int
This property holds the value of the spin box.
setValue() will emit valueChanged() if the new value is different from the old one.

^NyAw^
22nd July 2009, 17:27
Hi,

Well, I use "blockSignals" when I disable the widget. Maybe it could help you too.

Thanks,

spirit
22nd July 2009, 17:42
yup, I've already used this approach some time ago. ;)