even cleaner version, starting to change to QSpinBox