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

Classes

struct  ListChange
class  QaimModel
class  ListRange
class  StressTestModel

Functions

QQuickView * createView ()
void centerOnScreen (QQuickWindow *window, const QSize &sizesize)
void centerOnScreen (QQuickWindow *window)
void moveMouseAway (QQuickView *window)
QList< int > adjustIndexesForAddDisplaced (const QList< int > &indexes, int indexindex, int countcount)
QList< int > adjustIndexesForMove (const QList< int > &indexes, int from, int to, int countcount)
QList< int > adjustIndexesForRemoveDisplaced (const QList< int > &indexes, int indexindex, int countcount)
template<typename T>
static void qquickmodelviewstestutil_move (int from, int to, int nn, T *items)

Function Documentation

◆ adjustIndexesForAddDisplaced()

QList< int > QQuickViewTestUtils::adjustIndexesForAddDisplaced ( const QList< int > & indexes,
int index,
int count )

Definition at line 61 of file viewtestutils.cpp.

◆ adjustIndexesForMove()

QList< int > QQuickViewTestUtils::adjustIndexesForMove ( const QList< int > & indexes,
int from,
int to,
int count )

Definition at line 74 of file viewtestutils.cpp.

◆ adjustIndexesForRemoveDisplaced()

QList< int > QQuickViewTestUtils::adjustIndexesForRemoveDisplaced ( const QList< int > & indexes,
int index,
int count )

Definition at line 95 of file viewtestutils.cpp.

◆ centerOnScreen() [1/2]

void QQuickViewTestUtils::centerOnScreen ( QQuickWindow * window)

Definition at line 44 of file viewtestutils.cpp.

◆ centerOnScreen() [2/2]

void QQuickViewTestUtils::centerOnScreen ( QQuickWindow * window,
const QSize & size )

Definition at line 37 of file viewtestutils.cpp.

◆ createView()

QT_BEGIN_NAMESPACE QQuickView * QQuickViewTestUtils::createView ( )

Definition at line 28 of file viewtestutils.cpp.

◆ moveMouseAway()

void QQuickViewTestUtils::moveMouseAway ( QQuickView * window)

Definition at line 49 of file viewtestutils.cpp.

◆ qquickmodelviewstestutil_move()

template<typename T>
void QQuickViewTestUtils::qquickmodelviewstestutil_move ( int from,
int to,
int n,
T * items )
static

Definition at line 125 of file viewtestutils_p.h.