I'm designing a UI at the moment, and I have a situation where I have a QLineEdit which I need to only accept integers.
I know how to set the validator to use QIntValidator in code. But I'd like to do this in the designer.
How can I set the QLineEdit's validator when using the designer?
Note: I don't want to use an input mask. An input mask and a validator function differently.