- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Contains parameters that describe a touch event
Java wrapper for Qt class QTouchEvent
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Information about a touch point in a QTouchEventNested classes/interfaces inherited from class io.qt.core.QEvent
QEvent.Type
-
Field Summary
Fields inherited from class io.qt.core.QEvent
staticMetaObject
-
Constructor Summary
ConstructorDescriptionQTouchEvent
(QEvent.Type eventType) QTouchEvent
(QEvent.Type eventType, QTouchDevice device) QTouchEvent
(QEvent.Type eventType, QTouchDevice device, Qt.KeyboardModifiers modifiers) QTouchEvent
(QEvent.Type eventType, QTouchDevice device, Qt.KeyboardModifiers modifiers, Qt.TouchPointStates touchPointStates) Overloaded constructor forQTouchEvent(io.qt.core.QEvent.Type, io.qt.gui.QTouchDevice, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.TouchPointStates, java.util.Collection)
withtouchPoints = java.util.Collections.emptyList()
.QTouchEvent
(QEvent.Type eventType, QTouchDevice device, Qt.KeyboardModifiers modifiers, Qt.TouchPointStates touchPointStates, Collection<? extends QTouchEvent.TouchPoint> touchPoints) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final QTouchDevice
device()
final void
setDevice
(QTouchDevice adevice) SeeQTouchEvent::
setDevice(QTouchDevice*) final void
SeeQTouchEvent::
setTarget(QObject*) final void
setTouchPoints
(Collection<? extends QTouchEvent.TouchPoint> atouchPoints) SeeQTouchEvent::
setTouchPoints(QList<QTouchEvent::TouchPoint>) final void
setTouchPointStates
(Qt.TouchPointState ... aTouchPointStates) Overloaded function forsetTouchPointStates(io.qt.core.Qt.TouchPointStates)
.final void
setTouchPointStates
(Qt.TouchPointStates aTouchPointStates) SeeQTouchEvent::
setTouchPointStates(Qt::TouchPointStates) final void
SeeQTouchEvent::
setWindow(QWindow*) final QObject
target()
final QList
<QTouchEvent.TouchPoint> final Qt.TouchPointStates
final QWindow
window()
Methods inherited from class io.qt.gui.QInputEvent
modifiers, setModifiers, setModifiers, setTimestamp, timestamp
Methods inherited from class io.qt.core.QEvent
accept, assign, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, toString, type
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QTouchEvent
public QTouchEvent(QEvent.Type eventType, QTouchDevice device, Qt.KeyboardModifiers modifiers, Qt.TouchPointStates touchPointStates, Collection<? extends QTouchEvent.TouchPoint> touchPoints) -
QTouchEvent
public QTouchEvent(QEvent.Type eventType, QTouchDevice device, Qt.KeyboardModifiers modifiers, Qt.TouchPointStates touchPointStates) Overloaded constructor for
QTouchEvent(io.qt.core.QEvent.Type, io.qt.gui.QTouchDevice, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.TouchPointStates, java.util.Collection)
withtouchPoints = java.util.Collections.emptyList()
. -
QTouchEvent
Overloaded constructor for
QTouchEvent(io.qt.core.QEvent.Type, io.qt.gui.QTouchDevice, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.TouchPointStates, java.util.Collection)
with:
touchPointStates = new io.qt.core.Qt.TouchPointStates(0)
touchPoints = java.util.Collections.emptyList()
-
QTouchEvent
Overloaded constructor for
QTouchEvent(io.qt.core.QEvent.Type, io.qt.gui.QTouchDevice, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.TouchPointStates, java.util.Collection)
with:
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
touchPointStates = new io.qt.core.Qt.TouchPointStates(0)
touchPoints = java.util.Collections.emptyList()
-
QTouchEvent
Overloaded constructor for
QTouchEvent(io.qt.core.QEvent.Type, io.qt.gui.QTouchDevice, io.qt.core.Qt.KeyboardModifiers, io.qt.core.Qt.TouchPointStates, java.util.Collection)
with:
device = null
modifiers = new io.qt.core.Qt.KeyboardModifiers(0)
touchPointStates = new io.qt.core.Qt.TouchPointStates(0)
touchPoints = java.util.Collections.emptyList()
-
-
Method Details
-
device
-
setDevice
See
QTouchEvent::
setDevice(QTouchDevice*) -
setTarget
See
QTouchEvent::
setTarget(QObject*) -
setTouchPointStates
See
QTouchEvent::
setTouchPointStates(Qt::TouchPointStates) -
setTouchPoints
@QtUninvokable public final void setTouchPoints(Collection<? extends QTouchEvent.TouchPoint> atouchPoints) See
QTouchEvent::
setTouchPoints(QList<QTouchEvent::TouchPoint>) -
setWindow
See
QTouchEvent::
setWindow(QWindow*) -
target
-
touchPointStates
-
touchPoints
-
window
-
clone
Creates and returns a copy of this object.
- Overrides:
clone
in classQInputEvent
-
setTouchPointStates
Overloaded function for
setTouchPointStates(io.qt.core.Qt.TouchPointStates)
.
-