- All Implemented Interfaces:
QtObjectInterface
Contains parameters that describe a touch event
Java wrapper for Qt class QTouchEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ModifierConstructorDescriptionQTouchEvent
(QEvent.Type eventType) QTouchEvent
(QEvent.Type eventType, QPointingDevice device) QTouchEvent
(QEvent.Type eventType, QPointingDevice device, Qt.KeyboardModifiers modifiers) Overloaded constructor forQTouchEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.Qt.KeyboardModifiers, java.util.Collection)
withtouchPoints = java.util.Collections.emptyList()
.QTouchEvent
(QEvent.Type eventType, QPointingDevice device, Qt.KeyboardModifiers modifiers, QEventPoint.States touchPointStates) Deprecated.Use another constructorQTouchEvent
(QEvent.Type eventType, QPointingDevice device, Qt.KeyboardModifiers modifiers, QEventPoint.States touchPointStates, Collection<QEventPoint> touchPoints) Deprecated.Use another constructorQTouchEvent
(QEvent.Type eventType, QPointingDevice device, Qt.KeyboardModifiers modifiers, Collection<QEventPoint> touchPoints) protected
QTouchEvent
(QTouchEvent arg__1) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
boolean
boolean
protected final void
set
(QTouchEvent other) protected final void
protected final void
setTouchPointStates
(QEventPoint.State... touchPointStates) Overloaded function forsetTouchPointStates(io.qt.gui.QEventPoint.States)
.protected final void
setTouchPointStates
(QEventPoint.States touchPointStates) final QObject
target()
toString()
final QList<QEventPoint>
Deprecated.UseQPointerEvent.points()
insteadfinal QEventPoint.States
Methods inherited from class io.qt.gui.QPointerEvent
addPassiveGrabber, allPointsAccepted, allPointsGrabbed, clearPassiveGrabbers, exclusiveGrabber, passiveGrabbers, point, pointById, pointCount, pointerType, pointingDevice, points, removePassiveGrabber, set, setAccepted, setExclusiveGrabber, setPoint, setTimestamp
Methods inherited from class io.qt.gui.QInputEvent
device, deviceType, modifiers, set, setDevice, setModifiers, setModifiers, timestamp
Methods inherited from class io.qt.core.QEvent
accept, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, spontaneous, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QTouchEvent
@Deprecated public QTouchEvent(QEvent.Type eventType, QPointingDevice device, Qt.KeyboardModifiers modifiers, QEventPoint.States touchPointStates) Deprecated.Use another constructorOverloaded constructor for
QTouchEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.Qt.KeyboardModifiers, io.qt.gui.QEventPoint.States, java.util.Collection)
withtouchPoints = java.util.Collections.emptyList()
. -
QTouchEvent
@Deprecated public QTouchEvent(QEvent.Type eventType, QPointingDevice device, Qt.KeyboardModifiers modifiers, QEventPoint.States touchPointStates, Collection<QEventPoint> touchPoints) Deprecated.Use another constructor -
QTouchEvent
Overloaded constructor for
QTouchEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.Qt.KeyboardModifiers, java.util.Collection)
withtouchPoints = java.util.Collections.emptyList()
. -
QTouchEvent
Overloaded constructor for
QTouchEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.Qt.KeyboardModifiers, java.util.Collection)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
touchPoints = java.util.Collections.emptyList()
-
QTouchEvent
Overloaded constructor for
QTouchEvent(io.qt.core.QEvent.Type, io.qt.gui.QPointingDevice, io.qt.core.Qt.KeyboardModifiers, java.util.Collection)
with:
device = null
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
touchPoints = java.util.Collections.emptyList()
-
QTouchEvent
public QTouchEvent(QEvent.Type eventType, QPointingDevice device, Qt.KeyboardModifiers modifiers, Collection<QEventPoint> touchPoints) -
QTouchEvent
-
QTouchEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
set
-
target
-
touchPointStates
-
touchPoints
Deprecated.UseQPointerEvent.points()
instead -
clone
- Overrides:
clone
in classQPointerEvent
-
isBeginEvent
- Overrides:
isBeginEvent
in classQPointerEvent
-
isEndEvent
- Overrides:
isEndEvent
in classQPointerEvent
-
isUpdateEvent
- Overrides:
isUpdateEvent
in classQPointerEvent
-
setTarget
-
setTouchPointStates
Overloaded function for
setTouchPointStates(io.qt.gui.QEventPoint.States)
. -
setTouchPointStates
-
toString
- Overrides:
toString
in classQPointerEvent
-