- 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 enumQEventPoint::State
static 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
ConstructorDescriptionOverloaded 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) SeeQEventPoint::
QEventPoint(int, const QPointingDevice*) QEventPoint
(QEventPoint other) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QEventPoint other) clone()
Creates and returns a copy of this object.final QPointingDevice
device()
final QSizeF
boolean
final boolean
Kotlin property getter.final QPointingDevice
Kotlin property getter.final QSizeF
Kotlin property getter.final QPointF
Kotlin property getter.final QPointF
Kotlin property getter.final QPointF
Kotlin property getter.final QPointF
Kotlin property getter.final QPointF
Kotlin property getter.final int
getId()
Kotlin property getter.final QPointF
Kotlin property getter.final int
Kotlin property getter.final QPointF
Kotlin property getter.final QPointF
Kotlin property getter.final int
Kotlin property getter.final double
Kotlin property getter.final double
Kotlin property getter.final QPointF
Kotlin property getter.final QPointF
Kotlin property getter.final QPointF
Kotlin property getter.final QPointF
Kotlin property getter.final QEventPoint.State
getState()
Kotlin property getter.final double
Kotlin property getter.final int
Kotlin property getter.final QPointingDeviceUniqueId
Kotlin property getter.final QVector2D
Kotlin property getter.final QPointF
final QPointF
final QPointF
final QPointF
final QPointF
int
hashCode()
Returns the objects's hash code computed byqHash(QEventPoint)
.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) Deprecated.final void
Overloaded function forsetAccepted(boolean)
withaccepted = true
.final void
setAccepted
(boolean accepted) final QEventPoint.State
state()
final void
swap
(QEventPoint other) SeeQEventPoint::
swap(QEventPoint&) final double
timeHeld()
final int
toString()
Seeoperator<<(QDebug,
QEventPoint) 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
See
QEventPoint::
QEventPoint(int, const QPointingDevice*) -
QEventPoint
public QEventPoint(int pointId, QEventPoint.State state, QPointF scenePosition, QPointF globalPosition) -
QEventPoint
public QEventPoint(int id) Overloaded constructor for
QEventPoint(int, io.qt.gui.QPointingDevice)
withdevice = null
. -
QEventPoint
public QEventPoint()
-
-
Method Details
-
device
-
ellipseDiameters
-
globalGrabPosition
-
globalLastPosition
-
globalPosition
-
globalPressPosition
-
grabPosition
-
id
-
isAccepted
-
lastPosition
-
lastTimestamp
-
normalizedPosition
-
assign
-
position
-
pressPosition
-
pressTimestamp
-
pressure
-
rotation
-
sceneGrabPosition
-
sceneLastPosition
-
scenePosition
-
scenePressPosition
-
setAccepted
-
state
-
swap
See
QEventPoint::
swap(QEventPoint&) -
timeHeld
-
timestamp
-
uniqueId
-
velocity
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QEventPoint)
. -
toString
See
operator<<(QDebug,
QEventPoint) -
clone
Creates and returns a copy of this object.
-
getDevice
Kotlin property getter. In Java use
device()
instead. -
getEllipseDiameters
Kotlin property getter. In Java use
ellipseDiameters()
instead. -
getGlobalGrabPosition
Kotlin property getter. In Java use
globalGrabPosition()
instead. -
getGlobalLastPosition
Kotlin property getter. In Java use
globalLastPosition()
instead. -
getGlobalPosition
Kotlin property getter. In Java use
globalPosition()
instead. -
getGlobalPressPosition
Kotlin property getter. In Java use
globalPressPosition()
instead. -
getGrabPosition
Kotlin property getter. In Java use
grabPosition()
instead. -
getId
Kotlin property getter. In Java use
id()
instead. -
getAccepted
Kotlin property getter. In Java use
isAccepted()
instead. -
getLastPosition
Kotlin property getter. In Java use
lastPosition()
instead. -
getLastTimestamp
Kotlin property getter. In Java use
lastTimestamp()
instead. -
set
Deprecated.Useassign(io.qt.gui.QEventPoint)
instead. -
getPosition
Kotlin property getter. In Java use
position()
instead. -
getPressPosition
Kotlin property getter. In Java use
pressPosition()
instead. -
getPressTimestamp
Kotlin property getter. In Java use
pressTimestamp()
instead. -
getPressure
Kotlin property getter. In Java use
pressure()
instead. -
getRotation
Kotlin property getter. In Java use
rotation()
instead. -
getSceneGrabPosition
Kotlin property getter. In Java use
sceneGrabPosition()
instead. -
getSceneLastPosition
Kotlin property getter. In Java use
sceneLastPosition()
instead. -
getScenePosition
Kotlin property getter. In Java use
scenePosition()
instead. -
getScenePressPosition
Kotlin property getter. In Java use
scenePressPosition()
instead. -
setAccepted
Overloaded function for
setAccepted(boolean)
withaccepted = true
. -
getState
Kotlin property getter. In Java use
state()
instead. -
getTimeHeld
Kotlin property getter. In Java use
timeHeld()
instead. -
getTimestamp
Kotlin property getter. In Java use
timestamp()
instead. -
getUniqueId
Kotlin property getter. In Java use
uniqueId()
instead. -
getVelocity
Kotlin property getter. In Java use
velocity()
instead.
-
assign(io.qt.gui.QEventPoint)
instead.