2 #ifndef SubTreeProxyModel_h 3 #define SubTreeProxyModel_h 5 #include <QIdentityProxyModel> 6 #include <QPersistentModelIndex> 7 #include <QSortFilterProxyModel> 9 class QAbstractProxyModel;
30 QModelIndex mapFromSource(
const QModelIndex &sourceIndex)
const Q_DECL_OVERRIDE;
31 QModelIndex mapToSource(
const QModelIndex &proxyIndex)
const Q_DECL_OVERRIDE;
33 void setSourceModel(QAbstractItemModel *newSourceModel) Q_DECL_OVERRIDE;
50 QPersistentModelIndex m_root;
SubTreeProxyModel(QObject *parent=0)
Constructs a SubTreeProxyModel.
Namespace for ISIS/Bullet specific routines.