Connect the signal QTextEdit::textChanged () to a slot wherein you can limit the input to your needs.
Forum Rules
Bookmarks