Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
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 886 of file qwindowsysteminterface.cpp.

Referenced by QCocoaIntegration::QCocoaIntegration(), QWasmIntegration::QWasmIntegration(), 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

◆ global

QPointF QWindowSystemInterfacePrivate::TabletEvent::global

◆ local

QPointF QWindowSystemInterfacePrivate::TabletEvent::local

◆ platformSynthesizesMouse

bool QWindowSystemInterfacePrivate::TabletEvent::platformSynthesizesMouse = true
static

◆ pressure

qreal QWindowSystemInterfacePrivate::TabletEvent::pressure

◆ rotation

qreal QWindowSystemInterfacePrivate::TabletEvent::rotation

◆ tangentialPressure

qreal QWindowSystemInterfacePrivate::TabletEvent::tangentialPressure

◆ xTilt

int QWindowSystemInterfacePrivate::TabletEvent::xTilt

◆ yTilt

int QWindowSystemInterfacePrivate::TabletEvent::yTilt

◆ z

int QWindowSystemInterfacePrivate::TabletEvent::z

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