java.lang.Object
io.qt.internal.QtJambiObject
io.qt.QtObject
io.qt.gui.QTouchEvent.TouchPoint
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QTouchEvent
Information about a touch point in a QTouchEvent
Java wrapper for Qt's class QTouchEvent::TouchPoint
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QTouchEvent::TouchPoint::InfoFlagstatic final class
QFlags type for enumQTouchEvent.TouchPoint.InfoFlag
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionOverloaded constructor forTouchPoint(int)
withid = -1
.TouchPoint
(int id) TouchPoint
(QTouchEvent.TouchPoint other) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
final QSizeF
flags()
final int
id()
final QPointF
final QPointF
lastPos()
final QPointF
final QPointF
final QPointF
final QPointF
pos()
final double
pressure()
final QRectF
rect()
Deprecated.Use pos() and ellipseDiameters()final double
rotation()
final QPointF
scenePos()
final QRectF
Deprecated.Use scenePos() and ellipseDiameters()final QPointF
final QRectF
Deprecated.Use screenPos() and ellipseDiameters()final void
final void
setFlags
(QTouchEvent.TouchPoint.InfoFlag... flags) Overloaded function forsetFlags(io.qt.gui.QTouchEvent.TouchPoint.InfoFlags)
.final void
final void
setId
(int id) final void
setLastNormalizedPos
(QPointF lastNormalizedPos) final void
setLastPos
(QPointF lastPos) final void
setLastScenePos
(QPointF lastScenePos) final void
setLastScreenPos
(QPointF lastScreenPos) final void
setNormalizedPos
(QPointF normalizedPos) final void
final void
setPressure
(double pressure) final void
setRawScreenPositions
(Collection<? extends QPointF> positions) final void
Deprecated.Use setPos() and setEllipseDiameters()final void
setRotation
(double angle) final void
setScenePos
(QPointF scenePos) final void
setSceneRect
(QRectF sceneRect) Deprecated.Use setScenePos() and setEllipseDiameters()final void
setScreenPos
(QPointF screenPos) final void
setScreenRect
(QRectF screenRect) Deprecated.Use setScreenPos() and setEllipseDiameters()final void
setStartNormalizedPos
(QPointF startNormalizedPos) final void
setStartPos
(QPointF startPos) final void
setStartScenePos
(QPointF startScenePos) final void
setStartScreenPos
(QPointF startScreenPos) final void
setState
(Qt.TouchPointState... state) Overloaded function forsetState(io.qt.core.Qt.TouchPointStates)
.final void
setState
(Qt.TouchPointStates state) final void
setUniqueId
(long uid) final void
final QPointF
final QPointF
startPos()
final QPointF
final QPointF
final Qt.TouchPointState
state()
final void
swap
(QTouchEvent.TouchPoint other) toString()
final QPointingDeviceUniqueId
uniqueId()
final QVector2D
velocity()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
TouchPoint
-
TouchPoint
public TouchPoint()Overloaded constructor for
TouchPoint(int)
withid = -1
. -
TouchPoint
public TouchPoint(int id) -
TouchPoint
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
ellipseDiameters
-
flags
-
id
-
lastNormalizedPos
-
lastPos
-
lastScenePos
-
lastScreenPos
-
normalizedPos
-
pos
-
pressure
-
rawScreenPositions
-
rect
Deprecated.Use pos() and ellipseDiameters() -
rotation
-
scenePos
-
sceneRect
Deprecated.Use scenePos() and ellipseDiameters() -
screenPos
-
screenRect
Deprecated.Use screenPos() and ellipseDiameters() -
setEllipseDiameters
-
setFlags
Overloaded function for
setFlags(io.qt.gui.QTouchEvent.TouchPoint.InfoFlags)
. -
setFlags
-
setId
-
setLastNormalizedPos
-
setLastPos
-
setLastScenePos
-
setLastScreenPos
-
setNormalizedPos
-
setPos
-
setPressure
-
setRawScreenPositions
-
setRect
Deprecated.Use setPos() and setEllipseDiameters() -
setRotation
-
setScenePos
-
setSceneRect
Deprecated.Use setScenePos() and setEllipseDiameters() -
setScreenPos
-
setScreenRect
Deprecated.Use setScreenPos() and setEllipseDiameters() -
setStartNormalizedPos
-
setStartPos
-
setStartScenePos
-
setStartScreenPos
-
setState
Overloaded function for
setState(io.qt.core.Qt.TouchPointStates)
. -
setState
-
setUniqueId
-
setVelocity
-
startNormalizedPos
-
startPos
-
startScenePos
-
startScreenPos
-
state
-
swap
-
uniqueId
-
velocity
-
toString
-
clone
-