4#ifndef QITEMSELECTIONMODEL_P_H
5#define QITEMSELECTIONMODEL_P_H
19#include "private/qobject_p.h"
20#include "private/qproperty_p.h"
35 QItemSelectionModel::SelectionFlags command)
const;
51 ranges.removeAll(*
it);
LayoutChangeHint
This enum describes the way the model changes layout.
QPersistentModelIndex tableParent
void _q_rowsAboutToBeInserted(const QModelIndex &parent, int start, int end)
void _q_columnsAboutToBeInserted(const QModelIndex &parent, int start, int end)
void _q_layoutChanged(const QList< QPersistentModelIndex > &parents=QList< QPersistentModelIndex >(), QAbstractItemModel::LayoutChangeHint hint=QAbstractItemModel::NoLayoutChangeHint)
void setModel(QAbstractItemModel *mod)
QList< QPair< QPersistentModelIndex, uint > > savedPersistentRowLengths
QList< QPair< QPersistentModelIndex, uint > > savedPersistentCurrentRowLengths
QItemSelectionModel::SelectionFlags currentCommand
QItemSelectionModelPrivate()
void _q_columnsAboutToBeRemoved(const QModelIndex &parent, int start, int end)
QPersistentModelIndex currentIndex
Q_OBJECT_COMPAT_PROPERTY_WITH_ARGS(QItemSelectionModelPrivate, QAbstractItemModel *, model, &QItemSelectionModelPrivate::setModel, &QItemSelectionModelPrivate::modelChanged, nullptr) QItemSelection ranges
QItemSelection currentSelection
QList< QPersistentModelIndex > savedPersistentCurrentIndexes
void initModel(QAbstractItemModel *model)
void _q_rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end)
void remove(QList< QItemSelectionRange > &r)
QList< QPersistentModelIndex > savedPersistentIndexes
void modelChanged(QAbstractItemModel *mod)
QItemSelection expandSelection(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command) const
void _q_layoutAboutToBeChanged(const QList< QPersistentModelIndex > &parents=QList< QPersistentModelIndex >(), QAbstractItemModel::LayoutChangeHint hint=QAbstractItemModel::NoLayoutChangeHint)
bool isEmpty() const noexcept
const_iterator constBegin() const noexcept
const_iterator constEnd() const noexcept
QSet< QString >::iterator it
Combined button and popup list for selecting options.
std::pair< T1, T2 > QPair
static QT_BEGIN_NAMESPACE QVariant hint(QPlatformIntegration::StyleHint h)
#define QT_REQUIRE_CONFIG(feature)
QSqlQueryModel * model
[16]
QItemSelection * selection
[0]