Home c++ How to contact text on TexTedit in Qt?

How to contact text on TexTedit in Qt?

Author

Date

Category

I need to program text in qtextedit . And I do not know how to contact him, more precisely to its text. Please note, not LineEdit , a textedit (multi-line field).


Answer 1, Authority 100%

ui- & gt; textedit- & gt; settext ("your text"); // change
   UI- & GT; Textedit- & GT; ToplainText (); // to know

Programmers, Start Your Engines!

Why spend time searching for the correct question and then entering your answer when you can find it in a second? That's what CompuTicket is all about! Here you'll find thousands of questions and answers from hundreds of computer languages.

Recent questions