Set updatePolicy property.
Whether the spin button should update always, or only when the value is acceptable.
Set updatePolicy property.