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
src_corelib_kernel_qabstractitemmodel.cpp File Reference

(69d4ecd6ef9057cb3703178277042ff7a7411459)

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 ,
4 ,
6  )

[2]

[3]

◆ beginInsertColumns() [2/2]

beginInsertColumns ( parent ,
6 ,
8  )

[3]

[4]

◆ beginInsertRows() [1/2]

beginInsertRows ( parent ,
2 ,
4  )

[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 ,
4 ,
5  )

[0]

[1]

◆ beginMoveRows() [1/4]

beginMoveRows ( parent ,
2 ,
2 ,
parent ,
0  )

[7]

[8]

◆ beginMoveRows() [2/4]

beginMoveRows ( parent ,
2 ,
2 ,
parent ,
4  )

[8]

[9]

◆ beginMoveRows() [3/4]

beginMoveRows ( sourceParent ,
2 ,
4 ,
destinationParent ,
2  )

[5]

[6]

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

+ Here is the caller graph for this function:

◆ beginMoveRows() [4/4]

beginMoveRows ( sourceParent ,
2 ,
4 ,
destinationParent ,
6  )

[6]

[7]

◆ beginRemoveColumns()

beginRemoveColumns ( parent ,
4 ,
6  )

[4]

[5]

◆ beginRemoveRows()

beginRemoveRows ( parent ,
2 ,
3  )

[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.