I have a QSpinBox and I want it to only accept positive natural numbers. This works fine, until I enter a dot .
If I enter 234235.23456and change the focus to some other spinbox, the value is changed to 23423523456.
So I am looking for a way to ignore everything behind the .
Is this possible without subclassing QSpinBox?
0-9and ifsetDecimals(0)it takes.. - user2699453