Spinbox initial integer value is first defined . So for example the initial integer value is 3.
Qt Code:
int integervalue; QString integertostring; intSpinBox ->setSpecialValueText(integertostring);To copy to clipboard, switch view to plain text mode
So the first initial integer value is displayed in the spinbox. For example : 3 .
Then using the spinbox , I click the down button, or, by pressing the down on
the keyboard, the value in the spinbox doesn't decrease at all as it should.
The value remains to be 3.(the value is supposed to decrease to 2.)
However, by clicking the up button, or pressing up on the keyboard can increase the
value in the spinbox but the increased value is incorrect.From value 3 it changes to 1 instead of 2.
What is wrong? How do I resolve this bug? SOS !
Bookmarks