- 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
-
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) Overloaded constructor forQTouchEvent(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
(QEvent.Type eventType, QPointingDevice device, Qt.KeyboardModifiers modifiers, QEventPoint.States touchPointStates, Collection<? extends QEventPoint> touchPoints) SeeQTouchEvent::
QTouchEvent(QEvent::Type, const QPointingDevice*, Qt::KeyboardModifiers, QEventPoint::States, QList<QEventPoint>) QTouchEvent
(QEvent.Type eventType, QPointingDevice device, Qt.KeyboardModifiers modifiers, Collection<? extends QEventPoint> touchPoints) SeeQTouchEvent::
QTouchEvent(QEvent::Type, const QPointingDevice*, Qt::KeyboardModifiers, QList<QEventPoint>) protected
QTouchEvent
(QTouchEvent arg__1) SeeQTouchEvent::
QTouchEvent(QTouchEvent) -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
assign
(QTouchEvent other) SeeQTouchEvent::
operator=(QTouchEvent) clone()
boolean
SeeQPointerEvent::
isBeginEvent()const boolean
SeeQPointerEvent::
isEndEvent()const boolean
SeeQPointerEvent::
isUpdateEvent()const protected final void
set
(QTouchEvent other) Deprecated.protected final void
SeeQTouchEvent::
m_target protected final void
setTouchPointStates
(QEventPoint.State ... touchPointStates) Overloaded function forsetTouchPointStates(io.qt.gui.QEventPoint.States)
.protected final void
setTouchPointStates
(QEventPoint.States touchPointStates) SeeQTouchEvent::
m_touchPointStates final QObject
target()
final QList<QEventPoint>
Deprecated.UseQPointerEvent.points()
insteadfinal QEventPoint.States
Methods inherited from class io.qt.gui.QPointerEvent
addPassiveGrabber, allPointsAccepted, allPointsGrabbed, assign, clearPassiveGrabbers, exclusiveGrabber, passiveGrabbers, point, pointById, pointCount, pointerType, pointingDevice, points, removePassiveGrabber, set, setAccepted, setExclusiveGrabber, setPoint, setTimestamp
Methods inherited from class io.qt.gui.QInputEvent
assign, device, deviceType, modifiers, set, setDevice, setModifiers, setModifiers, timestamp
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, isInputEvent, isPointerEvent, isSinglePointEvent, registerEventType, registerEventType, set, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QTouchEvent
public QTouchEvent(QEvent.Type eventType, QPointingDevice device, Qt.KeyboardModifiers modifiers, QEventPoint.States touchPointStates, Collection<? extends QEventPoint> touchPoints) See
QTouchEvent::
QTouchEvent(QEvent::Type, const QPointingDevice*, Qt::KeyboardModifiers, QEventPoint::States, QList<QEventPoint>) -
QTouchEvent
public QTouchEvent(QEvent.Type eventType, QPointingDevice device, Qt.KeyboardModifiers modifiers, Collection<? extends QEventPoint> touchPoints) See
QTouchEvent::
QTouchEvent(QEvent::Type, const QPointingDevice*, Qt::KeyboardModifiers, QList<QEventPoint>) -
QTouchEvent
See
QTouchEvent::
QTouchEvent(QTouchEvent) -
QTouchEvent
public QTouchEvent(QEvent.Type eventType, QPointingDevice device, Qt.KeyboardModifiers modifiers, QEventPoint.States touchPointStates) Overloaded 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
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()
-
-
Method Details
-
assign
See
QTouchEvent::
operator=(QTouchEvent) -
target
-
touchPointStates
-
touchPoints
Deprecated.UseQPointerEvent.points()
insteadSee
QTouchEvent::
touchPoints()const -
clone
This function was introduced in Qt 6.0.
- Overrides:
clone
in classQPointerEvent
-
isBeginEvent
See
QPointerEvent::
isBeginEvent()const - Overrides:
isBeginEvent
in classQPointerEvent
-
isEndEvent
See
QPointerEvent::
isEndEvent()const - Overrides:
isEndEvent
in classQPointerEvent
-
isUpdateEvent
See
QPointerEvent::
isUpdateEvent()const - Overrides:
isUpdateEvent
in classQPointerEvent
-
setTarget
See
QTouchEvent::
m_target -
setTouchPointStates
See
QTouchEvent::
m_touchPointStates -
set
Deprecated.Useassign(io.qt.gui.QTouchEvent)
instead. -
setTouchPointStates
Overloaded function for
setTouchPointStates(io.qt.gui.QEventPoint.States)
.
-
assign(io.qt.gui.QTouchEvent)
instead.