Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkPropertyItemModel Class Reference

#include <QmitkPropertyItemModel.h>

Inheritance diagram for QmitkPropertyItemModel:
Collaboration diagram for QmitkPropertyItemModel:

Public Member Functions

 QmitkPropertyItemModel (QObject *parent=NULL)
 
 ~QmitkPropertyItemModel ()
 
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
 
void OnPreferencesChanged ()
 
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 ()
 
void SetShowAliases (const bool showAliases)
 
bool GetShowAliases () const
 
void SetFilterProperties (const bool filterProperties)
 
bool GetFilterProperties () const
 

Detailed Description

Definition at line 43 of file QmitkPropertyItemModel.h.

Constructor & Destructor Documentation

QmitkPropertyItemModel::QmitkPropertyItemModel ( QObject *  parent = NULL)
explicit

Definition at line 75 of file QmitkPropertyItemModel.cpp.

QmitkPropertyItemModel::~QmitkPropertyItemModel ( )

Definition at line 85 of file QmitkPropertyItemModel.cpp.

Member Function Documentation

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

Definition at line 90 of file QmitkPropertyItemModel.cpp.

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

Definition at line 235 of file QmitkPropertyItemModel.cpp.

bool QmitkPropertyItemModel::GetFilterProperties ( ) const
inline

Definition at line 67 of file QmitkPropertyItemModel.h.

mitk::PropertyList * QmitkPropertyItemModel::GetPropertyList ( ) const
bool QmitkPropertyItemModel::GetShowAliases ( ) const
inline

Definition at line 65 of file QmitkPropertyItemModel.h.

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

Definition at line 256 of file QmitkPropertyItemModel.cpp.

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

Definition at line 264 of file QmitkPropertyItemModel.cpp.

References QmitkPropertyItem::GetChild().

void QmitkPropertyItemModel::OnPreferencesChanged ( )
QModelIndex QmitkPropertyItemModel::parent ( const QModelIndex &  child) const
override

Definition at line 324 of file QmitkPropertyItemModel.cpp.

References QmitkPropertyItem::GetRow().

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

Definition at line 337 of file QmitkPropertyItemModel.cpp.

References QmitkPropertyItem::GetChildCount().

bool QmitkPropertyItemModel::setData ( const QModelIndex &  index,
const QVariant &  value,
int  role = Qt::EditRole 
)
override
void QmitkPropertyItemModel::SetFilterProperties ( const bool  filterProperties)
inline

Definition at line 66 of file QmitkPropertyItemModel.h.

void QmitkPropertyItemModel::SetPropertyList ( mitk::PropertyList propertyList,
const QString &  className = "" 
)
void QmitkPropertyItemModel::SetShowAliases ( const bool  showAliases)
inline

Definition at line 64 of file QmitkPropertyItemModel.h.

void QmitkPropertyItemModel::Update ( )

Definition at line 525 of file QmitkPropertyItemModel.cpp.


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