Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Own includes. More...
#include <QmitkPropertyDelegate.h>
Public Member Functions | |
QmitkPropertyDelegate (QObject *parent=nullptr) | |
void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
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 |
void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const override |
Fit an editor to some geometry (overwritten from QItemDelegate) More... | |
Protected Member Functions | |
bool | eventFilter (QObject *o, QEvent *e) override |
Own includes.
Toolkit includes.
Toolkit includes. Forward declarations.
An item delegate for rendering and editing mitk::Properties in a QTableView.
An item delegate for rendering and editing mitk::Properties in a QTableView.
Forward declarations.
An item delegate for rendering and editing mitk::Properties in a QTableView.
Definition at line 36 of file QmitkPropertyDelegate.h.
QmitkPropertyDelegate::QmitkPropertyDelegate | ( | QObject * | parent = nullptr | ) |
Creates a new PropertyDelegate.
Definition at line 40 of file QmitkPropertyDelegate.cpp.
|
override |
Create an editor for a specific property (overwritten from QItemDelegate)
Definition at line 71 of file QmitkPropertyDelegate.cpp.
|
overrideprotected |
Definition at line 297 of file QmitkPropertyDelegate.cpp.
References mitk::RenderingManager::GetInstance(), and mitk::RenderingManager::RequestUpdateAll().
|
override |
Renders a specific property (overwritten from QItemDelegate)
Definition at line 44 of file QmitkPropertyDelegate.cpp.
|
override |
Create an editor for a specific property (overwritten from QItemDelegate)
Definition at line 168 of file QmitkPropertyDelegate.cpp.
|
override |
When the user accepts input this func commits the data to the model (overwritten from QItemDelegate)
Definition at line 200 of file QmitkPropertyDelegate.cpp.
References Json::intValue.
|
override |
Fit an editor to some geometry (overwritten from QItemDelegate)
Definition at line 267 of file QmitkPropertyDelegate.cpp.