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

void QWidget::wheelEvent ( QWheelEvent event  )  [protected, virtual, inherited]

This event handler, for event event, can be reimplemented in a subclass to receive wheel events for the widget.

If you reimplement this handler, it is very important that you ignore() the event if you do not handle it, so that the widget's parent can interpret it.

The default implementation ignores the event.

See also:
QWheelEvent::ignore(), QWheelEvent::accept(), event(), QWheelEvent

Reimplemented in QGraphicsView, QAbstractScrollArea, QAbstractSlider, QAbstractSpinBox, QComboBox, QDateTimeEdit, QMenu, QTextEdit, QWorkspace, Q3ComboBox, Q3SpinWidget, and Q3ScrollView.

Definition at line 6097 of file qwidget.cpp.

Referenced by QWidget::event().


Generated by  Doxygen 1.6.0   Back to index