java.lang.Object
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 enumQEventPoint::State
static final class
QFlags
type for enumQEventPoint.State
-
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 id, QPointingDevice device) SeeQEventPoint::
QEventPoint(int, const QPointingDevice*) QEventPoint
(int pointId, QEventPoint.State state, QPointF scenePosition, QPoint globalPosition) Overloaded constructor forQEventPoint(int, io.qt.gui.QEventPoint.State, io.qt.core.QPointF, io.qt.core.QPointF)
.QEventPoint
(int pointId, QEventPoint.State state, QPointF scenePosition, QPointF globalPosition) QEventPoint
(int pointId, QEventPoint.State state, QPoint scenePosition, QPoint globalPosition) Overloaded constructor forQEventPoint(int, io.qt.gui.QEventPoint.State, io.qt.core.QPointF, io.qt.core.QPointF)
.QEventPoint
(int pointId, QEventPoint.State state, QPoint scenePosition, QPointF globalPosition) Overloaded constructor forQEventPoint(int, io.qt.gui.QEventPoint.State, io.qt.core.QPointF, io.qt.core.QPointF)
.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
final boolean
equals
(QEventPoint other) boolean
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 pointId, QEventPoint.State state, QPointF scenePosition, QPointF globalPosition) -
QEventPoint
See
QEventPoint::
QEventPoint(int, const QPointingDevice*) -
QEventPoint
public QEventPoint(int pointId, QEventPoint.State state, QPoint scenePosition, QPointF globalPosition) Overloaded constructor for
QEventPoint(int, io.qt.gui.QEventPoint.State, io.qt.core.QPointF, io.qt.core.QPointF)
. -
QEventPoint
public QEventPoint(int pointId, QEventPoint.State state, QPointF scenePosition, QPoint globalPosition) Overloaded constructor for
QEventPoint(int, io.qt.gui.QEventPoint.State, io.qt.core.QPointF, io.qt.core.QPointF)
. -
QEventPoint
public QEventPoint(int pointId, QEventPoint.State state, QPoint scenePosition, QPoint globalPosition) Overloaded constructor for
QEventPoint(int, io.qt.gui.QEventPoint.State, io.qt.core.QPointF, io.qt.core.QPointF)
. -
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
-
equals
-
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.
-
set
Deprecated.Useassign(io.qt.gui.QEventPoint)
instead. -
setAccepted
Overloaded function for
setAccepted(boolean)
withaccepted = true
.
-
assign(io.qt.gui.QEventPoint)
instead.