A widget with a number and buttons at each end used to change the value.
[ Qwt docs | Back to Index ]
Code | windows | sgi |
QwtCounter *w = new QwtCounter();
w->setRange(0.0, 100.0, 1.0);
w->setNumButtons(2);
w->setIncSteps(QwtCounter::Button1, 1);
w->setIncSteps(QwtCounter::Button2, 10);
w->setValue( 42.0 );
| ![]() | ![]() |
[ Back to Index ]
Provided by the DigitalFanatics, the host of the Independent Qt Tutorial.