hi friends/Expert,
is is possible to automatic new line in lineEdit when user enters the text in it . if the text length exceeds certain length new line has to be added automatically. is it possible in lineEdit .
Thanks in advance
Printable View
hi friends/Expert,
is is possible to automatic new line in lineEdit when user enters the text in it . if the text length exceeds certain length new line has to be added automatically. is it possible in lineEdit .
Thanks in advance
QLineEdit is a single line editing widget.
With QTextEdit (or QPlainTextEdit) and a suitable QTextEdit::wordWrapMode() the text will be wrapped for display in the visible area of the widget but new line characters are not inserted in the actual text unless the user types them or your code inserts them.