17 #ifndef QmitkPropertyDelegate_h
18 #define QmitkPropertyDelegate_h
22 #include <QStyledItemDelegate>
47 void paint(QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
52 QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
57 void setEditorData(QWidget *editor,
const QModelIndex &index)
const;
62 void setModelData(QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index)
const;
67 void updateEditorGeometry(QWidget *editor,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
70 bool eventFilter(QObject *o, QEvent *e);
76 void commitAndCloseEditor();
77 void showColorDialog();
78 void ComboBoxCurrentIndexChanged(
int index);
79 void SpinBoxValueChanged(
const QString &value);
#define MITKMATCHPOINTREGISTRATIONUI_EXPORT