Qt 6.x
The Qt SDK
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 QString::at(), i, QTest::keyClick(), QString::size(), 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 
)