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

void QPlainTextEdit::resizeEvent ( QResizeEvent e  )  [protected, virtual]

Reimplemented from QAbstractScrollArea.

Definition at line 1733 of file qplaintextedit.cpp.

References QResizeEvent::oldSize(), QResizeEvent::size(), and QSize::width().

{
    Q_D(QPlainTextEdit);
    if (e->oldSize().width() != e->size().width())
        d->relayoutDocument();
    d->_q_adjustScrollbars();
}


Generated by  Doxygen 1.6.0   Back to index