81 Type eventType()
const;
82 InputType inputType()
const;
84#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
85 QInputDevice::DeviceType device()
const;
86 QPointingDevice::PointerType pointerType()
const;
qreal tangentialPressure() const
Returns the tangential pressure of a tablet's that support it This is typically given by a finger whe...
QPointF viewportPos() const
Returns the QPointF of the device, in viewport coordinates Returns pos() if used on mouse event.
int x() const
Returns the x position of the input device in the widget.
Qt::MouseButton button() const
Returns Qt::MouseButton()
bool isTabletEvent() const
Returns true if the device was tablet, otherwise false.
int y() const
Returns the y position of the input device in the widget.
qreal rotation() const
Returns rotation value if any, otherwise 0.
QPointF canvasPos() const
Returns the QPointF of the device, in canvas coordinates.
Qt::KeyboardModifiers modifiers() const
Returns the modifier created by keyboard while a device was in use.
Qt::MouseButtons buttons() const
Returns Qt::MouseButtons()
qreal pressure() const
Returns a value between 0 and 1 for tablet events, otherwise 1.0.
typedef KeyboardModifiers