Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qtestsupport_gui.h File Reference

(3f2a9523a442e44ef52ebca30da9b5d3188df6bc)

#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::qWaitForWindowFocused (QWindow *widget, QDeadlineTimer timeout=std::chrono::seconds{5})
 
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 1242 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 1234 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: