Medical Imaging Interaction Toolkit  2018.4.99-b20efe7f
Medical Imaging Interaction Toolkit
QmitkPropertyItemModel Class Reference

#include <QmitkPropertyItemModel.h>

Inheritance diagram for QmitkPropertyItemModel:
Collaboration diagram for QmitkPropertyItemModel:

Public Member Functions

 QmitkPropertyItemModel (QObject *parent=nullptr)
 ~QmitkPropertyItemModel () override
int columnCount (const QModelIndex &parent=QModelIndex()) const override
QVariant data (const QModelIndex &index, int role=Qt::DisplayRole) const override
Qt::ItemFlags flags (const QModelIndex &index) const override
mitk::PropertyListGetPropertyList () const
QVariant headerData (int section, Qt::Orientation orientation, int role) const override
QModelIndex index (int row, int column, const QModelIndex &parent=QModelIndex()) const override
QModelIndex parent (const QModelIndex &child) const override
int rowCount (const QModelIndex &parent=QModelIndex()) const override
bool setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) override
void SetPropertyList (mitk::PropertyList *propertyList, const QString &className="")
void Update ()

Detailed Description

Definition at line 37 of file QmitkPropertyItemModel.h.

Constructor & Destructor Documentation

◆ QmitkPropertyItemModel()

QmitkPropertyItemModel::QmitkPropertyItemModel ( QObject *  parent = nullptr)

Definition at line 61 of file QmitkPropertyItemModel.cpp.

◆ ~QmitkPropertyItemModel()

QmitkPropertyItemModel::~QmitkPropertyItemModel ( )

Definition at line 69 of file QmitkPropertyItemModel.cpp.

Member Function Documentation

◆ columnCount()

int QmitkPropertyItemModel::columnCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 74 of file QmitkPropertyItemModel.cpp.

◆ data()

QVariant QmitkPropertyItemModel::data ( const QModelIndex &  index,
int  role = Qt::DisplayRole 
) const

◆ flags()

Qt::ItemFlags QmitkPropertyItemModel::flags ( const QModelIndex &  index) const

Definition at line 220 of file QmitkPropertyItemModel.cpp.

◆ GetPropertyList()

mitk::PropertyList * QmitkPropertyItemModel::GetPropertyList ( ) const

Definition at line 236 of file QmitkPropertyItemModel.cpp.

References mitk::WeakPointer< T >::Lock().

◆ headerData()

QVariant QmitkPropertyItemModel::headerData ( int  section,
Qt::Orientation  orientation,
int  role 
) const

Definition at line 241 of file QmitkPropertyItemModel.cpp.

◆ index()

QModelIndex QmitkPropertyItemModel::index ( int  row,
int  column,
const QModelIndex &  parent = QModelIndex() 
) const

Definition at line 249 of file QmitkPropertyItemModel.cpp.

References QmitkPropertyItem::GetChild(), and mitk::WeakPointer< T >::Lock().

Referenced by data().

◆ parent()

QModelIndex QmitkPropertyItemModel::parent ( const QModelIndex &  child) const

Definition at line 280 of file QmitkPropertyItemModel.cpp.

References QmitkPropertyItem::GetRow().

Referenced by data().

◆ rowCount()

int QmitkPropertyItemModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const

Definition at line 293 of file QmitkPropertyItemModel.cpp.

References QmitkPropertyItem::GetChildCount().

◆ setData()

bool QmitkPropertyItemModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 

◆ SetPropertyList()

void QmitkPropertyItemModel::SetPropertyList ( mitk::PropertyList propertyList,
const QString &  className = "" 

Definition at line 462 of file QmitkPropertyItemModel.cpp.

◆ Update()

void QmitkPropertyItemModel::Update ( )

Definition at line 471 of file QmitkPropertyItemModel.cpp.

References mitk::WeakPointer< T >::Lock().

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