Medical Imaging Interaction Toolkit
2024.06.00
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 32 of file QmitkPropertyDelegate.h.
QmitkPropertyDelegate::QmitkPropertyDelegate | ( | QObject * | parent = nullptr | ) |
Creates a new PropertyDelegate.
|
override |
Create an editor for a specific property (overwritten from QItemDelegate)
|
overrideprotected |
|
override |
Renders a specific property (overwritten from QItemDelegate)
|
override |
Create an editor for a specific property (overwritten from QItemDelegate)
|
override |
When the user accepts input this func commits the data to the model (overwritten from QItemDelegate)
|
override |
Fit an editor to some geometry (overwritten from QItemDelegate)