Home · All Classes · Modules |
The QGraphicsSceneWheelEvent class provides wheel events in the graphics view framework. More...
Inherits QGraphicsSceneEvent.
The QGraphicsSceneWheelEvent class provides wheel events in the graphics view framework.
The QGraphicsSceneWheelEvent class provides wheel events in the graphics view framework.
QWheelEvents received by a QGraphicsView are translated into QGraphicsSceneWheelEvents; it translates the QWheelEvent.globalPos() into item, scene, and screen coordinates (pos(), scenePos(), and screenPos()).
Returns the mouse buttons that were pressed when the wheel event occurred.
See also modifiers().
Returns the distance that the wheel is rotated, in eighths (1/8s) of a degree. A positive value indicates that the wheel was rotated forwards away from the user; a negative value indicates that the wheel was rotated backwards toward the user.
Most mouse types work in steps of 15 degrees, in which case the delta value is a multiple of 120 (== 15 * 8).
Returns the keyboard modifiers that were active when the wheel event occurred.
See also buttons().
Returns the wheel orientation.
Returns the position of the cursor in item coordinates when the wheel event occurred.
See also scenePos() and screenPos().
Returns the position of the cursor in scene coordinates when the wheel event occurred.
See also pos() and screenPos().
Returns the position of the cursor in screen coordinates when the wheel event occurred.
See also pos() and scenePos().
PyQt 4.12.1 for X11 | Copyright © Riverbank Computing Ltd and The Qt Company 2015 | Qt 4.8.7 |