Medical Imaging Interaction Toolkit
2016.11.0
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=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... | |
Protected Member Functions | |
bool | eventFilter (QObject *o, QEvent *e) |
bool | eventFilter (QObject *o, QEvent *e) |
Definition at line 33 of file Helper/QmitkMapPropertyDelegate.h.
QmitkMapPropertyDelegate::QmitkMapPropertyDelegate | ( | QObject * | parent = 0 | ) |
Creates a new PropertyDelegate.
Definition at line 40 of file Helper/QmitkMapPropertyDelegate.cpp.
QmitkMapPropertyDelegate::QmitkMapPropertyDelegate | ( | QObject * | parent = 0 | ) |
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 56 of file Helper/QmitkMapPropertyDelegate.cpp.
QWidget* QmitkMapPropertyDelegate::createEditor | ( | QWidget * | parent, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Create an editor for a specific property (overwritten from QItemDelegate)
|
protected |
|
protected |
Definition at line 261 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 44 of file Helper/QmitkMapPropertyDelegate.cpp.
void QmitkMapPropertyDelegate::paint | ( | QPainter * | painter, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
Renders 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)
void QmitkMapPropertyDelegate::setEditorData | ( | QWidget * | editor, |
const QModelIndex & | index | ||
) | const |
Create an editor for a specific property (overwritten from QItemDelegate)
Definition at line 116 of file Helper/QmitkMapPropertyDelegate.cpp.
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)
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 155 of file Helper/QmitkMapPropertyDelegate.cpp.
References Json::intValue.
void QmitkMapPropertyDelegate::updateEditorGeometry | ( | QWidget * | editor, |
const QStyleOptionViewItem & | option, | ||
const QModelIndex & | index | ||
) | const |
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 229 of file Helper/QmitkMapPropertyDelegate.cpp.