I followed wysota:s advice to reimplement the spinbox paintevent to make sure no arrows are drawn.

But the cursor is still present? How can I get rid of it?