#include <qMRMLTreeProxyModel_p.h>
Public Slots | |
| void | onSourceColumnsAboutToBeInserted (const QModelIndex &parent, int start, int end) |
| void | onSourceColumnsAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
| void | onSourceColumnsInserted (const QModelIndex &parent, int start, int end) |
| void | onSourceColumnsRemoved (const QModelIndex &parent, int start, int end) |
| void | onSourceDataChanged (const QModelIndex &topLeft, const QModelIndex &bottomRight) |
| void | onSourceHeaderDataChanged (Qt::Orientation orientation, int first, int last) |
| void | onSourceLayoutAboutToBeChanged () |
| void | onSourceLayoutChanged () |
| void | onSourceModelAboutToBeReset () |
| void | onSourceModelReset () |
| void | onSourceRowsAboutToBeInserted (const QModelIndex &parent, int start, int end) |
| void | onSourceRowsAboutToBeRemoved (const QModelIndex &parent, int start, int end) |
| void | onSourceRowsInserted (const QModelIndex &parent, int start, int end) |
| void | onSourceRowsRemoved (const QModelIndex &parent, int start, int end) |
Public Member Functions | |
| int | childRowWithHiddenItemsAdded (const qMRMLAbstractItemHelper *parent, int row) const |
| QStack< int > | consecutiveRows (const QVector< QSharedPointer< qMRMLAbstractItemHelper > > &items) const |
| QModelIndex | indexFromItem (const qMRMLAbstractItemHelper *itemHelper) const |
| qMRMLAbstractItemHelper * | itemFromIndex (const QModelIndex &index) const |
| qMRMLAbstractItemHelper * | itemFromUID (QVariant uid, int column=-1) |
| qMRMLAbstractItemHelper * | proxyItemFromIndex (const QModelIndex &index) const |
| QVector< QSharedPointer < qMRMLAbstractItemHelper > > | proxyItemsFromProxyIndexes (const QModelIndex &parent, int start, int end) const |
| QVector< QSharedPointer < qMRMLAbstractItemHelper > > | proxyItemsFromSourceIndexes (const QModelIndex &parent, int start, int end) const |
| QCTK_DECLARE_PUBLIC (qMRMLTreeProxyModel) | |
| qMRMLTreeProxyModelPrivate (QObject *parent=0) | |
| int | rowCountWithHiddenItemsRemoved (const qMRMLAbstractItemHelper *item) const |
| int | rowWithHiddenItemsRemoved (const qMRMLAbstractItemHelper *item) const |
| qMRMLAbstractItemHelper * | sourceItemFromIndex (const QModelIndex &index) const |
Protected Attributes | |
| QVector< QSharedPointer < qMRMLAbstractItemHelper > > | HiddenItems |
| vtkObject * | HiddenVTKObject |
| qMRMLTreeProxyModelPrivate::qMRMLTreeProxyModelPrivate | ( | QObject * | parent = 0 |
) |
References HiddenVTKObject.
| int qMRMLTreeProxyModelPrivate::childRowWithHiddenItemsAdded | ( | const qMRMLAbstractItemHelper * | parent, | |
| int | row | |||
| ) | const |
References qMRMLAbstractItemHelper::column(), and HiddenItems.
| QStack< int > qMRMLTreeProxyModelPrivate::consecutiveRows | ( | const QVector< QSharedPointer< qMRMLAbstractItemHelper > > & | items | ) | const |
Referenced by onSourceRowsAboutToBeRemoved(), and onSourceRowsInserted().
| QModelIndex qMRMLTreeProxyModelPrivate::indexFromItem | ( | const qMRMLAbstractItemHelper * | itemHelper | ) | const |
| qMRMLAbstractItemHelper * qMRMLTreeProxyModelPrivate::itemFromIndex | ( | const QModelIndex & | index | ) | const |
References p, proxyItemFromIndex(), QCTK_P, and sourceItemFromIndex().
Referenced by proxyItemsFromProxyIndexes().
| qMRMLAbstractItemHelper * qMRMLTreeProxyModelPrivate::itemFromUID | ( | QVariant | uid, | |
| int | column = -1 | |||
| ) |
| void qMRMLTreeProxyModelPrivate::onSourceColumnsAboutToBeInserted | ( | const QModelIndex & | parent, | |
| int | start, | |||
| int | end | |||
| ) | [slot] |
| void qMRMLTreeProxyModelPrivate::onSourceColumnsAboutToBeRemoved | ( | const QModelIndex & | parent, | |
| int | start, | |||
| int | end | |||
| ) | [slot] |
| void qMRMLTreeProxyModelPrivate::onSourceColumnsInserted | ( | const QModelIndex & | parent, | |
| int | start, | |||
| int | end | |||
| ) | [slot] |
| void qMRMLTreeProxyModelPrivate::onSourceColumnsRemoved | ( | const QModelIndex & | parent, | |
| int | start, | |||
| int | end | |||
| ) | [slot] |
| void qMRMLTreeProxyModelPrivate::onSourceDataChanged | ( | const QModelIndex & | topLeft, | |
| const QModelIndex & | bottomRight | |||
| ) | [slot] |
References indexFromItem(), p, proxyItemFromIndex(), and QCTK_P.
| void qMRMLTreeProxyModelPrivate::onSourceLayoutAboutToBeChanged | ( | ) | [slot] |
| void qMRMLTreeProxyModelPrivate::onSourceRowsAboutToBeInserted | ( | const QModelIndex & | parent, | |
| int | start, | |||
| int | end | |||
| ) | [slot] |
| void qMRMLTreeProxyModelPrivate::onSourceRowsAboutToBeRemoved | ( | const QModelIndex & | parent, | |
| int | start, | |||
| int | end | |||
| ) | [slot] |
References consecutiveRows(), HiddenItems, HiddenVTKObject, indexFromItem(), p, proxyItemsFromSourceIndexes(), and QCTK_P.
| void qMRMLTreeProxyModelPrivate::onSourceRowsInserted | ( | const QModelIndex & | parent, | |
| int | start, | |||
| int | end | |||
| ) | [slot] |
References consecutiveRows(), HiddenItems, indexFromItem(), p, proxyItemsFromSourceIndexes(), and QCTK_P.
| void qMRMLTreeProxyModelPrivate::onSourceRowsRemoved | ( | const QModelIndex & | parent, | |
| int | start, | |||
| int | end | |||
| ) | [slot] |
References HiddenItems, and HiddenVTKObject.
| qMRMLAbstractItemHelper * qMRMLTreeProxyModelPrivate::proxyItemFromIndex | ( | const QModelIndex & | index | ) | const |
Referenced by itemFromIndex(), onSourceDataChanged(), and proxyItemsFromSourceIndexes().
| QVector< QSharedPointer< qMRMLAbstractItemHelper > > qMRMLTreeProxyModelPrivate::proxyItemsFromProxyIndexes | ( | const QModelIndex & | parent, | |
| int | start, | |||
| int | end | |||
| ) | const |
References itemFromIndex(), j, p, and QCTK_P.
| QVector< QSharedPointer< qMRMLAbstractItemHelper > > qMRMLTreeProxyModelPrivate::proxyItemsFromSourceIndexes | ( | const QModelIndex & | parent, | |
| int | start, | |||
| int | end | |||
| ) | const |
References indexFromItem(), j, p, proxyItemFromIndex(), QCTK_P, and sourceItemFromIndex().
Referenced by onSourceRowsAboutToBeRemoved(), and onSourceRowsInserted().
| qMRMLTreeProxyModelPrivate::QCTK_DECLARE_PUBLIC | ( | qMRMLTreeProxyModel | ) |
| int qMRMLTreeProxyModelPrivate::rowCountWithHiddenItemsRemoved | ( | const qMRMLAbstractItemHelper * | item | ) | const |
| int qMRMLTreeProxyModelPrivate::rowWithHiddenItemsRemoved | ( | const qMRMLAbstractItemHelper * | item | ) | const |
References qMRMLAbstractItemHelper::column(), HiddenItems, qMRMLAbstractItemHelper::parent(), and qMRMLAbstractItemHelper::row().
Referenced by indexFromItem().
| qMRMLAbstractItemHelper * qMRMLTreeProxyModelPrivate::sourceItemFromIndex | ( | const QModelIndex & | index | ) | const |
References qMRMLSceneModel::mrmlScene(), p, and QCTK_P.
Referenced by itemFromIndex(), and proxyItemsFromSourceIndexes().
QVector<QSharedPointer<qMRMLAbstractItemHelper> > qMRMLTreeProxyModelPrivate::HiddenItems [protected] |
vtkObject* qMRMLTreeProxyModelPrivate::HiddenVTKObject [protected] |
Referenced by onSourceRowsAboutToBeRemoved(), onSourceRowsRemoved(), and qMRMLTreeProxyModelPrivate().
1.6.1