Qt widget for browsing a terminology dictionary. DICOM properties of the selected entry can also be set if enabled.
More...
#include <Modules/Loadable/Terminologies/Widgets/qSlicerTerminologyNavigatorWidget.h>
|
QScopedPointer< qSlicerTerminologyNavigatorWidgetPrivate > | d_ptr |
|
QScopedPointer< qMRMLWidgetPrivate > | d_ptr |
|
Qt widget for browsing a terminology dictionary. DICOM properties of the selected entry can also be set if enabled.
Definition at line 49 of file qSlicerTerminologyNavigatorWidget.h.
◆ anatomicRegionSectionVisible
bool qSlicerTerminologyNavigatorWidget::anatomicRegionSectionVisible |
|
readwrite |
◆ overrideSectionVisible
bool qSlicerTerminologyNavigatorWidget::overrideSectionVisible |
|
readwrite |
◆ qSlicerTerminologyNavigatorWidget()
qSlicerTerminologyNavigatorWidget::qSlicerTerminologyNavigatorWidget |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~qSlicerTerminologyNavigatorWidget()
qSlicerTerminologyNavigatorWidget::~qSlicerTerminologyNavigatorWidget |
( |
| ) |
|
|
override |
◆ anatomicalRegionExpandButtonDown
void qSlicerTerminologyNavigatorWidget::anatomicalRegionExpandButtonDown |
( |
| ) |
|
|
protectedslot |
◆ anatomicalRegionExpandButtonUp
void qSlicerTerminologyNavigatorWidget::anatomicalRegionExpandButtonUp |
( |
| ) |
|
|
protectedslot |
◆ anatomicRegionSectionVisible()
bool qSlicerTerminologyNavigatorWidget::anatomicRegionSectionVisible |
( |
| ) |
const |
Get whether anatomic region section are visible.
◆ copyContextToUserDirectory()
void qSlicerTerminologyNavigatorWidget::copyContextToUserDirectory |
( |
QString |
filePath | ) |
|
|
protected |
Copy terminology or anatomic context file to user folder.
◆ nameFromCurrentTerminology()
QString qSlicerTerminologyNavigatorWidget::nameFromCurrentTerminology |
( |
| ) |
|
Generate name for current terminology.
◆ nameFromTerminology()
Generate name for given terminology.
◆ onAnatomicContextSelectionChanged
void qSlicerTerminologyNavigatorWidget::onAnatomicContextSelectionChanged |
( |
int |
| ) |
|
|
protectedslot |
◆ onCategorySearchTextChanged
void qSlicerTerminologyNavigatorWidget::onCategorySearchTextChanged |
( |
QString |
| ) |
|
|
protectedslot |
◆ onCategorySelectionChanged
void qSlicerTerminologyNavigatorWidget::onCategorySelectionChanged |
( |
| ) |
|
|
protectedslot |
◆ onColorChanged
void qSlicerTerminologyNavigatorWidget::onColorChanged |
( |
QColor |
| ) |
|
|
protectedslot |
◆ onLoadAnatomicContextClicked
void qSlicerTerminologyNavigatorWidget::onLoadAnatomicContextClicked |
( |
| ) |
|
|
protectedslot |
◆ onLoadTerminologyClicked
void qSlicerTerminologyNavigatorWidget::onLoadTerminologyClicked |
( |
| ) |
|
|
protectedslot |
◆ onLogicModified
void qSlicerTerminologyNavigatorWidget::onLogicModified |
( |
| ) |
|
|
protectedslot |
◆ onNameChanged
void qSlicerTerminologyNavigatorWidget::onNameChanged |
( |
QString |
| ) |
|
|
protectedslot |
◆ onRegionModifierSelectionChanged
void qSlicerTerminologyNavigatorWidget::onRegionModifierSelectionChanged |
( |
int |
| ) |
|
|
protectedslot |
◆ onRegionSearchTextChanged
void qSlicerTerminologyNavigatorWidget::onRegionSearchTextChanged |
( |
QString |
| ) |
|
|
protectedslot |
◆ onRegionSelected
void qSlicerTerminologyNavigatorWidget::onRegionSelected |
( |
QTableWidgetItem * |
, |
|
|
QTableWidgetItem * |
|
|
) |
| |
|
protectedslot |
◆ onResetColorClicked
void qSlicerTerminologyNavigatorWidget::onResetColorClicked |
( |
| ) |
|
|
protectedslot |
◆ onResetNameClicked
void qSlicerTerminologyNavigatorWidget::onResetNameClicked |
( |
| ) |
|
|
protectedslot |
◆ onTerminologySelectionChanged
void qSlicerTerminologyNavigatorWidget::onTerminologySelectionChanged |
( |
int |
| ) |
|
|
protectedslot |
◆ onTypeCellDoubleClicked
void qSlicerTerminologyNavigatorWidget::onTypeCellDoubleClicked |
( |
int |
, |
|
|
int |
|
|
) |
| |
|
protectedslot |
◆ onTypeModifierSelectionChanged
void qSlicerTerminologyNavigatorWidget::onTypeModifierSelectionChanged |
( |
int |
| ) |
|
|
protectedslot |
◆ onTypeSearchTextChanged
void qSlicerTerminologyNavigatorWidget::onTypeSearchTextChanged |
( |
QString |
| ) |
|
|
protectedslot |
◆ onTypeSelected
void qSlicerTerminologyNavigatorWidget::onTypeSelected |
( |
QTableWidgetItem * |
, |
|
|
QTableWidgetItem * |
|
|
) |
| |
|
protectedslot |
◆ overrideSectionVisible()
bool qSlicerTerminologyNavigatorWidget::overrideSectionVisible |
( |
| ) |
const |
Get whether name and color override section is visible.
◆ populateAnatomicContextComboBox()
void qSlicerTerminologyNavigatorWidget::populateAnatomicContextComboBox |
( |
| ) |
|
|
protected |
Populate anatomic region context combobox based on current selection.
◆ populateCategoryTable()
void qSlicerTerminologyNavigatorWidget::populateCategoryTable |
( |
| ) |
|
|
protected |
Populate category table based on selected terminology and category search term.
◆ populateRegionModifierComboBox()
void qSlicerTerminologyNavigatorWidget::populateRegionModifierComboBox |
( |
| ) |
|
|
protected |
Populate region modifier combobox based on current selection.
◆ populateRegionTable()
void qSlicerTerminologyNavigatorWidget::populateRegionTable |
( |
| ) |
|
|
protected |
Populate region table based on selected anatomic region context and type search term.
◆ populateTerminologyComboBox()
void qSlicerTerminologyNavigatorWidget::populateTerminologyComboBox |
( |
| ) |
|
|
protected |
Populate terminology combobox based on current selection.
◆ populateTypeModifierComboBox()
void qSlicerTerminologyNavigatorWidget::populateTypeModifierComboBox |
( |
| ) |
|
|
protected |
Populate type modifier combobox based on current selection.
◆ populateTypeTable()
void qSlicerTerminologyNavigatorWidget::populateTypeTable |
( |
| ) |
|
|
protected |
Populate type table based on selected category and type search term.
◆ recommendedColorFromCurrentTerminology()
QColor qSlicerTerminologyNavigatorWidget::recommendedColorFromCurrentTerminology |
( |
| ) |
|
Get recommended color from type (or type modifier if any) of the current terminology in the widget.
◆ recommendedColorFromTerminology()
static Q_INVOKABLE QColor qSlicerTerminologyNavigatorWidget::recommendedColorFromTerminology |
( |
vtkSlicerTerminologyEntry * |
entry | ) |
|
|
static |
Get recommended color from type (or type modifier if any) of the given terminology entry.
◆ selectionValidityChanged
void qSlicerTerminologyNavigatorWidget::selectionValidityChanged |
( |
bool |
| ) |
|
|
signal |
Emitted when selection becomes valid (true argument) or invalid (false argument)
◆ setAnatomicRegionSectionVisible
void qSlicerTerminologyNavigatorWidget::setAnatomicRegionSectionVisible |
( |
bool |
| ) |
|
|
slot |
Show/hide anatomic region section section.
◆ setCurrentAnatomicContext()
void qSlicerTerminologyNavigatorWidget::setCurrentAnatomicContext |
( |
QString |
contextName | ) |
|
|
protected |
Set current anatomic context to widget.
◆ setCurrentCategory()
Set current category to widget. Only used when setting the category from a given entry to the widget!
- Returns
- Flag indicating whether the given category was found in the category table
◆ setCurrentRegion()
Set current region to widget
- Returns
- Flag indicating whether the given region was found in the region table
◆ setCurrentRegionModifier()
Set current region modifier to widget
- Returns
- Flag indicating whether the given modifier was found in the combobox
◆ setCurrentTerminology()
void qSlicerTerminologyNavigatorWidget::setCurrentTerminology |
( |
QString |
terminologyName | ) |
|
|
protected |
Set current terminology to widget.
◆ setCurrentType()
Set current type to widget
- Returns
- Flag indicating whether the given type was found in the type table
◆ setCurrentTypeModifier()
Set current type modifier to widget
- Returns
- Flag indicating whether the given modifier was found in the combobox
◆ setOverrideSectionVisible
void qSlicerTerminologyNavigatorWidget::setOverrideSectionVisible |
( |
bool |
| ) |
|
|
slot |
Show/hide name and color override section.
◆ setTerminologyEntry()
Update terminology and anatomy widgets and selections from terminology entry
- Returns
- Success flag (e.g. fail if no type is specified in entry)
◆ setTerminologyInfo()
Set selection to widget: terminology and meta-data (name, color, auto-generated flags)
◆ terminologyEntry()
Populate terminology entry from terminology and anatomy selection
- Returns
- Success flag (e.g. fail if no type is selected)
◆ terminologyInfo()
Get selection from widget: terminology and meta-data (name, color, auto-generated flags)
- Parameters
-
terminologyInfo | Info bundle to get terminology information into |
◆ typeDoubleClicked
void qSlicerTerminologyNavigatorWidget::typeDoubleClicked |
( |
| ) |
|
|
signal |
Emitted when type is double clicked. It can be interpreted as having made a selection.
◆ updateWidgetFromCurrentCategory()
void qSlicerTerminologyNavigatorWidget::updateWidgetFromCurrentCategory |
( |
| ) |
|
|
protected |
Update widget UI based on the current category selection.
◆ d_ptr
QScopedPointer<qSlicerTerminologyNavigatorWidgetPrivate> qSlicerTerminologyNavigatorWidget::d_ptr |
|
protected |
The documentation for this class was generated from the following file: