23 #ifndef __qSlicerTerminologyItemDelegate_h 24 #define __qSlicerTerminologyItemDelegate_h 27 #include <QStyledItemDelegate> 28 #include <QModelIndex> 30 #include "qSlicerTerminologiesModuleWidgetsExport.h" 43 TerminologyRole = Qt::UserRole + 9,
55 QWidget *createEditor(QWidget *parent,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
57 void setEditorData(QWidget *editor,
const QModelIndex &index)
const;
58 void setModelData(QWidget *editor, QAbstractItemModel *model,
const QModelIndex &index)
const;
60 void updateEditorGeometry(QWidget *editor,
const QStyleOptionViewItem &option,
const QModelIndex &index)
const;
63 void commitSenderData();
64 void commitAndClose();
Name of the segment (either custom or auto-generated)
Flag indicating whether the selected name is auto-generated form terminology.