![]() |
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>
Public Member Functions | |
| void | invalidateCaches () |
| bool | setHeaderData (int section, Qt::Orientation orientation, const QVariant &datadata, int role) |
| bool | setData (const QModelIndex &indexindex, const QVariant &datadata, int role) |
| bool | setItemData (const QModelIndex &indexindex, const QMap< int, QVariant > &datadata) |
| bool | clearItemData (const QModelIndex &indexindex) |
| bool | insertColumns (int columncolumn, int countcount, const QModelIndex &parent) |
| bool | removeColumns (int columncolumn, int countcount, const QModelIndex &parent) |
| bool | moveColumns (const QModelIndex &sourceParent, int sourceColumn, int countcount, const QModelIndex &destParent, int destColumn) |
| bool | insertRows (int rowrow, int countcount, const QModelIndex &parent) |
| bool | removeRows (int rowrow, int countcount, const QModelIndex &parent) |
| bool | moveRows (const QModelIndex &sourceParent, int sourceRow, int countcount, const QModelIndex &destParent, int destRow) |
| QModelIndex | index (int rowrow, int columncolumn, const QModelIndex &parent) const |
| QModelIndex | sibling (int rowrow, int columncolumn, const QModelIndex &indexindex) const |
| int | rowCount (const QModelIndex &parent) const |
| int | columnCount (const QModelIndex &parent) const |
| Qt::ItemFlags | flags (const QModelIndex &indexindex) const |
| QVariant | headerData (int section, Qt::Orientation orientation, int role) const |
| QVariant | data (const QModelIndex &indexindex, int role) const |
| QMap< int, QVariant > | itemData (const QModelIndex &indexindex) const |
| QHash< int, QByteArray > | roleNames () const |
| QModelIndex | parent (const QModelIndex &child) const |
| void | multiData (const QModelIndex &indexindex, QModelRoleDataSpan roleDataSpan) const |
| void | setAutoConnectPolicy () |
| void | interfaceVersion (int &version) const |
| void | sort (int columncolumn, Qt::SortOrder orderorder) |
| QModelIndexList | match (const QModelIndex &startstart, int role, const QVariant &valuevalue, int hits, Qt::MatchFlags flagsflags) const |
| Qt::DropActions | adjustSupportedDragActions (Qt::DropActions dragActions) |
| Qt::DropActions | adjustSupportedDropActions (Qt::DropActions dropActions) |
| QStringList | mimeTypes () const |
| bool | canDropMimeData (const QMimeData *datadata, Qt::DropAction action, int rowrow, int columncolumn, const QModelIndex &parent) const |
| bool | dropMimeData (const QMimeData *datadata, Qt::DropAction action, int rowrow, int columncolumn, const QModelIndex &parent) |
| QMimeData * | mimeData (const QModelIndexList &indexes) const |
| QAbstractItemModel & | itemModel () |
| const QAbstractItemModel & | itemModel () const |
| Public Member Functions inherited from QtPrivate::QQuasiVirtualInterface< QRangeModelImplBase > | |
| auto | call (Args &&... args) const |
| void | destroy () |
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 | |
| static Qt::weak_ordering | compareData (const QVariant &lhs, const QVariant &rhs, const QCollator *collator) |
| static Q_CORE_EXPORT QHash< int, QMetaProperty > | roleProperties (const QAbstractItemModel &model, const QMetaObject &metaObject) |
| static Q_CORE_EXPORT QHash< int, QMetaProperty > | columnProperties (const QMetaObject &metaObject) |
| static Q_CORE_EXPORT bool | connectProperty (const QModelIndex &indexindex, const QObject *item, QRangeModelDetails::AutoConnectContext *context, int role, const QMetaProperty &property) |
| static Q_CORE_EXPORT bool | connectPropertyConst (const QModelIndex &indexindex, const QObject *item, QRangeModelDetails::AutoConnectContext *context, int role, const QMetaProperty &property) |
| static Q_CORE_EXPORT bool | connectProperties (const QModelIndex &indexindex, const QObject *item, QRangeModelDetails::AutoConnectContext *context, const QHash< int, QMetaProperty > &properties) |
| static Q_CORE_EXPORT bool | connectPropertiesConst (const QModelIndex &indexindex, const QObject *item, QRangeModelDetails::AutoConnectContext *context, const QHash< int, QMetaProperty > &properties) |
| static Q_CORE_EXPORT QVariant | convertMatchValue (const QVariant &valuevalue, Qt::MatchFlags flagsflags) |
| static Q_CORE_EXPORT bool | matchValue (const QString &itemData, const QVariant &valuevalue, Qt::MatchFlags flagsflags) |
| static Q_CORE_EXPORT bool | matchValue (const QString &itemData, const QVariant &valuevalue, Qt::MatchFlags flagsflags, const QCollator &collator) |
| static bool | matchValue (const QVariant &itemData, const QVariant &valuevalue, Qt::MatchFlags flagsflags, const QCollator &collator) |
Friends | |
| class | QRangeModelPrivate |
| struct | PropertyChangedHandler |
Additional Inherited Members | |
| Protected Types inherited from QtPrivate::QQuasiVirtualInterface< QRangeModelImplBase > | |
| using | base_interface |
| using | CallFN |
Definition at line 1180 of file qrangemodel_impl.h.
Definition at line 1277 of file qrangemodel_impl.h.
Definition at line 1278 of file qrangemodel_impl.h.
Definition at line 1281 of file qrangemodel_impl.h.
Definition at line 1250 of file qrangemodel_impl.h.
Definition at line 1261 of file qrangemodel_impl.h.
| using QRangeModelImplBase::Data = Method<&Self::data> |
Definition at line 1264 of file qrangemodel_impl.h.
Definition at line 1282 of file qrangemodel_impl.h.
| using QRangeModelImplBase::Flags = Method<&Self::flags> |
Definition at line 1262 of file qrangemodel_impl.h.
Definition at line 1263 of file qrangemodel_impl.h.
| using QRangeModelImplBase::Index = Method<&Self::index> |
Definition at line 1258 of file qrangemodel_impl.h.
Definition at line 1251 of file qrangemodel_impl.h.
Definition at line 1254 of file qrangemodel_impl.h.
Definition at line 1274 of file qrangemodel_impl.h.
Definition at line 1246 of file qrangemodel_impl.h.
Definition at line 1265 of file qrangemodel_impl.h.
| using QRangeModelImplBase::Match = Method<&Self::match> |
Definition at line 1276 of file qrangemodel_impl.h.
| using QRangeModelImplBase::MethodTemplates |
Definition at line 1286 of file qrangemodel_impl.h.
Definition at line 1283 of file qrangemodel_impl.h.
Definition at line 1280 of file qrangemodel_impl.h.
Definition at line 1253 of file qrangemodel_impl.h.
Definition at line 1256 of file qrangemodel_impl.h.
Definition at line 1270 of file qrangemodel_impl.h.
| using QRangeModelImplBase::Parent = Method<&Self::parent> |
Definition at line 1267 of file qrangemodel_impl.h.
Definition at line 1252 of file qrangemodel_impl.h.
Definition at line 1255 of file qrangemodel_impl.h.
Definition at line 1266 of file qrangemodel_impl.h.
Definition at line 1260 of file qrangemodel_impl.h.
Definition at line 1271 of file qrangemodel_impl.h.
| using QRangeModelImplBase::SetData = Method<&Self::setData> |
Definition at line 1248 of file qrangemodel_impl.h.
Definition at line 1247 of file qrangemodel_impl.h.
Definition at line 1249 of file qrangemodel_impl.h.
| using QRangeModelImplBase::Sibling = Method<&Self::sibling> |
Definition at line 1259 of file qrangemodel_impl.h.
| using QRangeModelImplBase::Sort = Method<&Self::sort> |
Definition at line 1275 of file qrangemodel_impl.h.
|
strong |
| Enumerator | |
|---|---|
| None | |
| Full | |
| OnRead | |
Definition at line 1187 of file qrangemodel_impl.h.
|
strong |
| Enumerator | |
|---|---|
| DontDrop | |
| Automatic | |
| OverwriteAndIgnore | |
| OverwriteAndExtend | |
| InsertAsSiblings | |
| InsertAsChildren | |
Definition at line 1194 of file qrangemodel_impl.h.
|
inlineexplicitprotected |
Definition at line 1332 of file qrangemodel_impl.h.
| Qt::DropActions QRangeModelImplBase::adjustSupportedDragActions | ( | Qt::DropActions | dragActions | ) |
| Qt::DropActions QRangeModelImplBase::adjustSupportedDropActions | ( | Qt::DropActions | dropActions | ) |
|
inlineprotected |
Definition at line 320 of file qrangemodel.h.
|
inlineprotected |
Definition at line 248 of file qrangemodel.h.
|
inlineprotected |
Definition at line 276 of file qrangemodel.h.
|
inlineprotected |
Definition at line 302 of file qrangemodel.h.
|
inlineprotected |
Definition at line 264 of file qrangemodel.h.
|
inlineprotected |
Definition at line 292 of file qrangemodel.h.
|
inlineprotected |
Definition at line 256 of file qrangemodel.h.
|
inlineprotected |
Definition at line 284 of file qrangemodel.h.
|
inlineprotected |
Definition at line 240 of file qrangemodel.h.
|
protected |
Definition at line 146 of file qrangemodel.cpp.
| bool QRangeModelImplBase::canDropMimeData | ( | const QMimeData * | data, |
| Qt::DropAction | action, | ||
| int | row, | ||
| int | column, | ||
| const QModelIndex & | parent ) const |
|
inlineprotected |
Definition at line 226 of file qrangemodel.h.
| bool QRangeModelImplBase::clearItemData | ( | const QModelIndex & | index | ) |
| int QRangeModelImplBase::columnCount | ( | const QModelIndex & | parent | ) | const |
|
staticprotected |
Definition at line 282 of file qrangemodel.cpp.
|
inlinestaticprotected |
Definition at line 325 of file qrangemodel.h.
|
staticprotected |
Definition at line 345 of file qrangemodel.cpp.
|
staticprotected |
Definition at line 368 of file qrangemodel.cpp.
|
staticprotected |
Definition at line 322 of file qrangemodel.cpp.
|
staticprotected |
Definition at line 352 of file qrangemodel.cpp.
|
staticprotected |
Definition at line 167 of file qrangemodel.cpp.
|
inlineprotected |
Definition at line 218 of file qrangemodel.h.
| QVariant QRangeModelImplBase::data | ( | const QModelIndex & | index, |
| int | role ) const |
|
inlineprotected |
Definition at line 235 of file qrangemodel.h.
|
protected |
Definition at line 1921 of file qrangemodel.cpp.
| bool QRangeModelImplBase::dropMimeData | ( | const QMimeData * | data, |
| Qt::DropAction | action, | ||
| int | row, | ||
| int | column, | ||
| const QModelIndex & | parent ) |
|
inlineprotected |
Definition at line 252 of file qrangemodel.h.
|
inlineprotected |
Definition at line 280 of file qrangemodel.h.
|
inlineprotected |
Definition at line 306 of file qrangemodel.h.
|
inlineprotected |
Definition at line 271 of file qrangemodel.h.
|
inlineprotected |
Definition at line 298 of file qrangemodel.h.
|
inlineprotected |
Definition at line 260 of file qrangemodel.h.
|
inlineprotected |
Definition at line 288 of file qrangemodel.h.
|
inlineprotected |
Definition at line 244 of file qrangemodel.h.
| Qt::ItemFlags QRangeModelImplBase::flags | ( | const QModelIndex & | index | ) | const |
|
static |
Definition at line 141 of file qrangemodel.cpp.
|
static |
Definition at line 136 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::interfaceVersion | ( | int & | version | ) | const |
| void QRangeModelImplBase::invalidateCaches | ( | ) |
| QMap< int, QVariant > QRangeModelImplBase::itemData | ( | const QModelIndex & | index | ) | const |
|
inline |
Definition at line 311 of file qrangemodel.h.
|
inline |
Definition at line 315 of file qrangemodel.h.
| QModelIndexList QRangeModelImplBase::match | ( | const QModelIndex & | start, |
| int | role, | ||
| const QVariant & | value, | ||
| int | hits, | ||
| Qt::MatchFlags | flags ) const |
|
protected |
Definition at line 162 of file qrangemodel.cpp.
|
staticprotected |
Definition at line 252 of file qrangemodel.cpp.
|
staticprotected |
Definition at line 258 of file qrangemodel.cpp.
|
inlinestaticprotected |
Definition at line 1399 of file qrangemodel_impl.h.
| QMimeData * QRangeModelImplBase::mimeData | ( | const QModelIndexList & | indexes | ) | const |
| QStringList QRangeModelImplBase::mimeTypes | ( | ) | const |
| 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 |
|
inlineprotected |
Definition at line 222 of file qrangemodel.h.
| bool QRangeModelImplBase::removeColumns | ( | int | column, |
| int | count, | ||
| const QModelIndex & | parent ) |
| bool QRangeModelImplBase::removeRows | ( | int | row, |
| int | count, | ||
| const QModelIndex & | parent ) |
|
inline |
Definition at line 231 of file qrangemodel.h.
|
static |
Definition at line 2080 of file qrangemodel.cpp.
|
static |
Definition at line 2099 of file qrangemodel.cpp.
|
staticprotected |
Using metaObject, return a mapping of roles to the matching QMetaProperties.
Definition at line 269 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 |
| void QRangeModelImplBase::sort | ( | int | column, |
| Qt::SortOrder | order ) |
|
protected |
Definition at line 156 of file qrangemodel.cpp.
|
protected |
Definition at line 151 of file qrangemodel.cpp.
|
friend |
Definition at line 1327 of file qrangemodel_impl.h.
|
friend |
Definition at line 1326 of file qrangemodel_impl.h.