Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
About qlineedit and integer validator for cellular numbers
arkero24 last edited by
I've almost finished my app. And I'm still having a little problem. In my app, I put a QLineEdit to capture cellular phones numbers, and here these have a 10 o even 12 characters, I don't use mask to captures such numbers and decided to use IntValidator, but i have a Problem. When I reach a number of 9 numerical characters the capture stops, and I remain without capturing just one character.
How could I solve this?
For short, I need capture a 12 characters phone number by using IntValidator. (How I coudl use this property?)
Thanks a lot.
You probably want to look at QRegExpValidator, instead.