![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qstandarditemmodel_p.h>
Public Attributes | |
| QStandardItemModel * | model |
| QStandardItem * | parent |
| QList< QStandardItemData > | values |
| QList< QStandardItem * > | children |
| int | rows |
| int | columns |
| QStandardItem * | q_ptr |
| int | lastKnownIndex |
| bool | settingChildrenCheckState |
Definition at line 74 of file qstandarditemmodel_p.h.
|
inline |
Definition at line 78 of file qstandarditemmodel_p.h.
| void QStandardItemPrivate::changeFlags | ( | bool | enable, |
| Qt::ItemFlags | f ) |
Definition at line 141 of file qstandarditemmodel.cpp.
| QStandardItem * QStandardItemPrivate::checkStateParent | ( | ) | const |
Returns the parent of this item if this item is in the first column, where the children of an auto-tristate item are.
Definition at line 158 of file qstandarditemmodel.cpp.
| void QStandardItemPrivate::childDeleted | ( | QStandardItem * | child | ) |
Definition at line 262 of file qstandarditemmodel.cpp.
|
inline |
Definition at line 95 of file qstandarditemmodel_p.h.
|
inline |
Definition at line 88 of file qstandarditemmodel_p.h.
|
inline |
Definition at line 136 of file qstandarditemmodel_p.h.
References columns.
| bool QStandardItemPrivate::insertColumns | ( | int | column, |
| int | count, | ||
| const QList< QStandardItem * > & | items ) |
Definition at line 632 of file qstandarditemmodel.cpp.
| bool QStandardItemPrivate::insertRows | ( | int | row, |
| const QList< QStandardItem * > & | items ) |
Definition at line 556 of file qstandarditemmodel.cpp.
| bool QStandardItemPrivate::insertRows | ( | int | row, |
| int | count, | ||
| const QList< QStandardItem * > & | items ) |
Definition at line 588 of file qstandarditemmodel.cpp.
Definition at line 399 of file qstandarditemmodel.cpp.
| void QStandardItemPrivate::notifyAutoTristateAncestors | ( | ) |
Makes the model emit dataChanged() for the auto-tristate ancestors whose check state depends on the check state of this item.
Definition at line 232 of file qstandarditemmodel.cpp.
| void QStandardItemPrivate::notifyChildrenChanged | ( | ) |
Makes the model emit dataChanged() for this item, if it is auto-tristate, and for its auto-tristate ancestors. Called after children in the first column were added, removed or replaced.
Definition at line 250 of file qstandarditemmodel.cpp.
| std::pair< int, int > QStandardItemPrivate::position | ( | ) | const |
Definition at line 57 of file qstandarditemmodel.cpp.
|
inline |
Definition at line 133 of file qstandarditemmodel_p.h.
References rows.
| void QStandardItemPrivate::setChild | ( | int | row, |
| int | column, | ||
| QStandardItem * | item, | ||
| bool | emitChanged = false ) |
Definition at line 72 of file qstandarditemmodel.cpp.
| bool QStandardItemPrivate::setChildrenCheckState | ( | const QVariant & | value | ) |
If this item is auto-tristate and value is Qt::Checked or Qt::Unchecked, sets value as the check state of the children of this item that have a check state. Returns true if the check state of one of them changed.
Definition at line 205 of file qstandarditemmodel.cpp.
Definition at line 342 of file qstandarditemmodel.cpp.
| void QStandardItemPrivate::setModel | ( | QStandardItemModel * | mod | ) |
set the model of this item and all its children
Definition at line 484 of file qstandarditemmodel.cpp.
|
inline |
Definition at line 143 of file qstandarditemmodel_p.h.
| void QStandardItemPrivate::sortChildren | ( | int | column, |
| Qt::SortOrder | order ) |
Definition at line 419 of file qstandarditemmodel.cpp.
| QList<QStandardItem *> QStandardItemPrivate::children |
Definition at line 167 of file qstandarditemmodel_p.h.
| int QStandardItemPrivate::columns |
Definition at line 169 of file qstandarditemmodel_p.h.
Referenced by columnCount().
|
mutable |
Definition at line 173 of file qstandarditemmodel_p.h.
| QStandardItemModel* QStandardItemPrivate::model |
Definition at line 164 of file qstandarditemmodel_p.h.
| QStandardItem* QStandardItemPrivate::parent |
Definition at line 165 of file qstandarditemmodel_p.h.
| QStandardItem* QStandardItemPrivate::q_ptr |
Definition at line 171 of file qstandarditemmodel_p.h.
| int QStandardItemPrivate::rows |
Definition at line 168 of file qstandarditemmodel_p.h.
Referenced by rowCount().
| bool QStandardItemPrivate::settingChildrenCheckState |
Definition at line 174 of file qstandarditemmodel_p.h.
| QList<QStandardItemData> QStandardItemPrivate::values |
Definition at line 166 of file qstandarditemmodel_p.h.