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
QQuickDialogTestUtils Namespace Reference

Classes

class  DialogTestHelper
 

Functions

bool verifyFileDialogDelegates (QQuickListView *fileDialogListView, const QStringList &expectedFiles, QString &failureMessage)
 
bool verifyBreadcrumbDelegates (QQuickFolderBreadcrumbBar *breadcrumbBar, const QUrl &expectedFolder, QString &failureMessage)
 
QQuickAbstractButtonfindDialogButton (QQuickDialogButtonBox *box, const QString &buttonText)
 
void enterText (QWindow *window, const QString &textToEnter)
 

Function Documentation

◆ enterText()

void QQuickDialogTestUtils::enterText ( QWindow * window,
const QString & textToEnter )

Definition at line 126 of file dialogstestutils.cpp.

References i, QTest::keyClick(), and window().

+ Here is the call graph for this function:

◆ findDialogButton()

QT_BEGIN_NAMESPACE QQuickAbstractButton * QQuickDialogTestUtils::findDialogButton ( QQuickDialogButtonBox * box,
const QString & buttonText )

Definition at line 116 of file dialogstestutils.cpp.

References button, i, QAbstractButton::text, and QString::toUpper().

+ Here is the call graph for this function:

◆ verifyBreadcrumbDelegates()

bool QQuickDialogTestUtils::verifyBreadcrumbDelegates ( QQuickFolderBreadcrumbBar * breadcrumbBar,
const QUrl & expectedFolder,
QString & failureMessage )

◆ verifyFileDialogDelegates()

bool QQuickDialogTestUtils::verifyFileDialogDelegates ( QQuickListView * fileDialogListView,
const QStringList & expectedFiles,
QString & failureMessage )