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
QQuickControlsTestUtils::QQuickControlsApplicationHelper Class Reference

#include <controlstestutils_p.h>

+ Inheritance diagram for QQuickControlsTestUtils::QQuickControlsApplicationHelper:
+ Collaboration diagram for QQuickControlsTestUtils::QQuickControlsApplicationHelper:

Public Member Functions

 QQuickControlsApplicationHelper (QQmlDataTest *testCase, const QString &testFilePath, const QVariantMap &initialProperties={}, const QStringList &qmlImportPaths={})
 
- Public Member Functions inherited from QQuickVisualTestUtils::QQuickApplicationHelper
 QQuickApplicationHelper (QQmlDataTest *testCase, const QString &testFilePath, const QVariantMap &initialProperties={}, const QStringList &qmlImportPaths={})
 
const char * failureMessage () const
 

Public Attributes

QQuickApplicationWindowappWindow = nullptr
 
- Public Attributes inherited from QQuickVisualTestUtils::QQuickApplicationHelper
QQmlEngine engine
 
QScopedPointer< QObjectcleanup
 
QQuickWindowwindow = nullptr
 
bool ready = false
 
QByteArray errorMessage
 

Detailed Description

Definition at line 29 of file controlstestutils_p.h.

Constructor & Destructor Documentation

◆ QQuickControlsApplicationHelper()

QQuickControlsTestUtils::QQuickControlsApplicationHelper::QQuickControlsApplicationHelper ( QQmlDataTest * testCase,
const QString & testFilePath,
const QVariantMap & initialProperties = {},
const QStringList & qmlImportPaths = {} )

Definition at line 12 of file controlstestutils.cpp.

References appWindow, QQuickVisualTestUtils::QQuickApplicationHelper::cleanup, QScopedPointer< T, Cleanup >::data(), and QQuickVisualTestUtils::QQuickApplicationHelper::ready.

+ Here is the call graph for this function:

Member Data Documentation

◆ appWindow

QQuickApplicationWindow* QQuickControlsTestUtils::QQuickControlsApplicationHelper::appWindow = nullptr

Definition at line 36 of file controlstestutils_p.h.

Referenced by QQuickControlsApplicationHelper().


The documentation for this class was generated from the following files: