Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QQuickControlsTestUtils Namespace Reference

Classes

class  ComponentCreator
class  MockPlatformTheme
class  QQuickControlsApplicationHelper
struct  QQuickStyleHelper
class  StyleInfo
class  SystemEnvironment

Typedefs

typedef std::function< void(const QString &, const QUrl &)> ForEachCallback

Functions

void forEachControl (QQmlEngine *engine, const QString &qqc2ImportPath, const QString &sourcePath, const QString &targetPath, const QStringList &skipList, ForEachCallback callback)
void addTestRowForEachControl (QQmlEngine *engine, const QString &qqc2ImportPath, const QString &sourcePath, const QString &targetPath, const QStringList &skipList=QStringList())
bool verifyButtonClickable (QQuickAbstractButton *button)
bool clickButton (QQuickAbstractButton *button)
bool doubleClickButton (QQuickAbstractButton *button)
QString visualFocusFailureMessage (QQuickControl *control)
bool arePopupWindowsSupported ()

Typedef Documentation

◆ ForEachCallback

typedef std::function<void(const QString &, const QUrl &)> QQuickControlsTestUtils::ForEachCallback

Definition at line 49 of file controlstestutils_p.h.

Function Documentation

◆ addTestRowForEachControl()

void QQuickControlsTestUtils::addTestRowForEachControl ( QQmlEngine * engine,
const QString & qqc2ImportPath,
const QString & sourcePath,
const QString & targetPath,
const QStringList & skipList = QStringList() )

Definition at line 91 of file controlstestutils.cpp.

◆ arePopupWindowsSupported()

bool QQuickControlsTestUtils::arePopupWindowsSupported ( )
nodiscard

Definition at line 218 of file controlstestutils.cpp.

◆ clickButton()

bool QQuickControlsTestUtils::clickButton ( QQuickAbstractButton * button)
nodiscard

Definition at line 129 of file controlstestutils.cpp.

References verifyButtonClickable().

Here is the call graph for this function:

◆ doubleClickButton()

bool QQuickControlsTestUtils::doubleClickButton ( QQuickAbstractButton * button)
nodiscard

Definition at line 150 of file controlstestutils.cpp.

References verifyButtonClickable().

Here is the call graph for this function:

◆ forEachControl()

void QQuickControlsTestUtils::forEachControl ( QQmlEngine * engine,
const QString & qqc2ImportPath,
const QString & sourcePath,
const QString & targetPath,
const QStringList & skipList,
QQuickControlsTestUtils::ForEachCallback callback )

Definition at line 49 of file controlstestutils.cpp.

◆ verifyButtonClickable()

bool QQuickControlsTestUtils::verifyButtonClickable ( QQuickAbstractButton * button)
nodiscard

Definition at line 99 of file controlstestutils.cpp.

Referenced by clickButton(), and doubleClickButton().

Here is the caller graph for this function:

◆ visualFocusFailureMessage()

QString QQuickControlsTestUtils::visualFocusFailureMessage ( QQuickControl * control)
nodiscard

Definition at line 204 of file controlstestutils.cpp.