![]() |
Qt 6.x
The Qt SDK
|
Public Member Functions | |
QEvdevTabletData (QEvdevTabletHandler *q_ptr) | |
void | processInputEvent (input_event *ev) |
void | report () |
Public Attributes | ||
QEvdevTabletHandler * | q | |
int | lastEventType | |
QString | devName | |
struct { | ||
int x | ||
int y | ||
int p | ||
int d | ||
} | minValues | |
struct { | ||
int x | ||
int y | ||
int p | ||
int d | ||
} | maxValues | |
struct { | ||
int x | ||
int y | ||
int p | ||
int d | ||
bool down | ||
bool lastReportDown | ||
int tool | ||
int lastReportTool | ||
QPointF lastReportPos | ||
} | state | |
Definition at line 25 of file qevdevtablethandler.cpp.
QEvdevTabletData::QEvdevTabletData | ( | QEvdevTabletHandler * | q_ptr | ) |
Definition at line 47 of file qevdevtablethandler.cpp.
void QEvdevTabletData::processInputEvent | ( | input_event * | ev | ) |
Definition at line 55 of file qevdevtablethandler.cpp.
References QPointingDevice::Eraser, lastEventType, QPointingDevice::Pen, report(), and state.
Referenced by QEvdevTabletHandler::readData().
void QEvdevTabletData::report | ( | ) |
Definition at line 98 of file qevdevtablethandler.cpp.
References QScreen::geometry, QWindowSystemInterface::handleTabletEnterProximityEvent(), QWindowSystemInterface::handleTabletEvent(), QWindowSystemInterface::handleTabletLeaveProximityEvent(), QRect::height(), Qt::LeftButton, maxValues, minValues, Qt::NoButton, QGuiApplication::primaryScreen, qGuiApp, state, QInputDevice::Stylus, and QRect::width().
Referenced by processInputEvent().
int QEvdevTabletData::d |
Definition at line 37 of file qevdevtablethandler.cpp.
QString QEvdevTabletData::devName |
Definition at line 35 of file qevdevtablethandler.cpp.
bool QEvdevTabletData::down |
Definition at line 41 of file qevdevtablethandler.cpp.
int QEvdevTabletData::lastEventType |
Definition at line 34 of file qevdevtablethandler.cpp.
Referenced by processInputEvent().
bool QEvdevTabletData::lastReportDown |
Definition at line 41 of file qevdevtablethandler.cpp.
QPointF QEvdevTabletData::lastReportPos |
Definition at line 43 of file qevdevtablethandler.cpp.
int QEvdevTabletData::lastReportTool |
Definition at line 42 of file qevdevtablethandler.cpp.
struct { ... } QEvdevTabletData::maxValues |
Referenced by QEvdevTabletData(), and report().
struct { ... } QEvdevTabletData::minValues |
Referenced by QEvdevTabletData(), and report().
int QEvdevTabletData::p |
Definition at line 37 of file qevdevtablethandler.cpp.
QEvdevTabletHandler* QEvdevTabletData::q |
Definition at line 33 of file qevdevtablethandler.cpp.
struct { ... } QEvdevTabletData::state |
Referenced by QEvdevTabletData(), processInputEvent(), and report().
int QEvdevTabletData::tool |
Definition at line 42 of file qevdevtablethandler.cpp.
int QEvdevTabletData::x |
Definition at line 37 of file qevdevtablethandler.cpp.
int QEvdevTabletData::y |
Definition at line 37 of file qevdevtablethandler.cpp.