#include <qMRMLItemHelper.h>
Public Member Functions | |
| virtual QVariant | data (int role=Qt::DisplayRole) const |
| virtual Qt::ItemFlags | flags () const |
| virtual vtkObject * | object () const |
| virtual qMRMLAbstractItemHelper * | parent () const |
| qMRMLVariantArrayItemHelper (vtkVariantArray *array, int column, const qMRMLAbstractItemHelperFactory *factory) | |
| virtual bool | setData (const QVariant &value, int role=Qt::EditRole) |
Static Public Member Functions | |
| static void | createProperties (vtkVariantArray &properties, vtkObject *parent, const vtkStdString &title, Qt::ItemFlags flags=Qt::ItemIsEnabled) |
Protected Member Functions | |
| vtkMRMLScene * | mrmlScene () const |
Private Member Functions | |
| QCTK_DECLARE_PRIVATE (qMRMLVariantArrayItemHelper) | |
| qMRMLVariantArrayItemHelper::qMRMLVariantArrayItemHelper | ( | vtkVariantArray * | array, | |
| int | column, | |||
| const qMRMLAbstractItemHelperFactory * | factory | |||
| ) |
References QCTK_INIT_PRIVATE.
| void qMRMLVariantArrayItemHelper::createProperties | ( | vtkVariantArray & | properties, | |
| vtkObject * | parent, | |||
| const vtkStdString & | title, | |||
| Qt::ItemFlags | flags = Qt::ItemIsEnabled | |||
| ) | [static] |
References vtkWeakObject::New(), and vtkWeakObject::WeakPointer.
Referenced by qMRMLSceneModel::setPostItems(), and qMRMLSceneModel::setPreItems().
| QVariant qMRMLVariantArrayItemHelper::data | ( | int | role = Qt::DisplayRole |
) | const [virtual] |
Reimplemented from qMRMLAbstractItemHelper.
References qMRMLAbstractItemHelper::column(), autoSlicerTracto2regions::d, QCTK_D, and qMRML::UIDRole.
| Qt::ItemFlags qMRMLVariantArrayItemHelper::flags | ( | ) | const [virtual] |
Implements qMRMLAbstractItemHelper.
References autoSlicerTracto2regions::d, and QCTK_D.
| vtkMRMLScene * qMRMLVariantArrayItemHelper::mrmlScene | ( | ) | const [protected] |
References autoSlicerTracto2regions::d, vtkWeakObject::GetPointer(), and QCTK_D.
Referenced by parent().
| vtkObject * qMRMLVariantArrayItemHelper::object | ( | ) | const [virtual] |
Implements qMRMLAbstractItemHelper.
References autoSlicerTracto2regions::d, and QCTK_D.
| qMRMLAbstractItemHelper * qMRMLVariantArrayItemHelper::parent | ( | ) | const [virtual] |
Reimplemented from qMRMLAbstractItemHelper.
References qMRMLAbstractItemHelperFactory::createItem(), qMRMLAbstractItemHelper::factory(), and mrmlScene().
| qMRMLVariantArrayItemHelper::QCTK_DECLARE_PRIVATE | ( | qMRMLVariantArrayItemHelper | ) | [private] |
Reimplemented from qMRMLAbstractItemHelper.
| bool qMRMLVariantArrayItemHelper::setData | ( | const QVariant & | value, | |
| int | role = Qt::EditRole | |||
| ) | [virtual] |
Reimplemented from qMRMLAbstractItemHelper.
1.6.1