|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Toolkit includes. More...
#include <QmitkDoseVisualStyleDelegate.h>


Public Member Functions | |
| QmitkDoseVisualStyleDelegate (QObject *parent=nullptr) | |
| Constructor. More... | |
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
| Paints a centered checkbox representing the boolean value. More... | |
| bool | editorEvent (QEvent *event, QAbstractItemModel *model, const QStyleOptionViewItem &option, const QModelIndex &index) override |
| Toggles the boolean value on left mouse button release. More... | |
Toolkit includes.
Item delegate for rendering and toggling boolean dose visualization options.
This delegate renders a checkbox for boolean visualization properties of iso dose levels (e.g. iso line visibility, color wash visibility). A left mouse click toggles the value.
Definition at line 34 of file QmitkDoseVisualStyleDelegate.h.
|
explicit |
Constructor.
| [in] | parent | Optional parent QObject. |
|
override |
Toggles the boolean value on left mouse button release.
| [in] | event | The event to handle. |
| [in,out] | model | The model to read from and write to. |
| [in] | option | Style options for the item. |
| [in] | index | The model index of the item. |
|
override |
Paints a centered checkbox representing the boolean value.
| [in] | painter | The QPainter to use for drawing. |
| [in] | option | Style options for the item. |
| [in] | index | The model index of the item to paint. |