Isis 3 Programmer Reference
Isis::SortFilterProxyModel Class Reference

#include <SortFilterProxyModel.h>

Inheritance diagram for Isis::SortFilterProxyModel:
Inheritance graph
Collaboration diagram for Isis::SortFilterProxyModel:
Collaboration graph

Public Member Functions

 SortFilterProxyModel (QObject *parent=0)
 
void setSourceModel (ProjectItemModel *newSourceModel)
 
bool setRoot (const QStandardItem *item)
 
void setSelectedItems (QList< ProjectItem * > selected)
 

Protected Member Functions

bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override
 

Private Attributes

ProjectItemModelbaseModel
 
QList< QModelIndex > selectedIndices
 
QList< int > selectedIndexRows
 
QPersistentModelIndex m_root
 
QModelIndex root
 

Detailed Description

Author
2018-06-18 Tyler Wilson
History
2018-06-18 Tyler Wilson - Original version. A proxy class for filtering data within the JigsawSetupDialog Bundle Observation Solve Settings (BOSS) tab.

Definition at line 38 of file SortFilterProxyModel.h.

Constructor & Destructor Documentation

◆ SortFilterProxyModel()

Isis::SortFilterProxyModel::SortFilterProxyModel ( QObject * parent = 0)
explicit

Definition at line 17 of file SortFilterProxyModel.cpp.

Member Function Documentation

◆ filterAcceptsRow()

bool Isis::SortFilterProxyModel::filterAcceptsRow ( int sourceRow,
const QModelIndex & sourceParent ) const
overrideprotected

Definition at line 67 of file SortFilterProxyModel.cpp.

◆ setRoot()

bool Isis::SortFilterProxyModel::setRoot ( const QStandardItem * item)

Definition at line 58 of file SortFilterProxyModel.cpp.

◆ setSelectedItems()

void Isis::SortFilterProxyModel::setSelectedItems ( QList< ProjectItem * > selected)

Definition at line 22 of file SortFilterProxyModel.cpp.

◆ setSourceModel()

void Isis::SortFilterProxyModel::setSourceModel ( ProjectItemModel * newSourceModel)

Definition at line 38 of file SortFilterProxyModel.cpp.

Member Data Documentation

◆ baseModel

ProjectItemModel* Isis::SortFilterProxyModel::baseModel
private

Definition at line 59 of file SortFilterProxyModel.h.

◆ m_root

QPersistentModelIndex Isis::SortFilterProxyModel::m_root
private

Definition at line 62 of file SortFilterProxyModel.h.

◆ root

QModelIndex Isis::SortFilterProxyModel::root
private

Definition at line 63 of file SortFilterProxyModel.h.

◆ selectedIndexRows

QList<int> Isis::SortFilterProxyModel::selectedIndexRows
private

Definition at line 61 of file SortFilterProxyModel.h.

◆ selectedIndices

QList<QModelIndex> Isis::SortFilterProxyModel::selectedIndices
private

Definition at line 60 of file SortFilterProxyModel.h.


The documentation for this class was generated from the following files: