![]() |
Qt 6.x
The Qt SDK
|
#include <qtestsupport_gui.h>
Inheritance diagram for QTest::QTouchEventSequence:
Collaboration diagram for QTest::QTouchEventSequence:Public Member Functions | |
| virtual | ~QTouchEventSequence () |
| QTouchEventSequence & | press (int touchId, const QPoint &pt, QWindow *window=nullptr) |
| QTouchEventSequence & | move (int touchId, const QPoint &pt, QWindow *window=nullptr) |
| QTouchEventSequence & | release (int touchId, const QPoint &pt, QWindow *window=nullptr) |
| virtual QTouchEventSequence & | stationary (int touchId) |
| virtual bool | commit (bool processEvents=true) |
Protected Member Functions | |
| QTouchEventSequence (QWindow *window, QPointingDevice *aDevice, bool autoCommit) | |
| QPoint | mapToScreen (QWindow *window, const QPoint &pt) |
| QEventPoint & | point (int touchId) |
| QEventPoint & | pointOrPreviousPoint (int touchId) |
Protected Attributes | |
| QMap< int, QEventPoint > | previousPoints |
| QMap< int, QEventPoint > | points |
| QWindow * | targetWindow |
| QPointingDevice * | device |
| bool | commitWhenDestroyed |
Friends | |
| QTouchEventSequence | touchEvent (QWindow *window, QPointingDevice *device, bool autoCommit) |
Definition at line 31 of file qtestsupport_gui.h.
|
virtual |
Definition at line 68 of file qtestsupport_gui.cpp.
References commit(), and commitWhenDestroyed.
Here is the call graph for this function:
|
protected |
Definition at line 116 of file qtestsupport_gui.cpp.
|
virtual |
Reimplemented in QTest::QTouchEventWidgetSequence.
Definition at line 101 of file qtestsupport_gui.cpp.
References QMap< Key, T >::clear(), device, points, previousPoints, QCoreApplication::processEvents(), qt_handleTouchEventv2(), ret, QThread::sleep(), and targetWindow.
Referenced by ~QTouchEventSequence(), and QQuickTouchEventSequence::commit().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 121 of file qtestsupport_gui.cpp.
References targetWindow, and window().
Referenced by move(), press(), and release().
Here is the call graph for this function:
Here is the caller graph for this function:| QTouchEventSequence & QTest::QTouchEventSequence::move | ( | int | touchId, |
| const QPoint & | pt, | ||
| QWindow * | window = nullptr |
||
| ) |
Definition at line 80 of file qtestsupport_gui.cpp.
References mapToScreen(), point(), QEventPoint::Updated, and window().
Referenced by QQuickTouchEventSequence::move(), QQuickTest::pointerMove(), and processTouchEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 128 of file qtestsupport_gui.cpp.
Referenced by QApplicationPrivate::activateImplicitTouchGrab(), QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(), QTest::QTouchEventWidgetSequence::move(), move(), QApplication::notify(), QTest::QTouchEventWidgetSequence::press(), press(), QGuiApplicationPrivate::processTouchEvent(), QTest::QTouchEventWidgetSequence::release(), release(), QGraphicsViewPrivate::translateTouchEvent(), QQuickDeliveryAgentPrivate::translateTouchEvent(), QGraphicsScenePrivate::updateTouchPointsForItem(), and QApplicationPrivate::updateTouchPointsForWidget().
Here is the caller graph for this function:
|
protected |
Definition at line 135 of file qtestsupport_gui.cpp.
References QMap< Key, T >::contains(), previousPoints, and QMap< Key, T >::value().
Referenced by stationary(), and QTest::QTouchEventWidgetSequence::stationary().
Here is the call graph for this function:
Here is the caller graph for this function:| QTouchEventSequence & QTest::QTouchEventSequence::press | ( | int | touchId, |
| const QPoint & | pt, | ||
| QWindow * | window = nullptr |
||
| ) |
Definition at line 73 of file qtestsupport_gui.cpp.
References mapToScreen(), point(), QEventPoint::Pressed, and window().
Referenced by QQuickTest::pointerPress(), QQuickTouchEventSequence::press(), and processTouchEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| QTouchEventSequence & QTest::QTouchEventSequence::release | ( | int | touchId, |
| const QPoint & | pt, | ||
| QWindow * | window = nullptr |
||
| ) |
Definition at line 87 of file qtestsupport_gui.cpp.
References mapToScreen(), point(), QEventPoint::Released, and window().
Referenced by QQuickTest::pointerRelease(), processTouchEvent(), and QQuickTouchEventSequence::release().
Here is the call graph for this function:
Here is the caller graph for this function:
|
virtual |
Reimplemented in QTest::QTouchEventWidgetSequence.
Definition at line 94 of file qtestsupport_gui.cpp.
References pointOrPreviousPoint(), and QEventPoint::Stationary.
Referenced by processTouchEvent(), and QQuickTouchEventSequence::stationary().
Here is the call graph for this function:
Here is the caller graph for this function:
|
friend |
Definition at line 42 of file qtesttouch.h.
|
protected |
Definition at line 55 of file qtestsupport_gui.h.
Referenced by ~QTouchEventSequence(), and QTest::QTouchEventWidgetSequence::~QTouchEventWidgetSequence().
|
protected |
Definition at line 54 of file qtestsupport_gui.h.
Referenced by commit(), QTest::QTouchEventWidgetSequence::commit(), QApplication::notify(), QGuiApplicationPrivate::processTouchEvent(), and QQuickDeliveryAgentPrivate::touchToMouseEvent().
|
protected |
Definition at line 52 of file qtestsupport_gui.h.
Referenced by commit(), QTest::QTouchEventWidgetSequence::commit(), QQuickDeliveryAgentPrivate::deliverMatchingPointsToItem(), QApplication::notify(), QGraphicsScenePrivate::sendTouchBeginEvent(), QQuickDrawerPrivate::startDrag(), and QGraphicsScenePrivate::touchEventHandler().
|
protected |
Definition at line 51 of file qtestsupport_gui.h.
Referenced by commit(), QTest::QTouchEventWidgetSequence::commit(), and pointOrPreviousPoint().
|
protected |
Definition at line 53 of file qtestsupport_gui.h.
Referenced by commit(), QTest::QTouchEventWidgetSequence::commit(), and mapToScreen().