|
QCAD Application Framework
CAD Application Development and Automation.
|
A mouse wheel event for a graphics scene. More...
#include <RWheelEvent.h>
Public Member Functions | |
| RWheelEvent (const RVector &position, int delta, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Qt::Orientation orient, RGraphicsScene &s, RGraphicsView &v) | |
| RWheelEvent (const QWheelEvent &wheelEvent, RGraphicsScene &s, RGraphicsView &v) | |
| virtual | ~RWheelEvent () |
Public Member Functions inherited from RInputEvent | |
| RGraphicsScene & | getGraphicsScene () const |
| RGraphicsView & | getGraphicsView () const |
| RVector | getModelPosition () const |
| RVector | getScreenPosition () const |
| bool | isValid () const |
| RInputEvent (const RVector &position, RGraphicsScene &s, RGraphicsView &v) | |
| void | setModelPosition (const RVector &v) |
| virtual | ~RInputEvent () |
Additional Inherited Members | |
Protected Attributes inherited from RInputEvent | |
| RVector | modelPosition |
| RGraphicsScene & | scene |
| RVector | screenPosition |
| RGraphicsView & | view |
A mouse wheel event for a graphics scene.
The coordinates in a mouse wheel event are available as scene coordinates or screen coordinates from the view the event originated.
| RWheelEvent::RWheelEvent | ( | const RVector & | position, |
| int | delta, | ||
| Qt::MouseButtons | buttons, | ||
| Qt::KeyboardModifiers | modifiers, | ||
| Qt::Orientation | orient, | ||
| RGraphicsScene & | s, | ||
| RGraphicsView & | v | ||
| ) |
| RWheelEvent::RWheelEvent | ( | const QWheelEvent & | wheelEvent, |
| RGraphicsScene & | s, | ||
| RGraphicsView & | v | ||
| ) |
|
virtual |