Qt 6.x
The Qt SDK
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, int xTilt, int 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, int xTilt, int 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
 
int xTilt
 
int 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 361 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,
int  xTilt,
int  yTilt,
qreal  tpressure,
qreal  rotation,
int  z,
Qt::KeyboardModifiers  mods 
)
inline

Definition at line 370 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,
int  xTilt,
int  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 881 of file qwindowsysteminterface.cpp.

Referenced by QCocoaIntegration::QCocoaIntegration(), QIOSIntegration::initialize(), JNI_OnLoad(), QWindowsIntegrationPrivate::parseOptions(), and QXcbConnection::xi2SelectDeviceEvents().

+ Here is the caller graph for this function:

Member Data Documentation

◆ buttons

Qt::MouseButtons QWindowSystemInterfacePrivate::TabletEvent::buttons

Definition at line 377 of file qwindowsysteminterface_p.h.

◆ global

QPointF QWindowSystemInterfacePrivate::TabletEvent::global

Definition at line 379 of file qwindowsysteminterface_p.h.

◆ local

QPointF QWindowSystemInterfacePrivate::TabletEvent::local

Definition at line 378 of file qwindowsysteminterface_p.h.

◆ platformSynthesizesMouse

bool QWindowSystemInterfacePrivate::TabletEvent::platformSynthesizesMouse = true
static

◆ pressure

qreal QWindowSystemInterfacePrivate::TabletEvent::pressure

Definition at line 380 of file qwindowsysteminterface_p.h.

◆ rotation

qreal QWindowSystemInterfacePrivate::TabletEvent::rotation

Definition at line 384 of file qwindowsysteminterface_p.h.

◆ tangentialPressure

qreal QWindowSystemInterfacePrivate::TabletEvent::tangentialPressure

Definition at line 383 of file qwindowsysteminterface_p.h.

◆ xTilt

int QWindowSystemInterfacePrivate::TabletEvent::xTilt

Definition at line 381 of file qwindowsysteminterface_p.h.

◆ yTilt

int QWindowSystemInterfacePrivate::TabletEvent::yTilt

Definition at line 382 of file qwindowsysteminterface_p.h.

◆ z

int QWindowSystemInterfacePrivate::TabletEvent::z

Definition at line 385 of file qwindowsysteminterface_p.h.


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