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

void QTextEdit::mergeCurrentCharFormat ( const QTextCharFormat modifier  )  [inherited]

Merges the properties specified in modifier into the current character format by calling QTextCursor::mergeCharFormat on the editor's cursor. If the editor has a selection then the properties of modifier are directly applied to the selection.

See also:
QTextCursor::mergeCharFormat()

Definition at line 2070 of file qtextedit.cpp.

Referenced by QTextEdit::setCurrentFont(), QTextEdit::setFontFamily(), QTextEdit::setFontItalic(), QTextEdit::setFontPointSize(), QTextEdit::setFontUnderline(), QTextEdit::setFontWeight(), QTextEdit::setTextBackgroundColor(), and QTextEdit::setTextColor().

{
    Q_D(QTextEdit);
    d->control->mergeCurrentCharFormat(modifier);
}


Generated by  Doxygen 1.6.0   Back to index