java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QEventPoint
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Information about a point in a QPointerEvent
Java wrapper for Qt class QEventPoint
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QEventPoint::Statestatic final class
QFlags type for enumQEventPoint.State
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Modifier and TypeFieldDescriptionstatic final QMetaObject
This variable stores the meta-object for the class. -
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forQEventPoint(int, io.qt.gui.QPointingDevice)
QEventPoint
(int id) Overloaded constructor forQEventPoint(int, io.qt.gui.QPointingDevice)
withdevice = null
.QEventPoint
(int pointId, QEventPoint.State state, QPointF scenePosition, QPointF globalPosition) QEventPoint
(int id, QPointingDevice device) QEventPoint
(QEventPoint other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final QPointingDevice
device()
final QSizeF
boolean
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface.final QPointF
final QPointF
final QPointF
final QPointF
final QPointF
int
hashCode()
final int
id()
final boolean
final QPointF
final int
final QPointF
final QPointF
position()
final QPointF
final int
final double
pressure()
final double
rotation()
final QPointF
final QPointF
final QPointF
final QPointF
final void
set
(QEventPoint other) final void
Overloaded function forsetAccepted(boolean)
withaccepted = true
.final void
setAccepted
(boolean accepted) final QEventPoint.State
state()
final void
swap
(QEventPoint other) final double
timeHeld()
final int
toString()
final QPointingDeviceUniqueId
uniqueId()
final QVector2D
velocity()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Field Details
-
staticMetaObject
This variable stores the meta-object for the class.
-
-
Constructor Details
-
QEventPoint
-
QEventPoint
public QEventPoint(int id) Overloaded constructor for
QEventPoint(int, io.qt.gui.QPointingDevice)
withdevice = null
. -
QEventPoint
public QEventPoint() -
QEventPoint
-
QEventPoint
public QEventPoint(int pointId, QEventPoint.State state, QPointF scenePosition, QPointF globalPosition) -
QEventPoint
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
device
-
ellipseDiameters
-
globalGrabPosition
-
globalLastPosition
-
globalPosition
-
globalPressPosition
-
grabPosition
-
id
-
isAccepted
-
lastPosition
-
lastTimestamp
-
normalizedPosition
-
set
-
position
-
pressPosition
-
pressTimestamp
-
pressure
-
rotation
-
sceneGrabPosition
-
sceneLastPosition
-
scenePosition
-
scenePressPosition
-
setAccepted
Overloaded function for
setAccepted(boolean)
withaccepted = true
. -
setAccepted
-
state
-
swap
-
timeHeld
-
timestamp
-
uniqueId
-
velocity
-
equals
Description copied from class:QtObject
Used to check if this object shares native resources with the other object if the other object is a subtype of QtJambiInterface. Otherwise it will return the result of calling the super class implementation. -
hashCode
-
toString
-
clone
-