Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QEventPointPrivate Class Reference

#include <qeventpoint_p.h>

+ Inheritance diagram for QEventPointPrivate:
+ Collaboration diagram for QEventPointPrivate:

Public Member Functions

 QEventPointPrivate (int id, const QPointingDevice *device)
 
 QEventPointPrivate (int pointId, QEventPoint::State state, const QPointF &scenePosition, const QPointF &globalPosition)
 
bool operator== (const QEventPointPrivate &other) const
 
- Public Member Functions inherited from QSharedData
 QSharedData () noexcept
 Constructs a QSharedData object with a reference count of 0.
 
 QSharedData (const QSharedData &) noexcept
 Constructs a QSharedData object with reference count 0.
 
QSharedDataoperator= (const QSharedData &)=delete
 
 ~QSharedData ()=default
 

Public Attributes

const QPointingDevicedevice = nullptr
 
QPointer< QWindowwindow
 
QPointer< QObjecttarget
 
QPointF pos
 
QPointF scenePos
 
QPointF globalPos
 
QPointF globalPressPos
 
QPointF globalGrabPos
 
QPointF globalLastPos
 
qreal pressure = 1
 
qreal rotation = 0
 
QSizeF ellipseDiameters = QSizeF(0, 0)
 
QVector2D velocity
 
ulong timestamp = 0
 
ulong lastTimestamp = 0
 
ulong pressTimestamp = 0
 
QPointingDeviceUniqueId uniqueId
 
int pointId = -1
 
QEventPoint::State state = QEventPoint::State::Unknown
 
bool accept = false
 
- Public Attributes inherited from QSharedData
QAtomicInt ref
 

Detailed Description

Definition at line 29 of file qeventpoint_p.h.

Constructor & Destructor Documentation

◆ QEventPointPrivate() [1/2]

QEventPointPrivate::QEventPointPrivate ( int  id,
const QPointingDevice device 
)
inline

Definition at line 32 of file qeventpoint_p.h.

◆ QEventPointPrivate() [2/2]

QEventPointPrivate::QEventPointPrivate ( int  pointId,
QEventPoint::State  state,
const QPointF scenePosition,
const QPointF globalPosition 
)
inline

Definition at line 35 of file qeventpoint_p.h.

References pressure, QEventPoint::Released, and state.

Member Function Documentation

◆ operator==()

bool QEventPointPrivate::operator== ( const QEventPointPrivate other) const
inline

Definition at line 41 of file qeventpoint_p.h.

References device, ellipseDiameters, globalGrabPos, globalLastPos, globalPos, globalPressPos, lastTimestamp, other(), pointId, pos, pressTimestamp, pressure, rotation, scenePos, state, timestamp, uniqueId, velocity, and window.

+ Here is the call graph for this function:

Member Data Documentation

◆ accept

bool QEventPointPrivate::accept = false

Definition at line 79 of file qeventpoint_p.h.

Referenced by QEventPoint::isAccepted(), and QEventPoint::setAccepted().

◆ device

const QPointingDevice* QEventPointPrivate::device = nullptr

◆ ellipseDiameters

QSizeF QEventPointPrivate::ellipseDiameters = QSizeF(0, 0)

Definition at line 71 of file qeventpoint_p.h.

Referenced by QEventPoint::ellipseDiameters(), and operator==().

◆ globalGrabPos

QPointF QEventPointPrivate::globalGrabPos

◆ globalLastPos

◆ globalPos

◆ globalPressPos

QPointF QEventPointPrivate::globalPressPos

◆ lastTimestamp

ulong QEventPointPrivate::lastTimestamp = 0

◆ pointId

int QEventPointPrivate::pointId = -1

Definition at line 77 of file qeventpoint_p.h.

Referenced by QEventPoint::id(), and operator==().

◆ pos

◆ pressTimestamp

ulong QEventPointPrivate::pressTimestamp = 0

◆ pressure

qreal QEventPointPrivate::pressure = 1

Definition at line 69 of file qeventpoint_p.h.

Referenced by QEventPointPrivate(), operator==(), and QEventPoint::pressure().

◆ rotation

qreal QEventPointPrivate::rotation = 0

Definition at line 70 of file qeventpoint_p.h.

Referenced by operator==(), and QEventPoint::rotation().

◆ scenePos

◆ state

QEventPoint::State QEventPointPrivate::state = QEventPoint::State::Unknown

Definition at line 78 of file qeventpoint_p.h.

Referenced by QEventPointPrivate(), operator==(), and QEventPoint::state().

◆ target

QPointer<QObject> QEventPointPrivate::target

Definition at line 66 of file qeventpoint_p.h.

◆ timestamp

ulong QEventPointPrivate::timestamp = 0

◆ uniqueId

QPointingDeviceUniqueId QEventPointPrivate::uniqueId

Definition at line 76 of file qeventpoint_p.h.

Referenced by operator==(), and QEventPoint::uniqueId().

◆ velocity

QVector2D QEventPointPrivate::velocity

◆ window

QPointer<QWindow> QEventPointPrivate::window

Definition at line 65 of file qeventpoint_p.h.

Referenced by operator==().


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