Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkInitialValuesTypeDelegate Class Reference

An item delegate for rendering and editing the type of a initial value. It assumes that the type is encoded as int. 0: simple scalar, 1: image. More...

#include <QmitkInitialValuesTypeDelegate.h>

Inheritance diagram for QmitkInitialValuesTypeDelegate:
Collaboration diagram for QmitkInitialValuesTypeDelegate:

Public Member Functions

 QmitkInitialValuesTypeDelegate (QObject *parent=nullptr)
 
QWidget * createEditor (QWidget *parent, 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
 

Detailed Description

An item delegate for rendering and editing the type of a initial value. It assumes that the type is encoded as int. 0: simple scalar, 1: image.

Definition at line 25 of file QmitkInitialValuesTypeDelegate.h.

Constructor & Destructor Documentation

◆ QmitkInitialValuesTypeDelegate()

QmitkInitialValuesTypeDelegate::QmitkInitialValuesTypeDelegate ( QObject *  parent = nullptr)

Member Function Documentation

◆ createEditor()

QWidget* QmitkInitialValuesTypeDelegate::createEditor ( QWidget *  parent,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const
override

◆ setEditorData()

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

◆ setModelData()

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

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