I would like to remove the up/down arrows in a spinbox. I develop for Qt 4.2.0, and did not find a simple way to remove the up/down arrows. How do I solve it? And one more thing, is it possible to remove the cursor to?

...and no, I am not able to use QAbstractSpinBox::NoButtons (added for Qt 4.2.2). The company I work for has a commercial licens for 4.2.0 so I can't just download the latest version.

Cheers!