- All Implemented Interfaces:
QtObjectInterface
public class QTouchEvent extends QPointerEvent
Contains parameters that describe a touch event
Java wrapper for Qt class QTouchEvent
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description QTouchEvent
clone()
boolean
isBeginEvent()
boolean
isEndEvent()
boolean
isUpdateEvent()
protected void
set(QTouchEvent other)
protected void
setTarget(QObject target)
protected void
setTouchPointStates(QEventPoint.State... touchPointStates)
Overloaded function forsetTouchPointStates(io.qt.gui.QEventPoint.States)
.protected void
setTouchPointStates(QEventPoint.States touchPointStates)
QObject
target()
String
toString()
QList<QEventPoint>
touchPoints()
Deprecated.UseQPointerEvent.points()
insteadQEventPoint.States
touchPointStates()
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
-
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
-