![]() |
Qt 6.x
The Qt SDK
|
Classes | |
struct | ListChange |
class | ListRange |
class | QaimModel |
class | StressTestModel |
Functions | |
QQuickView * | createView () |
void | flick (QQuickView *window, const QPoint &from, const QPoint &to, int duration) |
void | centerOnScreen (QQuickView *window, const QSize &size) |
void | centerOnScreen (QQuickView *window) |
void | moveMouseAway (QQuickView *window) |
void | moveAndPress (QQuickView *window, const QPoint &position) |
void | moveAndRelease (QQuickView *window, const QPoint &position) |
QList< int > | adjustIndexesForAddDisplaced (const QList< int > &indexes, int index, int count) |
QList< int > | adjustIndexesForMove (const QList< int > &indexes, int from, int to, int count) |
QList< int > | adjustIndexesForRemoveDisplaced (const QList< int > &indexes, int index, int count) |
template<typename T > | |
static void | qquickmodelviewstestutil_move (int from, int to, int n, T *items) |
QList< int > QQuickViewTestUtils::adjustIndexesForAddDisplaced | ( | const QList< int > & | indexes, |
int | index, | ||
int | count | ||
) |
Definition at line 82 of file viewtestutils.cpp.
References i, and QList< T >::size().
QList< int > QQuickViewTestUtils::adjustIndexesForMove | ( | const QList< int > & | indexes, |
int | from, | ||
int | to, | ||
int | count | ||
) |
Definition at line 95 of file viewtestutils.cpp.
References i, and QList< T >::size().
QList< int > QQuickViewTestUtils::adjustIndexesForRemoveDisplaced | ( | const QList< int > & | indexes, |
int | index, | ||
int | count | ||
) |
Definition at line 116 of file viewtestutils.cpp.
References i, and QList< T >::size().
void QQuickViewTestUtils::centerOnScreen | ( | QQuickView * | window | ) |
Definition at line 41 of file viewtestutils.cpp.
References centerOnScreen(), and window().
void QQuickViewTestUtils::centerOnScreen | ( | QQuickView * | window, |
const QSize & | size | ||
) |
Definition at line 34 of file viewtestutils.cpp.
References QRect::center(), and window().
Referenced by centerOnScreen(), and createView().
QT_BEGIN_NAMESPACE QQuickView * QQuickViewTestUtils::createView | ( | ) |
Definition at line 25 of file viewtestutils.cpp.
References centerOnScreen(), and window().
void QQuickViewTestUtils::flick | ( | QQuickView * | window, |
const QPoint & | from, | ||
const QPoint & | to, | ||
int | duration | ||
) |
Definition at line 67 of file viewtestutils.cpp.
References i, QTest::mouseMove(), moveAndPress(), moveAndRelease(), QTest::qWait(), and window().
void QQuickViewTestUtils::moveAndPress | ( | QQuickView * | window, |
const QPoint & | position | ||
) |
Definition at line 61 of file viewtestutils.cpp.
References Qt::LeftButton, QTest::mouseMove(), QTest::mousePress(), position(), and window().
Referenced by flick().
void QQuickViewTestUtils::moveAndRelease | ( | QQuickView * | window, |
const QPoint & | position | ||
) |
Definition at line 55 of file viewtestutils.cpp.
References Qt::LeftButton, QTest::mouseMove(), QTest::mouseRelease(), position(), and window().
Referenced by flick().
void QQuickViewTestUtils::moveMouseAway | ( | QQuickView * | window | ) |
Definition at line 46 of file viewtestutils.cpp.
References Q_UNUSED, QCursor::setPos(), and window().
|
static |
Definition at line 127 of file viewtestutils_p.h.
References QList< T >::begin(), QSet< T >::begin(), i, it, and items.
Referenced by QQuickViewTestUtils::QaimModel::moveItems().