![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qrangemodel_impl.h>
Static Public Member Functions | |
| static Q_CORE_EXPORT QRangeModelImplBase * | getImplementation (QRangeModel *model) |
| static Q_CORE_EXPORT const QRangeModelImplBase * | getImplementation (const QRangeModel *model) |
| static Q_CORE_EXPORT QHash< int, QByteArray > | roleNamesForMetaObject (const QAbstractItemModel &model, const QMetaObject &metaObject) |
| static Q_CORE_EXPORT QHash< int, QByteArray > | roleNamesForSimpleType () |
Static Protected Member Functions | |
| template<typename StaticContainer, typename F> | |
| static auto | for_element_at (StaticContainer &&container, std::size_t idx, F &&function) |
| static Q_CORE_EXPORT QHash< int, QMetaProperty > | roleProperties (const QAbstractItemModel &model, const QMetaObject &metaObject) |
| static Q_CORE_EXPORT bool | connectProperty (const QModelIndex &index, QObject *item, QObject *context, int role, const QMetaProperty &property) |
| static Q_CORE_EXPORT bool | connectPropertyConst (const QModelIndex &index, QObject *item, QObject *context, int role, const QMetaProperty &property) |
| static Q_CORE_EXPORT bool | connectProperties (const QModelIndex &index, QObject *item, QObject *context, const QHash< int, QMetaProperty > &properties) |
| static Q_CORE_EXPORT bool | connectPropertiesConst (const QModelIndex &index, QObject *item, QObject *context, const QHash< int, QMetaProperty > &properties) |
Friends | |
| class | QRangeModelPrivate |
| struct | PropertyChangedHandler |
Additional Inherited Members | |
| Protected Types inherited from QtPrivate::QQuasiVirtualInterface< QRangeModelImplBase > | |
| using | base_interface |
| using | CallFN |
Definition at line 904 of file qrangemodel_impl.h.
Definition at line 963 of file qrangemodel_impl.h.
Definition at line 974 of file qrangemodel_impl.h.
| using QRangeModelImplBase::Data = Method<&Self::data> |
Definition at line 977 of file qrangemodel_impl.h.
| using QRangeModelImplBase::Flags = Method<&Self::flags> |
Definition at line 975 of file qrangemodel_impl.h.
Definition at line 976 of file qrangemodel_impl.h.
| using QRangeModelImplBase::Index = Method<&Self::index> |
Definition at line 971 of file qrangemodel_impl.h.
Definition at line 964 of file qrangemodel_impl.h.
Definition at line 967 of file qrangemodel_impl.h.
Definition at line 959 of file qrangemodel_impl.h.
Definition at line 978 of file qrangemodel_impl.h.
| using QRangeModelImplBase::MethodTemplates |
Definition at line 987 of file qrangemodel_impl.h.
Definition at line 966 of file qrangemodel_impl.h.
Definition at line 969 of file qrangemodel_impl.h.
Definition at line 983 of file qrangemodel_impl.h.
| using QRangeModelImplBase::Parent = Method<&Self::parent> |
Definition at line 980 of file qrangemodel_impl.h.
Definition at line 965 of file qrangemodel_impl.h.
Definition at line 968 of file qrangemodel_impl.h.
Definition at line 979 of file qrangemodel_impl.h.
Definition at line 973 of file qrangemodel_impl.h.
Definition at line 984 of file qrangemodel_impl.h.
| using QRangeModelImplBase::SetData = Method<&Self::setData> |
Definition at line 961 of file qrangemodel_impl.h.
Definition at line 960 of file qrangemodel_impl.h.
Definition at line 962 of file qrangemodel_impl.h.
| using QRangeModelImplBase::Sibling = Method<&Self::sibling> |
Definition at line 972 of file qrangemodel_impl.h.
|
strong |
| Enumerator | |
|---|---|
| None | |
| Full | |
| OnRead | |
Definition at line 924 of file qrangemodel_impl.h.
|
inlineexplicitprotected |
Definition at line 1024 of file qrangemodel_impl.h.
|
inlineprotected |
Definition at line 224 of file qrangemodel.h.
|
inlineprotected |
Definition at line 161 of file qrangemodel.h.
|
inlineprotected |
Definition at line 189 of file qrangemodel.h.
|
inlineprotected |
Definition at line 177 of file qrangemodel.h.
|
inlineprotected |
Definition at line 205 of file qrangemodel.h.
|
inlineprotected |
Definition at line 169 of file qrangemodel.h.
|
inlineprotected |
Definition at line 197 of file qrangemodel.h.
|
inlineprotected |
Definition at line 153 of file qrangemodel.h.
|
protected |
Definition at line 129 of file qrangemodel.cpp.
|
inlineprotected |
Definition at line 139 of file qrangemodel.h.
| bool QRangeModelImplBase::clearItemData | ( | const QModelIndex & | index | ) |
| int QRangeModelImplBase::columnCount | ( | const QModelIndex & | parent | ) | const |
|
staticprotected |
Definition at line 192 of file qrangemodel.cpp.
|
staticprotected |
Definition at line 213 of file qrangemodel.cpp.
|
staticprotected |
Definition at line 170 of file qrangemodel.cpp.
|
staticprotected |
Definition at line 198 of file qrangemodel.cpp.
|
inlineprotected |
Definition at line 135 of file qrangemodel.h.
| QVariant QRangeModelImplBase::data | ( | const QModelIndex & | index, |
| int | role ) const |
|
inlineprotected |
Definition at line 148 of file qrangemodel.h.
|
inlineprotected |
Definition at line 165 of file qrangemodel.h.
|
inlineprotected |
Definition at line 193 of file qrangemodel.h.
|
inlineprotected |
Definition at line 184 of file qrangemodel.h.
|
inlineprotected |
Definition at line 211 of file qrangemodel.h.
|
inlineprotected |
Definition at line 173 of file qrangemodel.h.
|
inlineprotected |
Definition at line 201 of file qrangemodel.h.
|
inlineprotected |
Definition at line 157 of file qrangemodel.h.
| Qt::ItemFlags QRangeModelImplBase::flags | ( | const QModelIndex & | index | ) | const |
|
inlinestaticprotected |
Definition at line 913 of file qrangemodel_impl.h.
|
static |
Definition at line 124 of file qrangemodel.cpp.
|
static |
Definition at line 119 of file qrangemodel.cpp.
| QVariant QRangeModelImplBase::headerData | ( | int | section, |
| Qt::Orientation | orientation, | ||
| int | role ) const |
| QModelIndex QRangeModelImplBase::index | ( | int | row, |
| int | column, | ||
| const QModelIndex & | parent ) const |
| bool QRangeModelImplBase::insertColumns | ( | int | column, |
| int | count, | ||
| const QModelIndex & | parent ) |
| bool QRangeModelImplBase::insertRows | ( | int | row, |
| int | count, | ||
| const QModelIndex & | parent ) |
| void QRangeModelImplBase::invalidateCaches | ( | ) |
| QMap< int, QVariant > QRangeModelImplBase::itemData | ( | const QModelIndex & | index | ) | const |
|
inline |
Definition at line 215 of file qrangemodel.h.
|
inline |
Definition at line 219 of file qrangemodel.h.
| bool QRangeModelImplBase::moveColumns | ( | const QModelIndex & | sourceParent, |
| int | sourceColumn, | ||
| int | count, | ||
| const QModelIndex & | destParent, | ||
| int | destColumn ) |
| bool QRangeModelImplBase::moveRows | ( | const QModelIndex & | sourceParent, |
| int | sourceRow, | ||
| int | count, | ||
| const QModelIndex & | destParent, | ||
| int | destRow ) |
| void QRangeModelImplBase::multiData | ( | const QModelIndex & | index, |
| QModelRoleDataSpan | roleDataSpan ) const |
| QModelIndex QRangeModelImplBase::parent | ( | const QModelIndex & | child | ) | const |
| bool QRangeModelImplBase::removeColumns | ( | int | column, |
| int | count, | ||
| const QModelIndex & | parent ) |
| bool QRangeModelImplBase::removeRows | ( | int | row, |
| int | count, | ||
| const QModelIndex & | parent ) |
|
inline |
Definition at line 144 of file qrangemodel.h.
|
static |
Definition at line 1296 of file qrangemodel.cpp.
|
static |
Definition at line 1315 of file qrangemodel.cpp.
|
staticprotected |
Using metaObject, return a mapping of roles to the matching QMetaProperties.
Definition at line 139 of file qrangemodel.cpp.
| int QRangeModelImplBase::rowCount | ( | const QModelIndex & | parent | ) | const |
| void QRangeModelImplBase::setAutoConnectPolicy | ( | ) |
| bool QRangeModelImplBase::setData | ( | const QModelIndex & | index, |
| const QVariant & | data, | ||
| int | role ) |
| bool QRangeModelImplBase::setHeaderData | ( | int | section, |
| Qt::Orientation | orientation, | ||
| const QVariant & | data, | ||
| int | role ) |
| bool QRangeModelImplBase::setItemData | ( | const QModelIndex & | index, |
| const QMap< int, QVariant > & | data ) |
| QModelIndex QRangeModelImplBase::sibling | ( | int | row, |
| int | column, | ||
| const QModelIndex & | index ) const |
|
friend |
Definition at line 1019 of file qrangemodel_impl.h.
|
friend |
Definition at line 1018 of file qrangemodel_impl.h.