[Solved]How can i set double step to QSpinBox
-
If you mean you want to increment or decrement by 2, try looking at "QSpinBox::setSingleStep()":http://doc.qt.nokia.com/4.7-snapshot/qspinbox.html#singleStep-prop
-
Ah. You need a "QDoubleSpinBox.":http://doc.qt.nokia.com/4.7-snapshot/qdoublespinbox.html it also has a setSingleStep() method, which you can set to 0.01.