QCAD
Open Source 2D CAD
RWheelEvent.h
Go to the documentation of this file.
1 
20 #ifndef RWHEELEVENT_H
21 #define RWHEELEVENT_H
22 
23 #include "core_global.h"
24 
25 #include <QWheelEvent>
26 
27 #include "RInputEvent.h"
28 
29 class RGraphicsView;
30 class RGraphicsScene;
31 
41 class QCADCORE_EXPORT RWheelEvent: public QWheelEvent, public RInputEvent {
42 public:
43  RWheelEvent(const RVector& position, int delta, Qt::MouseButtons buttons,
44  Qt::KeyboardModifiers modifiers, Qt::Orientation orient,
46 
47  RWheelEvent(const QWheelEvent& wheelEvent, RGraphicsScene& s,
48  RGraphicsView& v, qreal devicePixelRatio = 1.0);
49 
50  virtual ~RWheelEvent();
51 
52 };
53 
55 
56 #endif
Represents a 3d vector (x/y/z).
Definition: RVector.h:46
An input event for a graphics scene.
Definition: RInputEvent.h:41
Abstract base class for all graphics scenes.
Definition: RGraphicsScene.h:61
#define QCADCORE_EXPORT
Definition: core_global.h:10
Q_DECLARE_METATYPE(RMath *)
A mouse wheel event for a graphics scene.
Definition: RWheelEvent.h:41
Graphics view.
Definition: RGraphicsView.h:58