Hi,
Is a disabled QSpinBox emitting signals if the value is modified by code?
Thanks,
Hi,
Is a disabled QSpinBox emitting signals if the value is modified by code?
Thanks,
Òscar Llarch i Galán
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.
Last edited by spirit; 22nd July 2009 at 17:42.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Hi,
Well, I use "blockSignals" when I disable the widget. Maybe it could help you too.
Thanks,
Òscar Llarch i Galán
yup, I've already used this approach some time ago.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Bookmarks