- 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.gui.QPointerEvent
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) QTouchEvent
(QEvent.Type eventType, QPointingDevice device, Qt.KeyboardModifiers modifiers, Collection<? extends QEventPoint> touchPoints) protected
QTouchEvent
(QTouchEvent arg__1) -
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()
instead@returnfinal 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) - Parameters:
eventType
-device
-modifiers
-touchPointStates
-touchPoints
-
-
QTouchEvent
public QTouchEvent(QEvent.Type eventType, QPointingDevice device, Qt.KeyboardModifiers modifiers, Collection<? extends QEventPoint> touchPoints) - Parameters:
eventType
-device
-modifiers
-touchPoints
-
-
QTouchEvent
- Parameters:
arg__1
-
-
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) - Parameters:
other
-
-
target
- Returns:
-
touchPointStates
- Returns:
-
touchPoints
Deprecated.UseQPointerEvent.points()
instead@returnSee
QTouchEvent::
touchPoints()const -
clone
- Overrides:
clone
in classQPointerEvent
- Returns:
- Since:
- This function was introduced in Qt 6.0.
-
isBeginEvent
See
QPointerEvent::
isBeginEvent()const - Overrides:
isBeginEvent
in classQPointerEvent
- Returns:
-
isEndEvent
See
QPointerEvent::
isEndEvent()const - Overrides:
isEndEvent
in classQPointerEvent
- Returns:
-
isUpdateEvent
See
QPointerEvent::
isUpdateEvent()const - Overrides:
isUpdateEvent
in classQPointerEvent
- Returns:
-
setTarget
See
QTouchEvent::
m_target - Parameters:
target
-
-
setTouchPointStates
See
QTouchEvent::
m_touchPointStates - Parameters:
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.