QString QTextEdit::toPlainText()const
QString QTextEdit::toPlainText()const
Returns the text of the text edit as plain text.
Note: Getter function for property plainText.
See also QTextEdit::
QTextEdit1 获取文本内容2 获取文本格式带内容QTextEdit类提供了一个小部件,用于编辑和显示普通文本和富文本1 获取文本内容QString QTextEdit::toPlainText() constQString QTextEdit::toPlainText() constReturns the text of the text edit as plain text.Note: Getter function for property plainText. See also