13 #ifndef QmitkMapPropertyDelegate_h
14 #define QmitkMapPropertyDelegate_h
18 #include <QStyledItemDelegate>
43 void paint(QPainter *painter,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const override;
48 QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const override;
53 void setEditorData(QWidget *editor,
const QModelIndex &index)
const override;
58 void setModelData(QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index)
const override;
63 void updateEditorGeometry(QWidget *editor,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const override;
66 bool eventFilter(QObject *o, QEvent *e)
override;
72 void commitAndCloseEditor();
73 void showColorDialog();
74 void ComboBoxCurrentIndexChanged(
int index);
75 void SpinBoxValueChanged(
const QString &value);