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;
Definition: SubTreeProxyModel.h:24
QModelIndex mapFromSource(const QModelIndex &sourceIndex) const Q_DECL_OVERRIDE
Definition: SubTreeProxyModel.cpp:36
SubTreeProxyModel(QObject *parent=0)
Constructs a SubTreeProxyModel.
Definition: SubTreeProxyModel.cpp:30
bool setRoot(const QStandardItem *item)
Definition: SubTreeProxyModel.cpp:85
QModelIndex mapToSource(const QModelIndex &proxyIndex) const Q_DECL_OVERRIDE
Definition: SubTreeProxyModel.cpp:66
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
void setSourceModel(QAbstractItemModel *newSourceModel) Q_DECL_OVERRIDE
Definition: SubTreeProxyModel.cpp:71