18#include <QtQuickTest/private/quicktestglobal_p.h>
19#include <QtQuickTest/quicktest.h>
21#include <QtQml/qqmlpropertymap.h>
22#include <QtQml/qqml.h>
29 Q_PROPERTY(
bool windowShown READ windowShown NOTIFY windowShownChanged)
30 Q_PROPERTY(
bool hasTestCase READ hasTestCase WRITE setHasTestCase NOTIFY hasTestCaseChanged)
63 void init() { setWindowShown(
false); setHasTestCase(
false); hasQuit =
false; }
70 void quit() { hasQuit =
true; }
76#if defined(QT_OPENGL_ES_2_ANGLE)
81 bool m_windowShown : 1;
82 bool m_hasTestCase :1;
The QJSEngine class provides an environment for evaluating JavaScript code.
The QQmlEngine class provides an environment for instantiating QML components.
The QQmlPropertyMap class allows you to set key-value pairs that can be used in QML bindings.
static QTestRootObject * create(QQmlEngine *q, QJSEngine *)
void setWindowShown(bool value)
void windowShownChanged()
static QTestRootObject * instance()
void hasTestCaseChanged()
void setHasTestCase(bool value)
QQmlPropertyMap * defined() const
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLbitfield GLuint64 timeout
[4]
GLdouble GLdouble GLdouble GLdouble q
QQmlEngine * qmlEngine(const QObject *obj)
#define QML_ADDED_IN_VERSION(MAJOR, MINOR)
QLatin1StringView QLatin1String
bool qWaitForSignal(QObject *obj, const char *signal, int timeout=5000)
#define Q_QUICK_TEST_PRIVATE_EXPORT
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent