13 #ifndef QmitkMapPropertyDelegate_h
14 #define QmitkMapPropertyDelegate_h
18 #include <QStyledItemDelegate>
42 void paint(QPainter *painter,
const QStyleOptionViewItem &option
43 ,
const QModelIndex &index)
const;
48 QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &option
49 ,
const QModelIndex &index)
const;
54 void setEditorData(QWidget *editor,
const QModelIndex &index)
const;
59 void setModelData(QWidget *editor, QAbstractItemModel* model
60 ,
const QModelIndex &index)
const;
65 void updateEditorGeometry(QWidget *editor,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
69 bool eventFilter(QObject *o, QEvent *e);
75 void commitAndCloseEditor();
76 void showColorDialog();
77 void ComboBoxCurrentIndexChanged(
int index);
78 void SpinBoxValueChanged(
const QString& value);