![]() |
Isis 3 Programmer Reference
|
#include <SubTreeProxyModel.h>
Public Member Functions | |
SubTreeProxyModel (QObject *parent=0) | |
Constructs a SubTreeProxyModel. More... | |
QModelIndex | mapFromSource (const QModelIndex &sourceIndex) const Q_DECL_OVERRIDE |
QModelIndex | mapToSource (const QModelIndex &proxyIndex) const Q_DECL_OVERRIDE |
void | setSourceModel (QAbstractItemModel *newSourceModel) Q_DECL_OVERRIDE |
bool | setRoot (const QStandardItem *item) |
Private Attributes | |
QPersistentModelIndex | m_root |
????-??-?? Ian Humphrey
Definition at line 24 of file SubTreeProxyModel.h.
|
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().
QObject | *parent The parent of this SubTreeProxyModel. |
Definition at line 30 of file SubTreeProxyModel.cpp.
U.S. Department of the Interior | U.S. Geological Survey ISIS | Privacy & Disclaimers | Astrogeology Research Program To contact us, please post comments and questions on the USGS Astrogeology Discussion Board To report a bug, or suggest a feature go to: ISIS Github File Modified: 07/13/2023 15:23:25 |