I have a QLineEdit control, and wanna set validator for it.
ui->lineEdit->setValidator(new QIntValidator(5,20, this));
To copy to clipboard, switch view to plain text mode
So, I can't type any alphabet or special character on the lineEdit.
Problem is: I use scim-unikey as my keyboard software. When I change from English keyboard to Vietnamese keyboard, I still type alphabet character (not special character) on the lineEdit.
The character display on the lineEdit but when I focus mouse on another control, ther character disappear (I think this is right because I set QIntValidator for the lineEdit).
I wouldn't like the alphabet character display on the lineEdit. How can I fix this ?
Bookmarks