#include <Modules/Loadable/Terminologies/Widgets/qSlicerTerminologyItemDelegate.h>
|
QWidget * | createEditor (QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const |
|
| qSlicerTerminologyItemDelegate (QObject *parent=0) |
|
void | setEditorData (QWidget *editor, const QModelIndex &index) const |
|
void | setModelData (QWidget *editor, QAbstractItemModel *model, const QModelIndex &index) const |
|
void | updateEditorGeometry (QWidget *editor, const QStyleOptionViewItem &option, const QModelIndex &index) const |
|
◆ TerminologyItemDataRole
Enumerator |
---|
TerminologyRole | Serialized terminology entry.
|
NameRole | Name of the segment (either custom or auto-generated)
|
NameAutoGeneratedRole | Flag indicating whether the selected name is auto-generated form terminology.
|
ColorAutoGeneratedRole | Flag indicating whether the selected color is the recommended one from the terminology (or the auto-generated color in absence of a recommended color)
|
GeneratedColorRole | Auto-generated color that is used if the selected terminology contains no recommended color.
|
Definition at line 40 of file qSlicerTerminologyItemDelegate.h.
◆ qSlicerTerminologyItemDelegate()
qSlicerTerminologyItemDelegate::qSlicerTerminologyItemDelegate |
( |
QObject * |
parent = 0 | ) |
|
◆ close
void qSlicerTerminologyItemDelegate::close |
( |
| ) |
|
|
protectedslot |
◆ commitAndClose
void qSlicerTerminologyItemDelegate::commitAndClose |
( |
| ) |
|
|
protectedslot |
◆ commitSenderData
void qSlicerTerminologyItemDelegate::commitSenderData |
( |
| ) |
|
|
protectedslot |
◆ createEditor()
QWidget* qSlicerTerminologyItemDelegate::createEditor |
( |
QWidget * |
parent, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
◆ setEditorData()
void qSlicerTerminologyItemDelegate::setEditorData |
( |
QWidget * |
editor, |
|
|
const QModelIndex & |
index |
|
) |
| const |
◆ setModelData()
void qSlicerTerminologyItemDelegate::setModelData |
( |
QWidget * |
editor, |
|
|
QAbstractItemModel * |
model, |
|
|
const QModelIndex & |
index |
|
) |
| const |
◆ updateEditorGeometry()
void qSlicerTerminologyItemDelegate::updateEditorGeometry |
( |
QWidget * |
editor, |
|
|
const QStyleOptionViewItem & |
option, |
|
|
const QModelIndex & |
index |
|
) |
| const |
The documentation for this class was generated from the following file: