Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QWindowSystemInterfacePrivate::TabletEvent Class Reference

#include <qwindowsysteminterface_p.h>

+ Inheritance diagram for QWindowSystemInterfacePrivate::TabletEvent:
+ Collaboration diagram for QWindowSystemInterfacePrivate::TabletEvent:

Public Member Functions

 TabletEvent (QWindow *w, ulong time, const QPointF &local, const QPointF &global, const QPointingDevice *device, Qt::MouseButtons b, qreal pressure, qreal xTilt, qreal yTilt, qreal tpressure, qreal rotation, int z, Qt::KeyboardModifiers mods)
 
- Public Member Functions inherited from QWindowSystemInterfacePrivate::PointerEvent
 PointerEvent (QWindow *w, ulong time, EventType t, Qt::KeyboardModifiers mods, const QPointingDevice *device)
 
- Public Member Functions inherited from QWindowSystemInterfacePrivate::InputEvent
 InputEvent (QWindow *w, ulong time, EventType t, Qt::KeyboardModifiers mods, const QInputDevice *dev)
 
- Public Member Functions inherited from QWindowSystemInterfacePrivate::UserEvent
 UserEvent (QWindow *w, ulong time, EventType t)
 
- Public Member Functions inherited from QWindowSystemInterfacePrivate::WindowSystemEvent
 WindowSystemEvent (EventType t)
 
virtual ~WindowSystemEvent ()
 
bool synthetic () const
 
bool nullWindow () const
 

Static Public Member Functions

static void handleTabletEvent (QWindow *w, const QPointF &local, const QPointF &global, int device, int pointerType, Qt::MouseButtons buttons, qreal pressure, qreal xTilt, qreal yTilt, qreal tangentialPressure, qreal rotation, int z, qint64 uid, Qt::KeyboardModifiers modifiers=Qt::NoModifier)
 
static void setPlatformSynthesizesMouse (bool v)
 

Public Attributes

Qt::MouseButtons buttons
 
QPointF local
 
QPointF global
 
qreal pressure
 
qreal xTilt
 
qreal yTilt
 
qreal tangentialPressure
 
qreal rotation
 
int z
 
- Public Attributes inherited from QWindowSystemInterfacePrivate::InputEvent
Qt::KeyboardModifiers modifiers
 
const QInputDevicedevice
 
- Public Attributes inherited from QWindowSystemInterfacePrivate::UserEvent
QPointer< QWindowwindow
 
unsigned long timestamp
 
- Public Attributes inherited from QWindowSystemInterfacePrivate::WindowSystemEvent
EventType type
 
int flags
 
bool eventAccepted
 

Static Public Attributes

static bool platformSynthesizesMouse = true
 

Additional Inherited Members

- Public Types inherited from QWindowSystemInterfacePrivate::WindowSystemEvent
enum  { Synthetic = 0x1 , NullWindow = 0x2 }
 

Detailed Description

Definition at line 364 of file qwindowsysteminterface_p.h.

Constructor & Destructor Documentation

◆ TabletEvent()

QWindowSystemInterfacePrivate::TabletEvent::TabletEvent ( QWindow * w,
ulong time,
const QPointF & local,
const QPointF & global,
const QPointingDevice * device,
Qt::MouseButtons b,
qreal pressure,
qreal xTilt,
qreal yTilt,
qreal tpressure,
qreal rotation,
int z,
Qt::KeyboardModifiers mods )
inline

Definition at line 373 of file qwindowsysteminterface_p.h.

Member Function Documentation

◆ handleTabletEvent()

static void QWindowSystemInterfacePrivate::TabletEvent::handleTabletEvent ( QWindow * w,
const QPointF & local,
const QPointF & global,
int device,
int pointerType,
Qt::MouseButtons buttons,
qreal pressure,
qreal xTilt,
qreal yTilt,
qreal tangentialPressure,
qreal rotation,
int z,
qint64 uid,
Qt::KeyboardModifiers modifiers = Qt::NoModifier )
static

◆ setPlatformSynthesizesMouse()

void QWindowSystemInterfacePrivate::TabletEvent::setPlatformSynthesizesMouse ( bool v)
static

Definition at line 885 of file qwindowsysteminterface.cpp.

Member Data Documentation

◆ buttons

Qt::MouseButtons QWindowSystemInterfacePrivate::TabletEvent::buttons

Definition at line 380 of file qwindowsysteminterface_p.h.

◆ global

QPointF QWindowSystemInterfacePrivate::TabletEvent::global

Definition at line 382 of file qwindowsysteminterface_p.h.

◆ local

QPointF QWindowSystemInterfacePrivate::TabletEvent::local

Definition at line 381 of file qwindowsysteminterface_p.h.

◆ platformSynthesizesMouse

bool QWindowSystemInterfacePrivate::TabletEvent::platformSynthesizesMouse = true
static

Definition at line 389 of file qwindowsysteminterface_p.h.

◆ pressure

qreal QWindowSystemInterfacePrivate::TabletEvent::pressure

Definition at line 383 of file qwindowsysteminterface_p.h.

◆ rotation

qreal QWindowSystemInterfacePrivate::TabletEvent::rotation

Definition at line 387 of file qwindowsysteminterface_p.h.

◆ tangentialPressure

qreal QWindowSystemInterfacePrivate::TabletEvent::tangentialPressure

Definition at line 386 of file qwindowsysteminterface_p.h.

◆ xTilt

qreal QWindowSystemInterfacePrivate::TabletEvent::xTilt

Definition at line 384 of file qwindowsysteminterface_p.h.

◆ yTilt

qreal QWindowSystemInterfacePrivate::TabletEvent::yTilt

Definition at line 385 of file qwindowsysteminterface_p.h.

◆ z

int QWindowSystemInterfacePrivate::TabletEvent::z

Definition at line 388 of file qwindowsysteminterface_p.h.


The documentation for this class was generated from the following files: