PDA

View Full Version : QSpinBox issue



qt_developer
14th March 2014, 09:56
Hi all,

Is it possible edit the value only with the up and down arrows and not with the related edit box?

Regards.

anda_skoa
14th March 2014, 10:49
Maybe like this: create a QSpinBox subclass, get a hold of the QLineEdit, switch it to read only mode.

Cheers,
_

qt_developer
14th March 2014, 10:53
Ok, thank you!