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

void TextEdit::currentCharFormatChanged ( const QTextCharFormat f  )  [private, slot]

This signal is emitted if the current character format has changed, for example caused by a change of the cursor position.

The new format is f.

See also:
setCurrentCharFormat()

Reimplemented from QTextEdit.

Definition at line 611 of file textedit.cpp.

References QBrush::color(), QTextCharFormat::font(), and QTextFormat::foreground().

Referenced by TextEdit().

{
    fontChanged(format.font());
    colorChanged(format.foreground().color());
}


Generated by  Doxygen 1.6.0   Back to index