32 #include <QAbstractItemModel> 65 QModelIndex index (
int,
int,
const QModelIndex& = QModelIndex ())
const;
69 QModelIndex parent (
const QModelIndex&)
const;
73 int rowCount (
const QModelIndex& parent = QModelIndex())
const;
77 int columnCount (
const QModelIndex& parent = QModelIndex())
const;
81 QVariant data (
const QModelIndex& index,
int role = Qt::DisplayRole)
const;
90 void SetSource (QAbstractItemModel *model);
111 virtual bool IsIndexAccepted (
const QModelIndex& index)
const;
113 void handleDataChanged (
const QModelIndex&,
const QModelIndex&);
114 void handleRowsInserted (
const QModelIndex&,
int,
int);
115 void handleRowsAboutRemoved (
const QModelIndex&,
int,
int);
QList< QPersistentModelIndex > SourceIndexes_
QAbstractItemModel * Source_
Proxy model flattening a hierarchical model.