Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
There are two options, for a simple case, you can take InputMask.
For complex cases, use textChanged, when the user changes the text, you take the text from lineEdit on this event, parse it and substitute all the necessary characters, then replace the old text with a new line.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question