QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
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
29class RGraphicsView;
30class RGraphicsScene;
31
41class QCADCORE_EXPORT RWheelEvent: public QWheelEvent, public RInputEvent {
42public:
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
Q_DECLARE_METATYPE(RMath *)
Abstract base class for all graphics scenes.
Definition RGraphicsScene.h:64
Graphics view.
Definition RGraphicsView.h:67
An input event for a graphics scene.
Definition RInputEvent.h:39
Represents a 3d vector (x/y/z).
Definition RVector.h:47
A mouse wheel event for a graphics scene.
Definition RWheelEvent.h:41
#define QCADCORE_EXPORT
Definition core_global.h:10
char s
Definition opennurbs_string.cpp:32