Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkPropertyItemDelegate Class Reference

#include <QmitkPropertyItemDelegate.h>

Inheritance diagram for QmitkPropertyItemDelegate:
Collaboration diagram for QmitkPropertyItemDelegate:

Public Member Functions

 QmitkPropertyItemDelegate (QObject *parent=NULL)
 
 ~QmitkPropertyItemDelegate ()
 
QWidget * createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override
 
void setEditorData (QWidget *editor, const QModelIndex &index) const override
 
void setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const override
 
void SetPropertyList (mitk::PropertyList *propertyList)
 

Detailed Description

Definition at line 72 of file QmitkPropertyItemDelegate.h.

Constructor & Destructor Documentation

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

Definition at line 170 of file QmitkPropertyItemDelegate.cpp.

QmitkPropertyItemDelegate::~QmitkPropertyItemDelegate ( )

Definition at line 174 of file QmitkPropertyItemDelegate.cpp.

Member Function Documentation

QWidget * QmitkPropertyItemDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override
void QmitkPropertyItemDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

Definition at line 315 of file QmitkPropertyItemDelegate.cpp.

void QmitkPropertyItemDelegate::setEditorData ( QWidget *  editor,
const QModelIndex &  index 
) const
override

Definition at line 330 of file QmitkPropertyItemDelegate.cpp.

References QmitkColorWidget::SetColor().

void QmitkPropertyItemDelegate::setModelData ( QWidget *  editor,
QAbstractItemModel *  model,
const QModelIndex &  index 
) const
override

Definition at line 353 of file QmitkPropertyItemDelegate.cpp.

References QmitkColorWidget::GetColor().

void QmitkPropertyItemDelegate::SetPropertyList ( mitk::PropertyList propertyList)

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