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
controlstestutils_p.h File Reference

(f51fda1f1e55b43b1a5678f6fc98211ae08b496c)

#include <QtGui/qpa/qplatformtheme.h>
#include <QtQuickTestUtils/private/visualtestutils_p.h>
Include dependency graph for controlstestutils_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

namespace  QQuickControlsTestUtils
namespace  QQuickTest
namespace  QQuickTest::Private

Macros

#define VERIFY_VISUAL_FOCUS(control)

Typedefs

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

Functions

void QQuickControlsTestUtils::forEachControl (QQmlEngine *engine, const QString &qqc2ImportPath, const QString &sourcePath, const QString &targetPath, const QStringList &skipList, ForEachCallback callback)
void QQuickControlsTestUtils::addTestRowForEachControl (QQmlEngine *engine, const QString &qqc2ImportPath, const QString &sourcePath, const QString &targetPath, const QStringList &skipList=QStringList())
bool QQuickControlsTestUtils::verifyButtonClickable (QQuickAbstractButton *button)
bool QQuickControlsTestUtils::clickButton (QQuickAbstractButton *button)
bool QQuickControlsTestUtils::doubleClickButton (QQuickAbstractButton *button)
QString QQuickControlsTestUtils::visualFocusFailureMessage (QQuickControl *control)
bool QQuickControlsTestUtils::arePopupWindowsSupported ()
QByteArray QQuickTest::Private::qActiveFocusFailureMessage (QQuickPopup *popup)

Macro Definition Documentation

◆ VERIFY_VISUAL_FOCUS

#define VERIFY_VISUAL_FOCUS ( control)
Value:
do { \
QVERIFY2(control->hasVisualFocus(), qUtf8Printable(visualFocusFailureMessage(control))); \
} while (false)
#define qUtf8Printable(string)
Definition qstring.h:1689

Definition at line 121 of file controlstestutils_p.h.