Hi,
It would like that my QTexEdit is in UpperCase more does not function as the QLineEdit.
QLineEdit functions OK
txtLineEdit->setValidator(new MyClassUpperCase(this));
But this does not function for a QTextEdit.
Ederson de Moura
Hi,
It would like that my QTexEdit is in UpperCase more does not function as the QLineEdit.
QLineEdit functions OK
txtLineEdit->setValidator(new MyClassUpperCase(this));
But this does not function for a QTextEdit.
Ederson de Moura
You cannot apply validators to qtextedit. Try listening to textChanged signals and changing the text there... or install an event filter (but do not forget clopboard operations)
I go to try to make what it suggested
Thanks
Bookmarks