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

QPoint Q3MultiLineEdit::cursorPoint (  )  const [protected]

Returns the top center point where the cursor is drawn.

Definition at line 354 of file q3multilineedit.cpp.

References QWidget::rect, Q3TextEdit::textCursor(), QWidget::x, and QWidget::y.

{
    return QPoint(textCursor()->x(), textCursor()->y() + textCursor()->paragraph()->rect().y());
}


Generated by  Doxygen 1.6.0   Back to index