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

void QTextCharFormat::setFontItalic ( bool  italic  )  [inline, inherited]

If italic is true, sets the text format's font to be italic; otherwise the font will be non-italic.

See also:
setFont()

Definition at line 393 of file qtextformat.h.

References QTextFormat::setProperty().

Referenced by Highlighter::Highlighter(), MainWindow::newLetter(), Window::reformatHeaders(), QTextCharFormat::setFont(), and QTextEdit::setFontItalic().

    { setProperty(FontItalic, italic); }


Generated by  Doxygen 1.6.0   Back to index