Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
src_corelib_kernel_qabstractitemmodel.cpp File Reference

Go to the source code of this file.

Classes

class  CustomDataProxy
 [9] More...
 

Functions

 beginInsertRows (parent, 2, 4)
 [0]
 
 beginInsertRows (parent, 4, 5)
 [0]
 
 beginRemoveRows (parent, 2, 3)
 [1]
 
 beginInsertColumns (parent, 4, 6)
 [2]
 
 beginInsertColumns (parent, 6, 8)
 [3]
 
 beginRemoveColumns (parent, 4, 6)
 [4]
 
 beginMoveRows (sourceParent, 2, 4, destinationParent, 2)
 [5]
 
 beginMoveRows (sourceParent, 2, 4, destinationParent, 6)
 [6]
 
 beginMoveRows (parent, 2, 2, parent, 0)
 [7]
 
 beginMoveRows (parent, 2, 2, parent, 4)
 [8]
 
model multiData (index, span)
 

Variables

QVariant text = model->data(index, Qt::DisplayRole)
 [12]
 
QVariant decoration = model->data(index, Qt::DecorationRole)
 
QVariant checkState = model->data(index, Qt::CheckStateRole)
 
std::array< QModelRoleData, 3 > roleData
 [13]
 
QModelRoleDataSpan span (roleData)
 

Function Documentation

◆ beginInsertColumns() [1/2]

beginInsertColumns ( parent  ,
,
 
)

[2]

[3]

◆ beginInsertColumns() [2/2]

beginInsertColumns ( parent  ,
,
 
)

[3]

[4]

◆ beginInsertRows() [1/2]

beginInsertRows ( parent  ,
,
 
)

[0]

Referenced by QQuickViewTestUtils::QaimModel::addItem(), QQuickViewTestUtils::QaimModel::addItems(), QQuickViewTestUtils::QaimModel::insertItem(), QQuickViewTestUtils::QaimModel::insertItems(), and QQuickViewTestUtils::StressTestModel::updateModel().

+ Here is the caller graph for this function:

◆ beginInsertRows() [2/2]

beginInsertRows ( parent  ,
,
 
)

[0]

[1]

◆ beginMoveRows() [1/4]

beginMoveRows ( parent  ,
,
,
parent  ,
 
)

[7]

[8]

◆ beginMoveRows() [2/4]

beginMoveRows ( parent  ,
,
,
parent  ,
 
)

[8]

[9]

◆ beginMoveRows() [3/4]

beginMoveRows ( sourceParent  ,
,
,
destinationParent  ,
 
)

[5]

[6]

Referenced by QQuickViewTestUtils::QaimModel::moveItem(), and QQuickViewTestUtils::QaimModel::moveItems().

+ Here is the caller graph for this function:

◆ beginMoveRows() [4/4]

beginMoveRows ( sourceParent  ,
,
,
destinationParent  ,
 
)

[6]

[7]

◆ beginRemoveColumns()

beginRemoveColumns ( parent  ,
,
 
)

[4]

[5]

◆ beginRemoveRows()

beginRemoveRows ( parent  ,
,
 
)

[1]

[2]

Referenced by QQuickViewTestUtils::QaimModel::clear(), QQuickViewTestUtils::QaimModel::removeItem(), QQuickViewTestUtils::QaimModel::removeItems(), and QQuickViewTestUtils::StressTestModel::updateModel().

+ Here is the caller graph for this function:

◆ multiData()

model multiData ( index  ,
span   
)

References roleData.

Variable Documentation

◆ checkState

◆ decoration

◆ roleData

◆ span

◆ text

[12]

[13]

Definition at line 88 of file src_corelib_kernel_qabstractitemmodel.cpp.