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
- Since:
- This class was introduced in Qt 6.0.
-
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
- Parameters:
other
-
-
QEventPoint
public QEventPoint(int pointId, QEventPoint.State state, QPointF scenePosition, QPointF globalPosition) - Parameters:
pointId
-state
-scenePosition
-globalPosition
-
-
QEventPoint
See
QEventPoint::
QEventPoint(int, const QPointingDevice*) - Parameters:
id
-device
-
-
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
- Returns:
-
ellipseDiameters
- Returns:
-
globalGrabPosition
- Returns:
-
globalLastPosition
- Returns:
-
globalPosition
- Returns:
-
globalPressPosition
- Returns:
-
grabPosition
- Returns:
-
id
- Returns:
-
isAccepted
- Returns:
-
lastPosition
- Returns:
-
lastTimestamp
- Returns:
-
normalizedPosition
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
position
- Returns:
-
pressPosition
- Returns:
-
pressTimestamp
- Returns:
-
pressure
- Returns:
-
rotation
- Returns:
-
sceneGrabPosition
- Returns:
-
sceneLastPosition
- Returns:
-
scenePosition
- Returns:
-
scenePressPosition
- Returns:
-
setAccepted
- Parameters:
accepted
-
-
state
- Returns:
-
swap
See
QEventPoint::
swap(QEventPoint&) - Parameters:
other
-
-
timeHeld
- Returns:
-
timestamp
- Returns:
-
uniqueId
- Returns:
-
velocity
- Returns:
-
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.