| 38 | } |
| 39 | |
| 40 | void QmitkMapPropertyDelegate::paint(QPainter *painter, |
| 41 | const QStyleOptionViewItem &option, |
| 42 | const QModelIndex &index) const |
| 43 | { |
| 44 | QVariant data = index.data(Qt::DisplayRole); |
| 45 | |
| 46 | QString name = data.value<QString>(); |
| 47 | |
| 48 | QStyledItemDelegate::paint(painter, option, index); |
| 49 | } |
| 50 | |
| 51 | QWidget *QmitkMapPropertyDelegate::createEditor(QWidget *parent, |
| 52 | const QStyleOptionViewItem &option, |