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

Qt::Alignment QTextEdit::alignment (  )  const [inherited]

Returns the alignment of the current paragraph.

See also:
setAlignment()

Definition at line 747 of file qtextedit.cpp.

Referenced by cursorPositionChanged(), and TextEdit().

{
    Q_D(const QTextEdit);
    return d->control->textCursor().blockFormat().alignment();
}


Generated by  Doxygen 1.6.0   Back to index