|
Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <QmitkMapPropertyDelegate.h>


Public Member Functions | |
| QmitkMapPropertyDelegate (QObject *parent=0) | |
| void | paint (QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| void | setEditorData (QWidget *editor, const QModelIndex &index) const |
| void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
| void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const |
| Fit an editor to some geometry (overwritten from QItemDelegate) More... | |
| QmitkMapPropertyDelegate (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) |
| bool | eventFilter (QObject *o, QEvent *e) override |
Definition at line 29 of file Helper/QmitkMapPropertyDelegate.h.
| QmitkMapPropertyDelegate::QmitkMapPropertyDelegate | ( | QObject * | parent = 0 | ) |
Creates a new PropertyDelegate.
Definition at line 36 of file Helper/QmitkMapPropertyDelegate.cpp.
| QmitkMapPropertyDelegate::QmitkMapPropertyDelegate | ( | QObject * | parent = nullptr | ) |
Creates a new PropertyDelegate.
| QWidget * QmitkMapPropertyDelegate::createEditor | ( | QWidget * | parent, |
| const QStyleOptionViewItem & | option, | ||
| const QModelIndex & | index | ||
| ) | const |
Create an editor for a specific property (overwritten from QItemDelegate)
Definition at line 52 of file Helper/QmitkMapPropertyDelegate.cpp.
|
override |
Create an editor for a specific property (overwritten from QItemDelegate)
|
overrideprotected |
|
protected |
Definition at line 257 of file Helper/QmitkMapPropertyDelegate.cpp.
| void QmitkMapPropertyDelegate::paint | ( | QPainter * | painter, |
| const QStyleOptionViewItem & | option, | ||
| const QModelIndex & | index | ||
| ) | const |
Renders a specific property (overwritten from QItemDelegate)
Definition at line 40 of file Helper/QmitkMapPropertyDelegate.cpp.
|
override |
Renders a specific property (overwritten from QItemDelegate)
|
override |
Create an editor for a specific property (overwritten from QItemDelegate)
| void QmitkMapPropertyDelegate::setEditorData | ( | QWidget * | editor, |
| const QModelIndex & | index | ||
| ) | const |
Create an editor for a specific property (overwritten from QItemDelegate)
Definition at line 112 of file Helper/QmitkMapPropertyDelegate.cpp.
|
override |
When the user accepts input this func commits the data to the model (overwritten from QItemDelegate)
| void QmitkMapPropertyDelegate::setModelData | ( | QWidget * | editor, |
| QAbstractItemModel * | model, | ||
| const QModelIndex & | index | ||
| ) | const |
When the user accepts input this func commits the data to the model (overwritten from QItemDelegate)
Definition at line 151 of file Helper/QmitkMapPropertyDelegate.cpp.
References Json::intValue.
|
override |
Fit an editor to some geometry (overwritten from QItemDelegate)
| void QmitkMapPropertyDelegate::updateEditorGeometry | ( | QWidget * | editor, |
| const QStyleOptionViewItem & | option, | ||
| const QModelIndex & | index | ||
| ) | const |
Fit an editor to some geometry (overwritten from QItemDelegate)
Definition at line 225 of file Helper/QmitkMapPropertyDelegate.cpp.