#include <qMRMLTreeProxyModel.h>
Public Slots | |
| void | setMRMLScene (vtkMRMLScene *scene) |
Public Member Functions | |
| virtual int | columnCount (const QModelIndex &) const |
| virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| virtual bool | dropMimeData (const QMimeData *data, Qt::DropAction action, int row, int column, const QModelIndex &parent) |
| virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
| virtual bool | hasChildren (const QModelIndex &parent=QModelIndex()) const |
| virtual QModelIndex | index (int row, int column, const QModelIndex &parent=QModelIndex()) const |
| virtual QMap< int, QVariant > | itemData (const QModelIndex &index) const |
| virtual QModelIndex | mapFromSource (const QModelIndex &sourceIndex) const |
| virtual QModelIndex | mapToSource (const QModelIndex &proxyIndex) const |
| vtkMRMLScene * | mrmlScene () const |
| virtual QModelIndex | parent (const QModelIndex &index) const |
| qMRMLTreeProxyModel (QObject *parent=0) | |
| virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| virtual bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
| virtual void | setSourceModel (QAbstractItemModel *sourceModel) |
| virtual Qt::DropActions | supportedDropActions () const |
| virtual | ~qMRMLTreeProxyModel () |
Protected Member Functions | |
| virtual qMRMLAbstractItemHelper * | item (const QModelIndex &index) const |
| virtual qMRMLAbstractItemHelperFactory * | itemFactory () const =0 |
Private Member Functions | |
| QCTK_DECLARE_PRIVATE (qMRMLTreeProxyModel) | |
| qMRMLAbstractItemHelperFactory * | sourceItemFactory () const |
Friends | |
| class | qMRMLSortFilterProxyModel |
| qMRMLTreeProxyModel::qMRMLTreeProxyModel | ( | QObject * | parent = 0 |
) |
References QCTK_INIT_PRIVATE.
| qMRMLTreeProxyModel::~qMRMLTreeProxyModel | ( | ) | [virtual] |
| int qMRMLTreeProxyModel::columnCount | ( | const QModelIndex & | ) | const [virtual] |
| QVariant qMRMLTreeProxyModel::data | ( | const QModelIndex & | index, | |
| int | role = Qt::DisplayRole | |||
| ) | const [virtual] |
References autoSlicerTracto2regions::d, qMRMLAbstractItemHelper::data(), item(), mrmlScene(), and QCTK_D.
Referenced by itemData().
| bool qMRMLTreeProxyModel::dropMimeData | ( | const QMimeData * | data, | |
| Qt::DropAction | action, | |||
| int | row, | |||
| int | column, | |||
| const QModelIndex & | parent | |||
| ) | [virtual] |
References Console::c, autoSlicerTracto2regions::d, item(), QCTK_D, rowCount(), and qMRML::UIDRole.
| Qt::ItemFlags qMRMLTreeProxyModel::flags | ( | const QModelIndex & | index | ) | const [virtual] |
References autoSlicerTracto2regions::d, qMRMLAbstractItemHelper::flags(), item(), and QCTK_D.
| bool qMRMLTreeProxyModel::hasChildren | ( | const QModelIndex & | parent = QModelIndex() |
) | const [virtual] |
References autoSlicerTracto2regions::d, item(), and QCTK_D.
| QModelIndex qMRMLTreeProxyModel::index | ( | int | row, | |
| int | column, | |||
| const QModelIndex & | parent = QModelIndex() | |||
| ) | const [virtual] |
References autoSlicerTracto2regions::d, item(), mrmlScene(), and QCTK_D.
| qMRMLAbstractItemHelper * qMRMLTreeProxyModel::item | ( | const QModelIndex & | index | ) | const [protected, virtual] |
References autoSlicerTracto2regions::d, and QCTK_D.
Referenced by data(), dropMimeData(), qMRMLSortFilterProxyModel::filterAcceptsRow(), flags(), hasChildren(), index(), parent(), rowCount(), and setData().
| QMap< int, QVariant > qMRMLTreeProxyModel::itemData | ( | const QModelIndex & | index | ) | const [virtual] |
References data(), and qMRML::UIDRole.
| virtual qMRMLAbstractItemHelperFactory* qMRMLTreeProxyModel::itemFactory | ( | ) | const [protected, pure virtual] |
Implemented in qMRMLTransformProxyModel.
Referenced by sourceItemFactory().
| QModelIndex qMRMLTreeProxyModel::mapFromSource | ( | const QModelIndex & | sourceIndex | ) | const [virtual] |
References autoSlicerTracto2regions::d, and QCTK_D.
| QModelIndex qMRMLTreeProxyModel::mapToSource | ( | const QModelIndex & | proxyIndex | ) | const [virtual] |
References autoSlicerTracto2regions::d, and QCTK_D.
| vtkMRMLScene * qMRMLTreeProxyModel::mrmlScene | ( | ) | const |
References qMRMLSceneModel::mrmlScene().
| QModelIndex qMRMLTreeProxyModel::parent | ( | const QModelIndex & | index | ) | const [virtual] |
References autoSlicerTracto2regions::d, item(), and QCTK_D.
| qMRMLTreeProxyModel::QCTK_DECLARE_PRIVATE | ( | qMRMLTreeProxyModel | ) | [private] |
Reimplemented in qMRMLTransformProxyModel.
| int qMRMLTreeProxyModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() |
) | const [virtual] |
References autoSlicerTracto2regions::d, item(), and QCTK_D.
Referenced by dropMimeData().
| bool qMRMLTreeProxyModel::setData | ( | const QModelIndex & | index, | |
| const QVariant & | value, | |||
| int | role = Qt::EditRole | |||
| ) | [virtual] |
References autoSlicerTracto2regions::d, item(), mrmlScene(), QCTK_D, and qMRMLAbstractItemHelper::setData().
| void qMRMLTreeProxyModel::setMRMLScene | ( | vtkMRMLScene * | scene | ) | [slot] |
References qMRMLSceneModel::setMRMLScene().
Referenced by qMRMLTreeWidget::setMRMLScene().
| void qMRMLTreeProxyModel::setSourceModel | ( | QAbstractItemModel * | sourceModel | ) | [virtual] |
References connect(), autoSlicerTracto2regions::d, and QCTK_D.
Referenced by qMRMLTreeWidgetPrivate::init(), qMRMLListWidgetPrivate::init(), qMRMLModelTest1(), and qMRMLTransformProxyModelTest1().
| qMRMLAbstractItemHelperFactory * qMRMLTreeProxyModel::sourceItemFactory | ( | ) | const [private] |
References itemFactory().
| Qt::DropActions qMRMLTreeProxyModel::supportedDropActions | ( | ) | const [virtual] |
friend class qMRMLSortFilterProxyModel [friend] |
1.6.1