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::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 43 of file viewtestutils_p.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
Inserted 
Removed 
Moved 
SetCurrent 
SetContentY 
Polish 

Definition at line 44 of file viewtestutils_p.h.

Member Function Documentation

◆ insert()

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

Definition at line 50 of file viewtestutils_p.h.

References Inserted.

◆ move()

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

Definition at line 52 of file viewtestutils_p.h.

References Moved.

◆ polish()

ListChange QQuickViewTestUtils::ListChange::polish ( )
inlinestatic

Definition at line 55 of file viewtestutils_p.h.

References Polish.

◆ remove()

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

Definition at line 51 of file viewtestutils_p.h.

References Removed.

◆ setContentY()

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

Definition at line 54 of file viewtestutils_p.h.

References SetContentY.

◆ setCurrent()

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

Definition at line 53 of file viewtestutils_p.h.

References SetCurrent.

Member Data Documentation

◆ count

int QQuickViewTestUtils::ListChange::count

Definition at line 46 of file viewtestutils_p.h.

◆ index

int QQuickViewTestUtils::ListChange::index

Definition at line 45 of file viewtestutils_p.h.

◆ pos

qreal QQuickViewTestUtils::ListChange::pos

Definition at line 48 of file viewtestutils_p.h.

◆ to

int QQuickViewTestUtils::ListChange::to

Definition at line 47 of file viewtestutils_p.h.

◆ []

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

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