The CustomTabletEvent class represents a tablet event (specifically from a Wacom Pro pen) that can be passed down to items in a graphics scene.
More...
#include <customtabletevent.h>
|
static const int | customEventId = QEvent::registerEventType() |
| CustomTabletEventTypeId is the id for the corresponding custom tablet event type. More...
|
|
The CustomTabletEvent class represents a tablet event (specifically from a Wacom Pro pen) that can be passed down to items in a graphics scene.
◆ CustomTabletEvent()
geometrize::scene::CustomTabletEvent::CustomTabletEvent |
( |
const TabletEventData & |
data, |
|
|
QWidget * |
sourceWidget |
|
) |
| |
CustomTabletEvent Creates a custom tablet event.
- Parameters
-
data | The data that the tablet event holds |
sourceWidget | The widget that the event came from |
61 setWidget(sourceWidget);
◆ ~CustomTabletEvent()
geometrize::scene::CustomTabletEvent::~CustomTabletEvent |
( |
| ) |
|
|
default |
◆ getData()
const TabletEventData & geometrize::scene::CustomTabletEvent::getData |
( |
| ) |
const |
◆ customEventId
const int geometrize::scene::CustomTabletEvent::customEventId = QEvent::registerEventType() |
|
static |
CustomTabletEventTypeId is the id for the corresponding custom tablet event type.
◆ m_data
The documentation for this class was generated from the following files: