- All Implemented Interfaces:
QtObjectInterface
,Cloneable
- Enclosing class:
QTouchEvent
Information about a touch point in a QTouchEvent
Java wrapper for Qt class QTouchEvent::TouchPoint
- Since:
- This class was introduced in Qt 4.6.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enumQTouchEvent::TouchPoint::InfoFlag
static final class
QFlags
type for enumQTouchEvent.TouchPoint.InfoFlag
-
Constructor Summary
ConstructorDescriptionOverloaded constructor forTouchPoint(int)
withid = -1
.TouchPoint
(int id) TouchPoint
(QTouchEvent.TouchPoint other) -
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QTouchEvent.TouchPoint other) SeeQTouchEvent::TouchPoint::
operator=(QTouchEvent::TouchPoint) clone()
Creates and returns a copy of this object.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()
final double
rotation()
final QPointF
scenePos()
final QRectF
final QPointF
final QRectF
final void
setEllipseDiameters
(QSize dia) Overloaded function forsetEllipseDiameters(io.qt.core.QSizeF)
.final void
SeeQTouchEvent::TouchPoint::
setEllipseDiameters(QSizeF) final void
setFlags
(QTouchEvent.TouchPoint.InfoFlag ... flags) Overloaded function forsetFlags(io.qt.gui.QTouchEvent.TouchPoint.InfoFlags)
.final void
SeeQTouchEvent::TouchPoint::
setFlags(QTouchEvent::TouchPoint::InfoFlags) final void
setId
(int id) SeeQTouchEvent::TouchPoint::
setId(int) final void
setLastNormalizedPos
(QPoint lastNormalizedPos) Overloaded function forsetLastNormalizedPos(io.qt.core.QPointF)
.final void
setLastNormalizedPos
(QPointF lastNormalizedPos) SeeQTouchEvent::TouchPoint::
setLastNormalizedPos(QPointF) final void
setLastPos
(QPoint lastPos) Overloaded function forsetLastPos(io.qt.core.QPointF)
.final void
setLastPos
(QPointF lastPos) SeeQTouchEvent::TouchPoint::
setLastPos(QPointF) final void
setLastScenePos
(QPoint lastScenePos) Overloaded function forsetLastScenePos(io.qt.core.QPointF)
.final void
setLastScenePos
(QPointF lastScenePos) SeeQTouchEvent::TouchPoint::
setLastScenePos(QPointF) final void
setLastScreenPos
(QPoint lastScreenPos) Overloaded function forsetLastScreenPos(io.qt.core.QPointF)
.final void
setLastScreenPos
(QPointF lastScreenPos) SeeQTouchEvent::TouchPoint::
setLastScreenPos(QPointF) final void
setNormalizedPos
(QPoint normalizedPos) Overloaded function forsetNormalizedPos(io.qt.core.QPointF)
.final void
setNormalizedPos
(QPointF normalizedPos) SeeQTouchEvent::TouchPoint::
setNormalizedPos(QPointF) final void
Overloaded function forsetPos(io.qt.core.QPointF)
.final void
SeeQTouchEvent::TouchPoint::
setPos(QPointF) final void
setPressure
(double pressure) SeeQTouchEvent::TouchPoint::
setPressure(qreal) final void
setRawScreenPositions
(Collection<? extends QPointF> positions) SeeQTouchEvent::TouchPoint::
setRawScreenPositions(QVector<QPointF>) final void
Overloaded function forsetRect(io.qt.core.QRectF)
.final void
SeeQTouchEvent::TouchPoint::
setRect(QRectF) final void
setRotation
(double angle) SeeQTouchEvent::TouchPoint::
setRotation(qreal) final void
setScenePos
(QPoint scenePos) Overloaded function forsetScenePos(io.qt.core.QPointF)
.final void
setScenePos
(QPointF scenePos) SeeQTouchEvent::TouchPoint::
setScenePos(QPointF) final void
setSceneRect
(QRect sceneRect) Overloaded function forsetSceneRect(io.qt.core.QRectF)
.final void
setSceneRect
(QRectF sceneRect) SeeQTouchEvent::TouchPoint::
setSceneRect(QRectF) final void
setScreenPos
(QPoint screenPos) Overloaded function forsetScreenPos(io.qt.core.QPointF)
.final void
setScreenPos
(QPointF screenPos) SeeQTouchEvent::TouchPoint::
setScreenPos(QPointF) final void
setScreenRect
(QRect screenRect) Overloaded function forsetScreenRect(io.qt.core.QRectF)
.final void
setScreenRect
(QRectF screenRect) SeeQTouchEvent::TouchPoint::
setScreenRect(QRectF) final void
setStartNormalizedPos
(QPoint startNormalizedPos) Overloaded function forsetStartNormalizedPos(io.qt.core.QPointF)
.final void
setStartNormalizedPos
(QPointF startNormalizedPos) SeeQTouchEvent::TouchPoint::
setStartNormalizedPos(QPointF) final void
setStartPos
(QPoint startPos) Overloaded function forsetStartPos(io.qt.core.QPointF)
.final void
setStartPos
(QPointF startPos) SeeQTouchEvent::TouchPoint::
setStartPos(QPointF) final void
setStartScenePos
(QPoint startScenePos) Overloaded function forsetStartScenePos(io.qt.core.QPointF)
.final void
setStartScenePos
(QPointF startScenePos) SeeQTouchEvent::TouchPoint::
setStartScenePos(QPointF) final void
setStartScreenPos
(QPoint startScreenPos) Overloaded function forsetStartScreenPos(io.qt.core.QPointF)
.final void
setStartScreenPos
(QPointF startScreenPos) SeeQTouchEvent::TouchPoint::
setStartScreenPos(QPointF) final void
setState
(Qt.TouchPointState ... state) Overloaded function forsetState(io.qt.core.Qt.TouchPointStates)
.final void
setState
(Qt.TouchPointStates state) SeeQTouchEvent::TouchPoint::
setState(Qt::TouchPointStates) final void
setUniqueId
(long uid) SeeQTouchEvent::TouchPoint::
setUniqueId(qint64) final void
SeeQTouchEvent::TouchPoint::
setVelocity(QVector2D) final QPointF
final QPointF
startPos()
final QPointF
final QPointF
final Qt.TouchPointState
state()
final void
swap
(QTouchEvent.TouchPoint other) SeeQTouchEvent::TouchPoint::
swap(QTouchEvent::TouchPoint&) toString()
Seeoperator<<(QDebug,
QTouchEvent::TouchPoint) final QPointingDeviceUniqueId
uniqueId()
final QVector2D
velocity()
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
TouchPoint
- Parameters:
other
-
-
TouchPoint
public TouchPoint(int id) - Parameters:
id
-
-
TouchPoint
public TouchPoint()Overloaded constructor for
TouchPoint(int)
withid = -1
.
-
-
Method Details
-
ellipseDiameters
- Returns:
- Since:
- This function was introduced in Qt 5.9.
-
flags
- Returns:
-
id
- Returns:
-
lastNormalizedPos
- Returns:
-
lastPos
- Returns:
-
lastScenePos
- Returns:
-
lastScreenPos
- Returns:
-
normalizedPos
- Returns:
-
assign
See
QTouchEvent::TouchPoint::
operator=(QTouchEvent::TouchPoint) - Parameters:
other
-
-
pos
- Returns:
-
pressure
- Returns:
-
rawScreenPositions
- Returns:
- Since:
- This function was introduced in Qt 5.0.
-
rect
- Returns:
-
rotation
- Returns:
- Since:
- This function was introduced in Qt 5.8.
-
scenePos
- Returns:
-
sceneRect
- Returns:
-
screenPos
- Returns:
-
screenRect
- Returns:
-
setEllipseDiameters
See
QTouchEvent::TouchPoint::
setEllipseDiameters(QSizeF) - Parameters:
dia
-
-
setFlags
See
QTouchEvent::TouchPoint::
setFlags(QTouchEvent::TouchPoint::InfoFlags) - Parameters:
flags
-
-
setId
See
QTouchEvent::TouchPoint::
setId(int) - Parameters:
id
-
-
setLastNormalizedPos
See
QTouchEvent::TouchPoint::
setLastNormalizedPos(QPointF) - Parameters:
lastNormalizedPos
-
-
setLastPos
See
QTouchEvent::TouchPoint::
setLastPos(QPointF) - Parameters:
lastPos
-
-
setLastScenePos
See
QTouchEvent::TouchPoint::
setLastScenePos(QPointF) - Parameters:
lastScenePos
-
-
setLastScreenPos
See
QTouchEvent::TouchPoint::
setLastScreenPos(QPointF) - Parameters:
lastScreenPos
-
-
setNormalizedPos
See
QTouchEvent::TouchPoint::
setNormalizedPos(QPointF) - Parameters:
normalizedPos
-
-
setPos
See
QTouchEvent::TouchPoint::
setPos(QPointF) - Parameters:
pos
-
-
setPressure
See
QTouchEvent::TouchPoint::
setPressure(qreal) - Parameters:
pressure
-
-
setRawScreenPositions
See
QTouchEvent::TouchPoint::
setRawScreenPositions(QVector<QPointF>) - Parameters:
positions
-
-
setRect
See
QTouchEvent::TouchPoint::
setRect(QRectF) - Parameters:
rect
-
-
setRotation
See
QTouchEvent::TouchPoint::
setRotation(qreal) - Parameters:
angle
-
-
setScenePos
See
QTouchEvent::TouchPoint::
setScenePos(QPointF) - Parameters:
scenePos
-
-
setSceneRect
See
QTouchEvent::TouchPoint::
setSceneRect(QRectF) - Parameters:
sceneRect
-
-
setScreenPos
See
QTouchEvent::TouchPoint::
setScreenPos(QPointF) - Parameters:
screenPos
-
-
setScreenRect
See
QTouchEvent::TouchPoint::
setScreenRect(QRectF) - Parameters:
screenRect
-
-
setStartNormalizedPos
See
QTouchEvent::TouchPoint::
setStartNormalizedPos(QPointF) - Parameters:
startNormalizedPos
-
-
setStartPos
See
QTouchEvent::TouchPoint::
setStartPos(QPointF) - Parameters:
startPos
-
-
setStartScenePos
See
QTouchEvent::TouchPoint::
setStartScenePos(QPointF) - Parameters:
startScenePos
-
-
setStartScreenPos
See
QTouchEvent::TouchPoint::
setStartScreenPos(QPointF) - Parameters:
startScreenPos
-
-
setState
See
QTouchEvent::TouchPoint::
setState(Qt::TouchPointStates) - Parameters:
state
-
-
setUniqueId
See
QTouchEvent::TouchPoint::
setUniqueId(qint64) - Parameters:
uid
-
-
setVelocity
See
QTouchEvent::TouchPoint::
setVelocity(QVector2D) - Parameters:
v
-
-
startNormalizedPos
- Returns:
-
startPos
- Returns:
-
startScenePos
- Returns:
-
startScreenPos
- Returns:
-
state
- Returns:
-
swap
See
QTouchEvent::TouchPoint::
swap(QTouchEvent::TouchPoint&) - Parameters:
other
-
-
uniqueId
- Returns:
- Since:
- This function was introduced in Qt 5.8.
-
velocity
- Returns:
-
toString
See
operator<<(QDebug,
QTouchEvent::TouchPoint) -
clone
Creates and returns a copy of this object.
See
QTouchEvent::TouchPoint::
TouchPoint(QTouchEvent::TouchPoint) -
setEllipseDiameters
Overloaded function for
setEllipseDiameters(io.qt.core.QSizeF)
. -
setFlags
Overloaded function for
setFlags(io.qt.gui.QTouchEvent.TouchPoint.InfoFlags)
. -
setLastNormalizedPos
Overloaded function for
setLastNormalizedPos(io.qt.core.QPointF)
. -
setLastPos
Overloaded function for
setLastPos(io.qt.core.QPointF)
. -
setLastScenePos
Overloaded function for
setLastScenePos(io.qt.core.QPointF)
. -
setLastScreenPos
Overloaded function for
setLastScreenPos(io.qt.core.QPointF)
. -
setNormalizedPos
Overloaded function for
setNormalizedPos(io.qt.core.QPointF)
. -
setPos
Overloaded function for
setPos(io.qt.core.QPointF)
. -
setRect
Overloaded function for
setRect(io.qt.core.QRectF)
. -
setScenePos
Overloaded function for
setScenePos(io.qt.core.QPointF)
. -
setSceneRect
Overloaded function for
setSceneRect(io.qt.core.QRectF)
. -
setScreenPos
Overloaded function for
setScreenPos(io.qt.core.QPointF)
. -
setScreenRect
Overloaded function for
setScreenRect(io.qt.core.QRectF)
. -
setStartNormalizedPos
Overloaded function for
setStartNormalizedPos(io.qt.core.QPointF)
. -
setStartPos
Overloaded function for
setStartPos(io.qt.core.QPointF)
. -
setStartScenePos
Overloaded function for
setStartScenePos(io.qt.core.QPointF)
. -
setStartScreenPos
Overloaded function for
setStartScreenPos(io.qt.core.QPointF)
. -
setState
Overloaded function for
setState(io.qt.core.Qt.TouchPointStates)
.
-