3 #include <QGraphicsSceneEvent>
float yViewPos
Definition: customtabletevent.h:66
CustomTabletEvent(const TabletEventData &data, QWidget *sourceWidget)
CustomTabletEvent Creates a custom tablet event.
Definition: customtabletevent.cpp:59
TabletEventType
The TabletEventType enum represents the ids of tablet events the Wacom pen/tablet generates...
Definition: customtabletevent.h:17
TabletEventData()=default
float yScenePos
Definition: customtabletevent.h:68
float tangentialPressure
Definition: customtabletevent.h:70
TabletEventPointerType
The TabletEventPointerType enum represents the type of pointer generating the tablet event...
Definition: customtabletevent.h:37
TabletEventData & operator=(const TabletEventData &)=default
const TabletEventData & getData() const
Definition: customtabletevent.cpp:64
QString tabletEventDataToString(const TabletEventData &data)
tabletEventDataToString Helper function to convert a structure of tablet event data to a string ...
Definition: customtabletevent.cpp:44
The CustomTabletEvent class represents a tablet event (specifically from a Wacom Pro pen) that can be...
Definition: customtabletevent.h:87
~TabletEventData()=default
float xTilt
Definition: customtabletevent.h:72
float yTilt
Definition: customtabletevent.h:73
static const int customEventId
CustomTabletEventTypeId is the id for the corresponding custom tablet event type. ...
Definition: customtabletevent.h:93
const TabletEventData m_data
Definition: customtabletevent.h:106
float xViewPos
Definition: customtabletevent.h:65
The TabletEventData class represents data produced from a Wacom pen/tablet event (in the context of a...
Definition: customtabletevent.h:55
~CustomTabletEvent()=default
float xScenePos
Definition: customtabletevent.h:67
TabletEventPointerType pointerType
Definition: customtabletevent.h:64
QString tabletEventTypeToString(const TabletEventType &type)
tabletEventTypeToString Helper function to convert a tablet event type enum value to a string ...
Definition: customtabletevent.cpp:12
QString tabletEventPointerTypeToString(const TabletEventPointerType &type)
tabletEventPointerTypeToString Helper function to convert a tablet event pointer type enum value to a...
Definition: customtabletevent.cpp:30
TabletEventType eventType
Definition: customtabletevent.h:63
float rotation
Definition: customtabletevent.h:71
float pressure
Definition: customtabletevent.h:69