[Qt-interest] mask for spin box

Ian Thomson Ian.Thomson at iongeo.com
Tue Feb 9 15:39:55 CET 2010


Hi,

Robert Wood wrote:
> It does it as standard. You can prove this to yourself very simply by 
> simply sticking one on a form and keeping the up arrow depressed. You'll 
> soon see it flip from 9 to 10. :~)

I'm guessing he meant trailing digits, e.g. 01 instead of 1. This could 
probably be done by inheriting from the class and overriding 
textFromValue and valueFromText.

Cheers,
Ian.



More information about the Qt-interest-old mailing list