23 #ifndef __qSlicerTerminologyNavigatorWidget_h 24 #define __qSlicerTerminologyNavigatorWidget_h 30 #include "qSlicerTerminologiesModuleWidgetsExport.h" 36 #include <ctkVTKObject.h> 38 class qSlicerTerminologyNavigatorWidgetPrivate;
40 class QTableWidgetItem;
53 Q_PROPERTY(
bool anatomicRegionSectionVisible READ anatomicRegionSectionVisible WRITE setAnatomicRegionSectionVisible)
56 enum TerminologyItemDataRole
58 CodingSchemeDesignatorRole = Qt::UserRole + 100,
100 bool anatomicRegionSectionVisible()
const;
105 QString nameFromCurrentTerminology();
109 QColor recommendedColorFromCurrentTerminology();
113 void setAnatomicRegionSectionVisible(
bool);
116 void setCurrentTerminology(QString terminologyName);
127 void setCurrentAnatomicContext(QString contextName);
137 void populateTerminologyComboBox();
139 void populateCategoryTable();
141 void populateTypeTable();
143 void populateTypeModifierComboBox();
146 void populateAnatomicContextComboBox();
148 void populateRegionTable();
150 void populateRegionModifierComboBox();
153 void copyContextToUserDirectory(QString filePath);
156 void onTerminologySelectionChanged(
int);
157 void onCategorySelected(QTableWidgetItem*,QTableWidgetItem*);
158 void onTypeSelected(QTableWidgetItem*,QTableWidgetItem*);
159 void onTypeModifierSelectionChanged(
int);
160 void onCategorySearchTextChanged(QString);
161 void onTypeSearchTextChanged(QString);
163 void onAnatomicContextSelectionChanged(
int);
164 void onRegionSelected(QTableWidgetItem*,QTableWidgetItem*);
165 void onRegionModifierSelectionChanged(
int);
166 void onRegionSearchTextChanged(QString);
168 void onNameChanged(QString);
169 void onResetNameClicked();
170 void onColorChanged(QColor);
171 void onResetColorClicked();
173 void onLoadTerminologyClicked();
174 void onLoadAnatomicContextClicked();
176 void onLogicModified();
180 void selectionValidityChanged(
bool);
183 QScopedPointer<qSlicerTerminologyNavigatorWidgetPrivate>
d_ptr;
Terminology property type object.
Terminology property category object.