Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QQuickViewTestUtils::ListChange Struct Reference

#include <viewtestutils_p.h>

+ Collaboration diagram for QQuickViewTestUtils::ListChange:

Public Types

enum  {
  Inserted , Removed , Moved , SetCurrent ,
  SetContentY , Polish
}
 

Static Public Member Functions

static ListChange insert (int index, int count=1)
 
static ListChange remove (int index, int count=1)
 
static ListChange move (int index, int to, int count)
 
static ListChange setCurrent (int index)
 
static ListChange setContentY (qreal pos)
 
static ListChange polish ()
 

Public Attributes

enum QQuickViewTestUtils::ListChange:: { ... }  type
 
int index
 
int count
 
int to
 
qreal pos
 

Detailed Description

Definition at line 45 of file viewtestutils_p.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Inserted 
Removed 
Moved 
SetCurrent 
SetContentY 
Polish 

Definition at line 46 of file viewtestutils_p.h.

Member Function Documentation

◆ insert()

static ListChange QQuickViewTestUtils::ListChange::insert ( int index,
int count = 1 )
inlinestatic

Definition at line 52 of file viewtestutils_p.h.

References count, index, and Inserted.

◆ move()

static ListChange QQuickViewTestUtils::ListChange::move ( int index,
int to,
int count )
inlinestatic

Definition at line 54 of file viewtestutils_p.h.

References count, index, Moved, and to.

◆ polish()

static ListChange QQuickViewTestUtils::ListChange::polish ( )
inlinestatic

Definition at line 57 of file viewtestutils_p.h.

References Polish.

◆ remove()

static ListChange QQuickViewTestUtils::ListChange::remove ( int index,
int count = 1 )
inlinestatic

Definition at line 53 of file viewtestutils_p.h.

References count, index, and Removed.

◆ setContentY()

static ListChange QQuickViewTestUtils::ListChange::setContentY ( qreal pos)
inlinestatic

Definition at line 56 of file viewtestutils_p.h.

References pos, and SetContentY.

◆ setCurrent()

static ListChange QQuickViewTestUtils::ListChange::setCurrent ( int index)
inlinestatic

Definition at line 55 of file viewtestutils_p.h.

References index, and SetCurrent.

Member Data Documentation

◆ count

int QQuickViewTestUtils::ListChange::count

Definition at line 48 of file viewtestutils_p.h.

Referenced by insert(), move(), and remove().

◆ index

int QQuickViewTestUtils::ListChange::index

Definition at line 47 of file viewtestutils_p.h.

Referenced by insert(), move(), remove(), and setCurrent().

◆ pos

qreal QQuickViewTestUtils::ListChange::pos

Definition at line 50 of file viewtestutils_p.h.

Referenced by setContentY().

◆ to

int QQuickViewTestUtils::ListChange::to

Definition at line 49 of file viewtestutils_p.h.

Referenced by move().

◆ []

enum { ... } QQuickViewTestUtils::ListChange::type

The documentation for this struct was generated from the following file: