|
| CheckableModelHelperPrivate (CheckableModelHelper &object) |
|
void | init () |
|
void | setIndexCheckState (const QModelIndex &index, Qt::CheckState checkState) |
| Set index checkstate and call propagate.
|
|
int | indexDepth (const QModelIndex &modelIndex) const |
|
void | updateCheckState (const QModelIndex &modelIndex) |
| Set the checkstate of the index based on its children and grand children.
|
|
void | propagateCheckStateToChildren (const QModelIndex &modelIndex) |
| Set the check state of the index to all its children and grand children.
|
|
Qt::CheckState | checkState (const QModelIndex &index, bool *checkable) const |
|
void | setCheckState (const QModelIndex &index, Qt::CheckState newCheckState) |
|
void | forceCheckability (const QModelIndex &index) |
|
|
QPointer< QAbstractItemModel > | Model |
|
QModelIndex | RootIndex |
|
Qt::Orientation | Orientation |
|
bool | HeaderIsUpdating |
|
bool | ItemsAreUpdating |
|
bool | ForceCheckability |
|
int | PropagateDepth |
|
Qt::CheckState | DefaultCheckState |
|
◆ indexDepth()
int CheckableModelHelperPrivate::indexDepth |
( |
const QModelIndex & | modelIndex | ) |
const |
Return the depth in the model tree of the index. -1 if the index is the root element a header or a header, 0 if the index is a toplevel index, 1 if its parent is toplevel, 2 if its grandparent is toplevel, etc.
◆ PropagateDepth
int CheckableModelHelperPrivate::PropagateDepth |
0 means no propagation -1 means unlimited propagation 1 means propagate to top-level indexes 2 means propagate to top-level and their children ...
The documentation for this class was generated from the following file:
- C:/Workspace/itom_development_VS2019_Qt5.15.2_x64/itomProject/itom/itomWidgets/helper/checkableModelHelper.cpp