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

QWheelEvent::QWheelEvent ( const QPoint pos,
const QPoint globalPos,
int  delta,
Qt::MouseButtons  buttons,
Qt::KeyboardModifiers  modifiers,
Qt::Orientation  orient = Qt::Vertical 

Constructs a wheel event object.

The pos provides the location of the mouse cursor within the widget. The position in global coordinates is specified by globalPos. delta contains the rotation distance, modifiers holds the keyboard modifier flags at the time of the event, and orient holds the wheel's orientation.

See also:
pos() globalPos() delta() state()

Definition at line 459 of file qevent.cpp.

    : QInputEvent(Wheel, modifiers), p(pos), g(globalPos), d(delta), mouseState(buttons), o(orient)

Generated by  Doxygen 1.6.0   Back to index