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>.
|
#include <qquickforeignutils_p.h>
Additional Inherited Members | |
Public Types inherited from QEventPoint | |
enum | State : quint8 { Unknown = Qt::TouchPointUnknownState , Stationary = Qt::TouchPointStationary , Pressed = Qt::TouchPointPressed , Updated = Qt::TouchPointMoved , Released = Qt::TouchPointReleased } |
Specifies the state of this event point. More... | |
Public Member Functions inherited from QEventPoint | |
QEventPoint (int id=-1, const QPointingDevice *device=nullptr) | |
QEventPoint (int pointId, State state, const QPointF &scenePosition, const QPointF &globalPosition) | |
Constructs an event point with the given pointId, state, scenePosition and globalPosition. | |
QEventPoint (const QEventPoint &other) noexcept | |
Constructs an event point by making a shallow copy of other. | |
QEventPoint & | operator= (const QEventPoint &other) noexcept |
Assigns other to this event point and returns a reference to this event point. | |
QEventPoint (QEventPoint &&other) noexcept=default | |
Constructs an event point by moving other. | |
bool | operator== (const QEventPoint &other) const noexcept |
Returns true if this event point is equal to other, otherwise return false . | |
bool | operator!= (const QEventPoint &other) const noexcept |
Returns true if this event point is not equal to other, otherwise return false . | |
~QEventPoint () | |
Destroys the event point. | |
void | swap (QEventPoint &other) noexcept |
QPointF | position () const |
QPointF | pressPosition () const |
QPointF | grabPosition () const |
QPointF | lastPosition () const |
QPointF | scenePosition () const |
QPointF | scenePressPosition () const |
QPointF | sceneGrabPosition () const |
QPointF | sceneLastPosition () const |
QPointF | globalPosition () const |
QPointF | globalPressPosition () const |
QPointF | globalGrabPosition () const |
QPointF | globalLastPosition () const |
QPointF | normalizedPosition () const |
Returns the normalized position of this point. | |
QVector2D | velocity () const |
State | state () const |
const QPointingDevice * | device () const |
int | id () const |
QPointingDeviceUniqueId | uniqueId () const |
ulong | timestamp () const |
ulong | lastTimestamp () const |
ulong | pressTimestamp () const |
qreal | timeHeld () const |
qreal | pressure () const |
qreal | rotation () const |
QSizeF | ellipseDiameters () const |
bool | isAccepted () const |
void | setAccepted (bool accepted=true) |
Properties inherited from QEventPoint | |
bool | accepted |
the accepted state of the event point. | |
const QPointingDevice * | device |
the pointing device from which this event point originates. | |
int | id |
the ID number of this event point. | |
QPointingDeviceUniqueId | uniqueId |
the unique ID of this point or token, if any. | |
State | state |
the current state of the event point. | |
ulong | timestamp |
the most recent time at which this point was included in a QPointerEvent. | |
ulong | pressTimestamp |
the most recent time at which this point was pressed. | |
ulong | lastTimestamp |
the time from the previous QPointerEvent that contained this point. | |
qreal | timeHeld |
the duration, in seconds, since this point was pressed and not released. | |
qreal | pressure |
the pressure of this point. | |
qreal | rotation |
the angular orientation of this point. | |
QSizeF | ellipseDiameters |
the width and height of the bounding ellipse of the touch point. | |
QVector2D | velocity |
a velocity vector, in units of pixels per second, in the coordinate. | |
QPointF | position |
the position of this point. | |
QPointF | pressPosition |
the position at which this point was pressed. | |
QPointF | grabPosition |
the position at which this point was grabbed. | |
QPointF | lastPosition |
the position of this point from the previous press or move event. | |
QPointF | scenePosition |
the scene position of this point. | |
QPointF | scenePressPosition |
the scene position at which this point was pressed. | |
QPointF | sceneGrabPosition |
the scene position at which this point was grabbed. | |
QPointF | sceneLastPosition |
the scene position of this point from the previous press or move event. | |
QPointF | globalPosition |
the global position of this point. | |
QPointF | globalPressPosition |
the global position at which this point was pressed. | |
QPointF | globalGrabPosition |
the global position at which this point was grabbed. | |
QPointF | globalLastPosition |
the global position of this point from the previous press or move event. | |
Definition at line 105 of file qquickforeignutils_p.h.