![]() |
Home · All Classes · Main Classes · Grouped Classes · Modules · Functions | ![]() |
#include <QGraphicsSceneWheelEvent>
Inherits QGraphicsSceneEvent.
This class was introduced in Qt 4.2.
Constructs a QGraphicsSceneWheelEvent of type type.
Destroys the QGraphicsSceneWheelEvent.
Returns the mouse buttons that were pressed when the wheel event occurred.
See also setButtons() and modifiers().
Returns the distance that the wheel is rotated, in eights 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).
See also setDelta().
Returns the keyboard modifiers that were active when the wheel event occurred.
See also setModifiers() and buttons().
Returns the position of the cursor in item coordinates when the wheel event occurred.
See also setPos(), scenePos(), and screenPos().
Returns the position of the cursor in item coordinates when the wheel event occurred.
See also setScenePos(), pos(), and screenPos().
Returns the position of the cursor in screen coordinates when the wheel event occurred.
See also setScreenPos(), pos(), and scenePos().
Sets the mouse buttons that were pressed when the wheel event occurred to buttons.
See also buttons() and setModifiers().
Sets the distance that the wheel is rotated to delta.
See also delta().
Sets the keyboard modifiers that were active when the wheel event occurred to modifiers.
See also modifiers() and setButtons().
Sets the position of the cursor in item coordinates when the wheel event occurred to pos.
See also pos(), setScenePos(), and setScreenPos().
Sets the position of the cursor in scene coordinates when the wheel event occurred to pos.
See also scenePos(), setPos(), and setScreenPos().
Sets the position of the cursor in screen coordinates when the wheel event occurred to pos.
See also screenPos(), setPos(), and setScenePos().
Copyright © 2006 Trolltech | Trademarks | Qt 4.2.2 |