QCAD
Open Source 2D CAD
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RMouseEvent.h
Go to the documentation of this file.
1 
20 #ifndef RMOUSEEVENT_H
21 #define RMOUSEEVENT_H
22 
23 #include "core_global.h"
24 
25 #include <QMouseEvent>
26 
27 #include "RVector.h"
28 #include "RInputEvent.h"
29 
30 class RGraphicsScene;
31 class RGraphicsView;
32 
42 class QCADCORE_EXPORT RMouseEvent: public QMouseEvent, public RInputEvent {
43 public:
44  RMouseEvent(QEvent::Type type, const RVector& position,
45  Qt::MouseButton button, Qt::MouseButtons buttons,
46  Qt::KeyboardModifiers modifiers, RGraphicsScene& s,
47  RGraphicsView& v);
48 
49  RMouseEvent(const QMouseEvent& mouseEvent, RGraphicsScene& s,
50  RGraphicsView& v);
51 
52  virtual ~RMouseEvent();
53 };
54 
56 
57 #endif