QGraphicsSceneWheelEvent Class

The QGraphicsSceneWheelEvent class provides wheel events in the graphics view framework. More...

Header: #include <QGraphicsSceneWheelEvent>
qmake: QT += widgets
Since: Qt 4.2
Inherits: QGraphicsSceneEvent

This class was introduced in Qt 4.2.

Detailed Description

QWheelEvents received by a QGraphicsView are translated into QGraphicsSceneWheelEvents; it translates the QWheelEvent::globalPos() into item, scene, and screen coordinates (pos(), scenePos(), and screenPos()).

See also QGraphicsSceneMouseEvent, QGraphicsSceneContextMenuEvent, QGraphicsSceneHoverEvent, and QWheelEvent.