Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkDoseColorDelegate Class Reference

An item delegate for rendering and editing dose color in a QTableView. More...

#include <QmitkDoseColorDelegate.h>

Inheritance diagram for QmitkDoseColorDelegate:
Collaboration diagram for QmitkDoseColorDelegate:

Public Member Functions

 QmitkDoseColorDelegate (QObject *parent=0)
 
bool editorEvent (QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index)
 
void paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
 

Detailed Description

An item delegate for rendering and editing dose color in a QTableView.

Definition at line 27 of file QmitkDoseColorDelegate.h.

Constructor & Destructor Documentation

QmitkDoseColorDelegate::QmitkDoseColorDelegate ( QObject *  parent = 0)

Creates a new PropertyDelegate.

Definition at line 26 of file QmitkDoseColorDelegate.cpp.

Member Function Documentation

bool QmitkDoseColorDelegate::editorEvent ( QEvent *  event,
QAbstractItemModel *  model,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
)

Definition at line 47 of file QmitkDoseColorDelegate.cpp.

void QmitkDoseColorDelegate::paint ( QPainter *  painter,
const QStyleOptionViewItem &  option,
const QModelIndex &  index 
) const

Definition at line 30 of file QmitkDoseColorDelegate.cpp.


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