Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qtestsupport_gui.h File Reference
#include <QtGui/qtguiglobal.h>
#include <QtGui/qevent.h>
#include <QtCore/qmap.h>
+ Include dependency graph for qtestsupport_gui.h:
+ This graph shows which files directly or indirectly include this file:

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 QPointingDeviceQTest::createTouchDevice (QInputDevice::DeviceType devType=QInputDevice::DeviceType::TouchScreen, QInputDevice::Capabilities caps=QInputDevice::Capability::Position)
 

Function Documentation

◆ qt_handleTouchEvent()

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().

+ Here is the call graph for this function:

◆ qt_handleTouchEventv2()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: