[Qt-interest] Scroll on a digit to change its value

Giacomo giacomo.strangolino at elettra.trieste.it
Fri Oct 30 08:30:50 CET 2009


Hi to all.

Suppose I have a QDoubleSpinbox which normally displays
a wide number of digits, for instance

100.01125

To quickly change each digit, it could be useful to place the mouse over
one of them an scroll with the wheel, increasing or decreasing the
_single digit_ value. This means, on the number above, I place the mouse
pointer over the "2" digit and I scroll the wheel up and down to change
only that digit.

Can anyone suggest a way to do this? Might it be possible?

Thanks, Giacomo.


Giacomo S.
http://www.giacomos.it
 
- - - - - - - - - - - - - - - - - - - - - -

IPFIREwall (http://www.giacomos.it/ipfire) viene presentato
all'Universita` degli Studi di Udine, il 28 ottobre,
in occasione del Linux Day 2006:
http://iglu.cc.uniud.it/linuxday

- - - - - - - - - - - - - - - - - - - - - -

 . '' `.
: :' :
 `. ` '
    `- Debian GNU/Linux -- The power of freedom
        http://www.debian.org



More information about the Qt-interest-old mailing list