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

void QSizeGrip::mousePressEvent ( QMouseEvent event  )  [protected, virtual]

Receives the mouse press events for the widget, and primes the resize operation. The mouse press event is passed in the event parameter.

Reimplemented from QWidget.

Definition at line 203 of file qsizegrip.cpp.

References QWidget::geometry, and QMouseEvent::globalPos().

    d->gotMousePress = true;
    d->p = e->globalPos();
    d->r = qt_sizegrip_topLevelWidget(this)->geometry();

Generated by  Doxygen 1.6.0   Back to index