I'm afraid it might not be that simple. As far as I remember, there are a few event handlers like showEvent() and focusInEvent() that cause internal QAbstractSpinBoxPrivate::reset() to be called. I suggest you take a look at QAbstractSpinBox/QDateTimeEdit sources for possible workarounds.