17 #ifndef QmitkPropertyDelegate_h
18 #define QmitkPropertyDelegate_h
22 #include <QStyledItemDelegate>
46 void paint(QPainter *painter,
const QStyleOptionViewItem &option
47 ,
const QModelIndex &index)
const;
52 QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &option
53 ,
const QModelIndex &index)
const;
58 void setEditorData(QWidget *editor,
const QModelIndex &index)
const;
63 void setModelData(QWidget *editor, QAbstractItemModel* model
64 ,
const QModelIndex &index)
const;
69 void updateEditorGeometry(QWidget *editor,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
73 bool eventFilter(QObject *o, QEvent *e);
79 void commitAndCloseEditor();
80 void showColorDialog();
81 void ComboBoxCurrentIndexChanged(
int index);
82 void SpinBoxValueChanged(
const QString& value);
#define MITKMATCHPOINTREGISTRATION_EXPORT