- 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
public QEventPoint(int id) Overloaded constructor for
QEventPoint(int, io.qt.gui.QPointingDevice)
withdevice = null
. -
QEventPoint
public QEventPoint() -
QEventPoint
See
QEventPoint::
QEventPoint(int, const QPointingDevice*) -
QEventPoint
public QEventPoint(int pointId, QEventPoint.State state, QPointF scenePosition, QPointF globalPosition)
-
-
Method Details
-
getDevice
Kotlin property getter. In Java use
device()
instead. -
device
-
getEllipseDiameters
Kotlin property getter. In Java use
ellipseDiameters()
instead. -
ellipseDiameters
-
getGlobalGrabPosition
Kotlin property getter. In Java use
globalGrabPosition()
instead. -
globalGrabPosition
-
getGlobalLastPosition
Kotlin property getter. In Java use
globalLastPosition()
instead. -
globalLastPosition
-
getGlobalPosition
Kotlin property getter. In Java use
globalPosition()
instead. -
globalPosition
-
getGlobalPressPosition
Kotlin property getter. In Java use
globalPressPosition()
instead. -
globalPressPosition
-
getGrabPosition
Kotlin property getter. In Java use
grabPosition()
instead. -
grabPosition
-
getId
Kotlin property getter. In Java use
id()
instead. -
id
-
getAccepted
Kotlin property getter. In Java use
isAccepted()
instead. -
isAccepted
-
getLastPosition
Kotlin property getter. In Java use
lastPosition()
instead. -
lastPosition
-
getLastTimestamp
Kotlin property getter. In Java use
lastTimestamp()
instead. -
lastTimestamp
-
normalizedPosition
-
set
Deprecated.Useassign(io.qt.gui.QEventPoint)
instead. -
assign
-
getPosition
Kotlin property getter. In Java use
position()
instead. -
position
-
getPressPosition
Kotlin property getter. In Java use
pressPosition()
instead. -
pressPosition
-
getPressTimestamp
Kotlin property getter. In Java use
pressTimestamp()
instead. -
pressTimestamp
-
getPressure
Kotlin property getter. In Java use
pressure()
instead. -
pressure
-
getRotation
Kotlin property getter. In Java use
rotation()
instead. -
rotation
-
getSceneGrabPosition
Kotlin property getter. In Java use
sceneGrabPosition()
instead. -
sceneGrabPosition
-
getSceneLastPosition
Kotlin property getter. In Java use
sceneLastPosition()
instead. -
sceneLastPosition
-
getScenePosition
Kotlin property getter. In Java use
scenePosition()
instead. -
scenePosition
-
getScenePressPosition
Kotlin property getter. In Java use
scenePressPosition()
instead. -
scenePressPosition
-
setAccepted
Overloaded function for
setAccepted(boolean)
withaccepted = true
. -
setAccepted
-
getState
Kotlin property getter. In Java use
state()
instead. -
state
-
swap
See
QEventPoint::
swap(QEventPoint&) -
getTimeHeld
Kotlin property getter. In Java use
timeHeld()
instead. -
timeHeld
-
getTimestamp
Kotlin property getter. In Java use
timestamp()
instead. -
timestamp
-
getUniqueId
Kotlin property getter. In Java use
uniqueId()
instead. -
uniqueId
-
getVelocity
Kotlin property getter. In Java use
velocity()
instead. -
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.
-
assign(io.qt.gui.QEventPoint)
instead.