#include <SubTreeProxyModel.h>
- Author
- ????-??-?? Ian Humphrey
◆ SubTreeProxyModel()
Isis::SubTreeProxyModel::SubTreeProxyModel |
( |
QObject * |
parent = 0 | ) |
|
|
explicit |
Constructs a SubTreeProxyModel.
Constructs a SubTreeProxyModel that can be used to operate on a sub-section of the source model. By default, the sub tree will be identical to the source model. The setRoot() method can be used to specify where the subtree starts. An example of usage can be found in JigsawDialog::createObservationSolveSettingsTreeView().
- Parameters
-
- See also
- JigsawDialog::createObservationSolveSettingsTreeView()
-
SubTreeProxyModel::setRoot()
◆ mapFromSource()
QModelIndex Isis::SubTreeProxyModel::mapFromSource |
( |
const QModelIndex & |
sourceIndex | ) |
const |
◆ mapToSource()
QModelIndex Isis::SubTreeProxyModel::mapToSource |
( |
const QModelIndex & |
proxyIndex | ) |
const |
◆ setRoot()
bool Isis::SubTreeProxyModel::setRoot |
( |
const QStandardItem * |
item | ) |
|
◆ setSourceModel()
void Isis::SubTreeProxyModel::setSourceModel |
( |
QAbstractItemModel * |
newSourceModel | ) |
|
The documentation for this class was generated from the following files: