#include <Modules/Loadable/SubjectHierarchy/Widgets/qMRMLSortFilterSubjectHierarchyProxyModel.h>
|
QStandardItem * | sourceItem (const QModelIndex &index) const |
|
|
QScopedPointer< qMRMLSortFilterSubjectHierarchyProxyModelPrivate > | d_ptr |
|
◆ Superclass
◆ attributeNameFilter
QString qMRMLSortFilterSubjectHierarchyProxyModel::attributeNameFilter |
|
readwrite |
◆ attributeValueFilter
QString qMRMLSortFilterSubjectHierarchyProxyModel::attributeValueFilter |
|
readwrite |
◆ hideChildNodeTypes
QStringList qMRMLSortFilterSubjectHierarchyProxyModel::hideChildNodeTypes |
|
readwrite |
◆ hideItemsUnaffiliatedWithItemID
vtkIdType qMRMLSortFilterSubjectHierarchyProxyModel::hideItemsUnaffiliatedWithItemID |
|
readwrite |
◆ levelFilter
QString qMRMLSortFilterSubjectHierarchyProxyModel::levelFilter |
|
readwrite |
◆ nameFilter
QString qMRMLSortFilterSubjectHierarchyProxyModel::nameFilter |
|
readwrite |
◆ nodeTypes
QStringList qMRMLSortFilterSubjectHierarchyProxyModel::nodeTypes |
|
readwrite |
◆ qMRMLSortFilterSubjectHierarchyProxyModel()
qMRMLSortFilterSubjectHierarchyProxyModel::qMRMLSortFilterSubjectHierarchyProxyModel |
( |
QObject * |
parent = 0 | ) |
|
◆ ~qMRMLSortFilterSubjectHierarchyProxyModel()
virtual qMRMLSortFilterSubjectHierarchyProxyModel::~qMRMLSortFilterSubjectHierarchyProxyModel |
( |
| ) |
|
|
virtual |
◆ acceptedItemCount()
Q_INVOKABLE int qMRMLSortFilterSubjectHierarchyProxyModel::acceptedItemCount |
( |
vtkIdType |
rootItemID | ) |
const |
Determine the number of accepted (shown) items
- Parameters
-
rootItemID | Ancestor item of branch in which the accepted items are counted |
◆ attributeNameFilter()
QString qMRMLSortFilterSubjectHierarchyProxyModel::attributeNameFilter |
( |
| ) |
const |
◆ attributeValueFilter()
QString qMRMLSortFilterSubjectHierarchyProxyModel::attributeValueFilter |
( |
| ) |
const |
◆ filterAcceptsItem()
virtual bool qMRMLSortFilterSubjectHierarchyProxyModel::filterAcceptsItem |
( |
vtkIdType |
itemID, |
|
|
bool |
canAcceptIfAnyChildIsAccepted = true |
|
) |
| const |
|
virtual |
Filters items to decide which to display in the view.
◆ filterAcceptsRow()
virtual bool qMRMLSortFilterSubjectHierarchyProxyModel::filterAcceptsRow |
( |
int |
sourceRow, |
|
|
const QModelIndex & |
sourceParent |
|
) |
| const |
|
virtual |
Returns true if the item in the row indicated by the given sourceRow and sourceParent should be included in the model; otherwise returns false. This method test each item via filterAcceptsItem
◆ flags()
virtual Qt::ItemFlags qMRMLSortFilterSubjectHierarchyProxyModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
virtual |
◆ hideChildNodeTypes()
QStringList qMRMLSortFilterSubjectHierarchyProxyModel::hideChildNodeTypes |
( |
| ) |
const |
◆ hideItemsUnaffiliatedWithItemID()
vtkIdType qMRMLSortFilterSubjectHierarchyProxyModel::hideItemsUnaffiliatedWithItemID |
( |
| ) |
|
◆ indexFromSubjectHierarchyItem()
Q_INVOKABLE QModelIndex qMRMLSortFilterSubjectHierarchyProxyModel::indexFromSubjectHierarchyItem |
( |
vtkIdType |
itemID, |
|
|
int |
column = 0 |
|
) |
| const |
Retrieve an index for a given a subject hierarchy item ID.
◆ levelFilter()
QString qMRMLSortFilterSubjectHierarchyProxyModel::levelFilter |
( |
| ) |
const |
◆ mrmlScene()
Q_INVOKABLE vtkMRMLScene* qMRMLSortFilterSubjectHierarchyProxyModel::mrmlScene |
( |
| ) |
const |
◆ nameFilter()
QString qMRMLSortFilterSubjectHierarchyProxyModel::nameFilter |
( |
| ) |
const |
◆ nodeTypes()
QStringList qMRMLSortFilterSubjectHierarchyProxyModel::nodeTypes |
( |
| ) |
const |
◆ setAttributeNameFilter
void qMRMLSortFilterSubjectHierarchyProxyModel::setAttributeNameFilter |
( |
QString |
filter | ) |
|
|
slot |
◆ setAttributeValueFilter
void qMRMLSortFilterSubjectHierarchyProxyModel::setAttributeValueFilter |
( |
QString |
filter | ) |
|
|
slot |
◆ setHideChildNodeTypes
void qMRMLSortFilterSubjectHierarchyProxyModel::setHideChildNodeTypes |
( |
const QStringList & |
types | ) |
|
|
slot |
◆ setHideItemsUnaffiliatedWithItemID()
void qMRMLSortFilterSubjectHierarchyProxyModel::setHideItemsUnaffiliatedWithItemID |
( |
vtkIdType |
itemID | ) |
|
◆ setLevelFilter
void qMRMLSortFilterSubjectHierarchyProxyModel::setLevelFilter |
( |
QString |
filter | ) |
|
|
slot |
◆ setNameFilter
void qMRMLSortFilterSubjectHierarchyProxyModel::setNameFilter |
( |
QString |
filter | ) |
|
|
slot |
◆ setNodeTypes
void qMRMLSortFilterSubjectHierarchyProxyModel::setNodeTypes |
( |
const QStringList & |
types | ) |
|
|
slot |
◆ sourceItem()
QStandardItem* qMRMLSortFilterSubjectHierarchyProxyModel::sourceItem |
( |
const QModelIndex & |
index | ) |
const |
|
protected |
◆ subjectHierarchyItemFromIndex()
Q_INVOKABLE vtkIdType qMRMLSortFilterSubjectHierarchyProxyModel::subjectHierarchyItemFromIndex |
( |
const QModelIndex & |
index | ) |
const |
Retrieve the associated subject hierarchy item ID from a model index.
◆ subjectHierarchyNode()
◆ subjectHierarchySceneIndex()
Q_INVOKABLE QModelIndex qMRMLSortFilterSubjectHierarchyProxyModel::subjectHierarchySceneIndex |
( |
| ) |
const |
Retrieve the index of the MRML scene (the root item) in the subject hierarchy tree.
◆ d_ptr
QScopedPointer<qMRMLSortFilterSubjectHierarchyProxyModelPrivate> qMRMLSortFilterSubjectHierarchyProxyModel::d_ptr |
|
protected |
The documentation for this class was generated from the following file: