QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
RTabletEvent.h
Go to the documentation of this file.
1 #ifndef RTABLETEVENT_H
2 #define RTABLETEVENT_H
3 
4 #include <QTabletEvent>
5 
6 #include "RVector.h"
7 
8 class RGraphicsScene;
9 class RGraphicsView;
10 
11 
12 
22 class RTabletEvent: public QTabletEvent {
23 public:
24  /*
25  RTabletEvent(
26  QEvent::Type type,
27  const RVector& position,
28  int device,
29  int pointerType,
30  qreal pressure,
31  int xTilt,
32  int yTilt,
33  qreal tangentialPressure,
34  qreal rotation,
35  int z,
36  Qt::KeyboardModifiers keyState,
37  qint64 uniqueID,
38  RGraphicsScene& s,
39  RGraphicsView& v);
40  */
41 
43  const QTabletEvent& tabletEvent,
44  RGraphicsScene& s,
45  RGraphicsView& v
46  );
47 
48  virtual ~RTabletEvent();
49 
50  RVector getModelPosition() const;
51  RVector getUcsPosition() const;
52  RVector getScreenPosition() const;
53 
56 
57 protected:
61 
64 };
65 
67 
68 #endif