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  ListRange
 
class  QaimModel
 
class  StressTestModel
 

Functions

QQuickViewcreateView ()
 
void centerOnScreen (QQuickWindow *window, const QSize &size)
 
void centerOnScreen (QQuickWindow *window)
 
void moveMouseAway (QQuickView *window)
 
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)
 

Function Documentation

◆ adjustIndexesForAddDisplaced()

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

Definition at line 56 of file viewtestutils.cpp.

◆ adjustIndexesForMove()

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

Definition at line 69 of file viewtestutils.cpp.

◆ adjustIndexesForRemoveDisplaced()

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

Definition at line 90 of file viewtestutils.cpp.

◆ centerOnScreen() [1/2]

void QQuickViewTestUtils::centerOnScreen ( QQuickWindow * window)

Definition at line 42 of file viewtestutils.cpp.

◆ centerOnScreen() [2/2]

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

Definition at line 35 of file viewtestutils.cpp.

◆ createView()

QT_BEGIN_NAMESPACE QQuickView * QQuickViewTestUtils::createView ( )

Definition at line 26 of file viewtestutils.cpp.

◆ moveMouseAway()

void QQuickViewTestUtils::moveMouseAway ( QQuickView * window)

Definition at line 47 of file viewtestutils.cpp.

◆ qquickmodelviewstestutil_move()

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

Definition at line 125 of file viewtestutils_p.h.