Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void QTextEdit::setPlainText ( const QString text  )  [slot, inherited]

Changes the text of the text edit to the string text. Any previous text is removed.

text is interpreted as plain text.

Note that the undo/redo history is cleared by this function.

See also:

Definition at line 1120 of file qtextedit.cpp.

Referenced by Dialog::createGridGroupBox(), Window::dropEvent(), MainWindow::loadFile(), MainWindow::openFile(), FindFileDialog::openFile(), QTextEdit::setText(), MainWindow::setupEditor(), and PreviewWindow::setWindowFlags().

    d->preferRichText = false;

Generated by  Doxygen 1.6.0   Back to index