java.lang.Object
io.qt.QtObject
io.qt.test.QTest.QTouchEventSequence
- All Implemented Interfaces:
QtObjectInterface
- Direct Known Subclasses:
QTest.QTouchEventWidgetSequence
- Enclosing class:
QTest
Used to simulate a sequence of touch events
Java wrapper for Qt's class QTest::QTouchEventSequence
-
Nested Class Summary
Nested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionprotected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionfinal void
commit()
Overloaded function forcommit(boolean)
withprocessEvents = true
.void
commit
(boolean processEvents) protected final boolean
protected final QPointingDevice
device()
protected final QPoint
mapToScreen
(QWindow window, QPoint pt) Overloaded function formove(int, io.qt.core.QPoint, io.qt.gui.QWindow)
withwindow = null
.protected final QEventPoint
point
(int touchId) protected final QEventPoint
pointOrPreviousPoint
(int touchId) protected final QMap<Integer,
QEventPoint> points()
Overloaded function forpress(int, io.qt.core.QPoint, io.qt.gui.QWindow)
withwindow = null
.protected final QMap<Integer,
QEventPoint> Overloaded function forrelease(int, io.qt.core.QPoint, io.qt.gui.QWindow)
withwindow = null
.protected final void
setCommitWhenDestroyed
(boolean commitWhenDestroyed) protected final void
setDevice
(QPointingDevice device) protected final void
setPoints
(Map<Integer, ? extends QEventPoint> points) protected final void
setPreviousPoints
(Map<Integer, ? extends QEventPoint> previousPoints) protected final void
setTargetWindow
(QWindow targetWindow) stationary
(int touchId) protected final QWindow
Methods inherited from class io.qt.QtObject
dispose, equals, isDisposed
-
Constructor Details
-
QTouchEventSequence
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
mapToScreen
-
move
Overloaded function for
move(int, io.qt.core.QPoint, io.qt.gui.QWindow)
withwindow = null
. -
move
-
point
-
pointOrPreviousPoint
-
press
Overloaded function for
press(int, io.qt.core.QPoint, io.qt.gui.QWindow)
withwindow = null
. -
press
-
release
Overloaded function for
release(int, io.qt.core.QPoint, io.qt.gui.QWindow)
withwindow = null
. -
release
@QtUninvokable public final QTest.QTouchEventSequence release(int touchId, QPoint pt, QWindow window) -
commit
Overloaded function for
commit(boolean)
withprocessEvents = true
. -
commit
-
stationary
-
setCommitWhenDestroyed
-
commitWhenDestroyed
-
setDevice
-
device
-
setPoints
-
points
-
setPreviousPoints
@QtUninvokable protected final void setPreviousPoints(Map<Integer, ? extends QEventPoint> previousPoints) -
previousPoints
-
setTargetWindow
-
targetWindow
-