QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RWheelEvent Class Reference

A mouse wheel event for a graphics scene. More...

#include <RWheelEvent.h>

Inheritance diagram for RWheelEvent:
RInputEvent

List of all members.

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
RGraphicsScenegetGraphicsScene () const
RGraphicsViewgetGraphicsView () 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
RGraphicsScenescene
RVector screenPosition
RGraphicsViewview

Detailed Description

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.

Scriptable:
This class is wrapped for script environments.

Constructor & Destructor Documentation

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 
)
RWheelEvent::~RWheelEvent ( )
virtual

The documentation for this class was generated from the following files: