in C++ by (10.3k points) edited by
0 like 0 dislike
173 views

How I can to add text in QTextEdit (textarea) in Qt framework on C++ programming language?


qtextedit add text
add text to qtextedit

1 Answer

0 like 0 dislike
by (10.3k points) edited by

In Qt framework on C++ you can add text in qtextedit like so:

myTextEdit->moveCursor(QTextCursor::End);
myTextEdit->insertPlainText(myString);
myTextEdit->moveCursor(QTextCursor::End);

Links

Your answer

Try to answer the question as detailed as possible.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.