QRegExp with QLineEdit
-
wrote on 6 May 2015, 14:28 last edited by
How can I insert in a QLineEdit digits and letters but first 2 character I want to letters and then 3 digits and again 2 letters
For eg: AA122BD ? -
How can I insert in a QLineEdit digits and letters but first 2 character I want to letters and then 3 digits and again 2 letters
For eg: AA122BD ?wrote on 6 May 2015, 14:35 last edited byThis post is deleted! -
Hi,
You can use the QRegExpValidator class. If you're on Qt 5 then please consider using QRegularExpression
4/4