4#ifndef QITEMSELECTIONMODEL_P_H
5#define QITEMSELECTIONMODEL_P_H
19#include "private/qobject_p.h"
20#include "private/qproperty_p.h"
36 QItemSelectionModel::SelectionFlags command)
const;
58 inline void remove(QList<QItemSelectionRange> &
r)
62 ranges.removeAll(*
it);
LayoutChangeHint
This enum describes the way the model changes layout.
QPersistentModelIndex tableParent
void triggerLayoutChanged()
void layoutAboutToBeChanged(const QList< QPersistentModelIndex > &parents, QAbstractItemModel::LayoutChangeHint hint)
void rowsAboutToBeInserted(const QModelIndex &parent, int start, int end)
void setModel(QAbstractItemModel *mod)
void columnsAboutToBeInserted(const QModelIndex &parent, int start, int end)
QItemSelectionModel::SelectionFlags currentCommand
QItemSelectionModelPrivate()
void 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
QList< std::pair< QPersistentModelIndex, uint > > savedPersistentCurrentRowLengths
QItemSelection currentSelection
QList< std::pair< QPersistentModelIndex, uint > > savedPersistentRowLengths
QList< QPersistentModelIndex > savedPersistentCurrentIndexes
std::array< QMetaObject::Connection, 12 > connections
void initModel(QAbstractItemModel *model)
void layoutChanged(const QList< QPersistentModelIndex > &parents, QAbstractItemModel::LayoutChangeHint hint)
void remove(QList< QItemSelectionRange > &r)
QList< QPersistentModelIndex > savedPersistentIndexes
void modelChanged(QAbstractItemModel *mod)
QItemSelection expandSelection(const QItemSelection &selection, QItemSelectionModel::SelectionFlags command) const
void rowsAboutToBeRemoved(const QModelIndex &parent, int start, int end)
void triggerLayoutToBeChanged()
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.
static QT_BEGIN_NAMESPACE QVariant hint(QPlatformIntegration::StyleHint h)
#define QT_REQUIRE_CONFIG(feature)
QSqlQueryModel * model
[16]
QItemSelection * selection
[0]