I assume you want to display an integer value only in the spinbox, right? Why do you put the value in using "setSpecialValueText"? Can't you just call "setValue"?
Look at http://doc.qt.nokia.com/4.6/qspinbox.html for more.
Additional note:
As far as I understand the documentation of "setSpecialValueText", setting this text you add a special text that's different than the type displayed. But the value is 0 behind the text, so increasing will give you 1 instead of 2 no matter which value the added text contains.
Bookmarks