- All Implemented Interfaces:
QtObjectInterface
Contains parameters that describe a touch event
Java wrapper for Qt's 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
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, 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) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal QTouchDevice
device()
final void
setDevice
(QTouchDevice adevice) final void
final void
setTouchPoints
(Collection<? extends QTouchEvent.TouchPoint> atouchPoints) final void
setTouchPointStates
(Qt.TouchPointState... aTouchPointStates) Overloaded function forsetTouchPointStates(io.qt.core.Qt.TouchPointStates)
.final void
setTouchPointStates
(Qt.TouchPointStates aTouchPointStates) final void
final QObject
target()
toString()
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, ignore, isAccepted, registerEventType, registerEventType, set, setAccepted, spontaneous, 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) 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()
-
QTouchEvent
public QTouchEvent(QEvent.Type eventType, QTouchDevice device, Qt.KeyboardModifiers modifiers, Qt.TouchPointStates touchPointStates, Collection<? extends QTouchEvent.TouchPoint> touchPoints) -
QTouchEvent
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
device
-
setDevice
-
setTarget
-
setTouchPointStates
Overloaded function for
setTouchPointStates(io.qt.core.Qt.TouchPointStates)
. -
setTouchPointStates
-
setTouchPoints
@QtUninvokable public final void setTouchPoints(Collection<? extends QTouchEvent.TouchPoint> atouchPoints) -
setWindow
-
target
-
touchPointStates
-
touchPoints
-
window
-
toString
- Overrides:
toString
in classQInputEvent
-