\reentrant \inmodule QtGui
\reentrant \inmodule QtGui
The QTextEdit class provides a widget that is used to edit and display both plain and rich text.
void setTextCursor(const QTextCursor &cursor)
Sets the visible cursor.
QTextCursor textCursor() const
Returns a copy of the QTextCursor that represents the currently visible cursor.
void setHtml(const QString &text)
QTextDocument * document
the underlying document of the text editor.