Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Format text input in TextField
Adso4 last edited by
I have a textField where the user can input an integer value (up to 999999). I achieve this with an IntValidator. So, no other characters are allowed.
What I need is that the displayed text must be formatted. For example:
1 --> 1 m
2 --> 2 m
1000 --> 1.000 m
12000 --> 12.000 m
How can achieve this?
Allon last edited by
Did not run it myself but did you see this web page?