Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qtestsupport_widgets.cpp File Reference
#include "qtestsupport_widgets.h"
#include "qwidget.h"
#include <QtGui/qwindow.h>
#include <QtCore/qtestsupport_core.h>
#include <QtCore/qthread.h>
#include <QtGui/qtestsupport_gui.h>
#include <QtGui/private/qevent_p.h>
#include <QtGui/private/qeventpoint_p.h>
#include <private/qguiapplication_p.h>
#include <qpa/qplatformintegration.h>
+ Include dependency graph for qtestsupport_widgets.cpp:

Go to the source code of this file.

Namespaces

namespace  QTest
 [15]
 

Functions

template<typename FunctorWindowGetter , typename FunctorPredicate >
static QT_BEGIN_NAMESPACE bool qWaitForWidgetWindow (FunctorWindowGetter windowGetter, FunctorPredicate predicate, int timeout)
 

Function Documentation

◆ qWaitForWidgetWindow()

template<typename FunctorWindowGetter , typename FunctorPredicate >
static QT_BEGIN_NAMESPACE bool qWaitForWidgetWindow ( FunctorWindowGetter  windowGetter,
FunctorPredicate  predicate,
int  timeout 
)
static

Definition at line 20 of file qtestsupport_widgets.cpp.

References predicate, QTest::qWaitFor(), and window().

Referenced by QTest::qWaitForWindowActive(), and QTest::qWaitForWindowExposed().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: