#include <QmitkMapPropertyDelegate.h>
|
| | 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...
|
| |
Definition at line 30 of file QmitkMapPropertyDelegate.h.
◆ QmitkMapPropertyDelegate()
| QmitkMapPropertyDelegate::QmitkMapPropertyDelegate |
( |
QObject * |
parent = nullptr | ) |
|
Creates a new PropertyDelegate.
◆ createEditor()
| QWidget* QmitkMapPropertyDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
Create an editor for a specific property (overwritten from QItemDelegate)
◆ eventFilter()
| bool QmitkMapPropertyDelegate::eventFilter |
( |
QObject * |
o, |
|
|
QEvent * |
e |
|
) |
| |
|
overrideprotected |
◆ paint()
| void QmitkMapPropertyDelegate::paint |
( |
QPainter * |
painter, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
Renders a specific property (overwritten from QItemDelegate)
◆ setEditorData()
| void QmitkMapPropertyDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
Create an editor for a specific property (overwritten from QItemDelegate)
◆ setModelData()
| void QmitkMapPropertyDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
When the user accepts input this func commits the data to the model (overwritten from QItemDelegate)
◆ updateEditorGeometry()
| void QmitkMapPropertyDelegate::updateEditorGeometry |
( |
QWidget * |
editor, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
|
override |
Fit an editor to some geometry (overwritten from QItemDelegate)
The documentation for this class was generated from the following file: