how to make TextEdit to get just one line. (Don't allow to user enter new line) ???
how to make TextEdit to get just one line. (Don't allow to user enter new line) ???
Use QLineEdit instead.
Heavy Metal Rules. For those about to rock, we salute you.
HIT THANKS IF I HELPED.
This is Qml not Qt!
Use Qt Qml bindings. You can use qt elements in qml.
Heavy Metal Rules. For those about to rock, we salute you.
HIT THANKS IF I HELPED.
You could use a TextEdit, and in onTextChanged check if the text ends with newline, and if so, set the text to a trimmed version of itself. Always screw with your user!![]()
alizadeh91 (5th November 2012)
Bookmarks