Loading [MathJax]/jax/output/NativeMML/config.js
 |
Isis Developer Reference
|
Go to the documentation of this file.
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.
Definition: SubTreeProxyModel.cpp:30
Definition: SubTreeProxyModel.h:24
bool setRoot(const QStandardItem *item)
Definition: SubTreeProxyModel.cpp:85
QModelIndex mapFromSource(const QModelIndex &sourceIndex) const Q_DECL_OVERRIDE
Definition: SubTreeProxyModel.cpp:36
QModelIndex mapToSource(const QModelIndex &proxyIndex) const Q_DECL_OVERRIDE
Definition: SubTreeProxyModel.cpp:66
void setSourceModel(QAbstractItemModel *newSourceModel) Q_DECL_OVERRIDE
Definition: SubTreeProxyModel.cpp:71
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16