Lines Matching refs:QAbstractItemModel

54     int computeRowsPrior(const QAbstractItemModel *sourceModel) const;
59 QAbstractItemModel *sourceModel;
73 …boutToBeChanged(const QList<QPersistentModelIndex> &sourceParents, QAbstractItemModel::LayoutChang…
74 …ceLayoutChanged(const QList<QPersistentModelIndex> &sourceParents, QAbstractItemModel::LayoutChang…
77 int columnCountAfterChange(const QAbstractItemModel *model, int newCount) const;
81 …int *sourceRow, int *sourceColumn, QModelIndex *sourceParent, QAbstractItemModel **sourceModel) co…
83 QVector<QAbstractItemModel *> m_models;
134 : QAbstractItemModel(*new QConcatenateTablesProxyModelPrivate, parent) in QConcatenateTablesProxyModel()
153 const QAbstractItemModel *sourceModel = sourceIndex.model(); in mapFromSource()
154 if (!d->m_models.contains(const_cast<QAbstractItemModel *>(sourceModel))) { in mapFromSource()
206 const auto sourceModel = const_cast<QAbstractItemModel *>(sourceIndex.model()); in setData()
229 const auto sourceModel = const_cast<QAbstractItemModel *>(sourceIndex.model()); in setItemData()
295 … Q_ASSERT(checkIndex(parent, QAbstractItemModel::CheckIndexOption::ParentIsInvalid)); // flat model in index()
364 …int *sourceRow, int *sourceColumn, QModelIndex *sourceParent, QAbstractItemModel **sourceModel) co… in mapDropCoordinatesToSource()
407 QAbstractItemModel *sourceModel; in canDropMimeData()
429 QAbstractItemModel *sourceModel; in dropMimeData()
455 QList<QAbstractItemModel *> QConcatenateTablesProxyModel::sourceModels() const in sourceModels()
468 void QConcatenateTablesProxyModel::addSourceModel(QAbstractItemModel *sourceModel) in addSourceModel()
484 …Model, SIGNAL(layoutAboutToBeChanged(QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChang… in addSourceModel()
485 …(_q_slotSourceLayoutAboutToBeChanged(QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChang… in addSourceModel()
486 …connect(sourceModel, SIGNAL(layoutChanged(QList<QPersistentModelIndex>, QAbstractItemModel::Layout… in addSourceModel()
487 …this, SLOT(_q_slotSourceLayoutChanged(QList<QPersistentModelIndex>, QAbstractItemModel::LayoutChan… in addSourceModel()
507 void QConcatenateTablesProxyModel::removeSourceModel(QAbstractItemModel *sourceModel) in removeSourceModel()
531 const QAbstractItemModel * const model = static_cast<QAbstractItemModel *>(q->sender()); in _q_slotRowsAboutToBeInserted()
550 const QAbstractItemModel * const model = static_cast<QAbstractItemModel *>(q->sender()); in _q_slotRowsAboutToBeRemoved()
569 const QAbstractItemModel * const model = static_cast<QAbstractItemModel *>(q->sender()); in _q_slotColumnsAboutToBeInserted()
598 const QAbstractItemModel * const model = static_cast<QAbstractItemModel *>(q->sender()); in _q_slotColumnsAboutToBeRemoved()
631 Q_ASSERT(q->checkIndex(myFrom, QAbstractItemModel::CheckIndexOption::IndexIsValid)); in _q_slotDataChanged()
633 Q_ASSERT(q->checkIndex(myTo, QAbstractItemModel::CheckIndexOption::IndexIsValid)); in _q_slotDataChanged()
637 …boutToBeChanged(const QList<QPersistentModelIndex> &sourceParents, QAbstractItemModel::LayoutChang… in _q_slotSourceLayoutAboutToBeChanged()
659 …ceLayoutChanged(const QList<QPersistentModelIndex> &sourceParents, QAbstractItemModel::LayoutChang… in _q_slotSourceLayoutChanged()
679 …Q_ASSERT(m_models.contains(const_cast<QAbstractItemModel *>(static_cast<const QAbstractItemModel *… in _q_slotModelAboutToBeReset()
689 …Q_ASSERT(m_models.contains(const_cast<QAbstractItemModel *>(static_cast<const QAbstractItemModel *… in _q_slotModelReset()
700 …lement(m_models.begin(), m_models.end(), [](const QAbstractItemModel* model1, const QAbstractItemM… in calculatedColumnCount()
723 int QConcatenateTablesProxyModelPrivate::columnCountAfterChange(const QAbstractItemModel *model, in… in columnCountAfterChange()
727 const QAbstractItemModel *mod = m_models.at(i); in columnCountAfterChange()
737 int QConcatenateTablesProxyModelPrivate::computeRowsPrior(const QAbstractItemModel *sourceModel) co… in computeRowsPrior()
740 for (const QAbstractItemModel *model : m_models) { in computeRowsPrior()
752 for (QAbstractItemModel *model : m_models) { in sourceModelForRow()