![]() |
Qt 6.x
The Qt SDK
|
#include <QtGui/qtguiglobal.h>
#include <QtGui/qevent.h>
#include <QtCore/qmap.h>
Go to the source code of this file.
Classes | |
class | QTest::QTouchEventSequence |
Namespaces | |
namespace | QTest |
[15] | |
Functions | |
Q_GUI_EXPORT void | qt_handleTouchEvent (QWindow *w, const QPointingDevice *device, const QList< QEventPoint > &points, Qt::KeyboardModifiers mods=Qt::NoModifier) |
Q_GUI_EXPORT bool | qt_handleTouchEventv2 (QWindow *w, const QPointingDevice *device, const QList< QEventPoint > &points, Qt::KeyboardModifiers mods=Qt::NoModifier) |
Q_GUI_EXPORT bool | QTest::qWaitForWindowActive (QWindow *window, int timeout=5000) |
Q_GUI_EXPORT bool | QTest::qWaitForWindowExposed (QWindow *window, int timeout=5000) |
Q_GUI_EXPORT QPointingDevice * | QTest::createTouchDevice (QInputDevice::DeviceType devType=QInputDevice::DeviceType::TouchScreen, QInputDevice::Capabilities caps=QInputDevice::Capability::Position) |
Q_GUI_EXPORT void qt_handleTouchEvent | ( | QWindow * | w, |
const QPointingDevice * | device, | ||
const QList< QEventPoint > & | points, | ||
Qt::KeyboardModifiers | mods = Qt::NoModifier |
||
) |
Definition at line 1230 of file qwindowsysteminterface.cpp.
References device, qt_handleTouchEventv2(), and window().
Q_GUI_EXPORT bool qt_handleTouchEventv2 | ( | QWindow * | w, |
const QPointingDevice * | device, | ||
const QList< QEventPoint > & | points, | ||
Qt::KeyboardModifiers | mods = Qt::NoModifier |
||
) |
Definition at line 1222 of file qwindowsysteminterface.cpp.
References device, QWindowSystemInterfacePrivate::toNativeTouchPoints(), and window().
Referenced by QTest::QTouchEventSequence::commit(), QTest::QTouchEventWidgetSequence::commit(), and qt_handleTouchEvent().