23 #ifndef __qSlicerTerminologyNavigatorWidget_h 24 #define __qSlicerTerminologyNavigatorWidget_h 30 #include "qSlicerTerminologiesModuleWidgetsExport.h" 36 #include <ctkVTKObject.h> 38 class qSlicerTerminologyNavigatorWidgetPrivate;
41 class QTableWidgetItem;
54 Q_PROPERTY(
bool anatomicRegionSectionVisible READ anatomicRegionSectionVisible WRITE setAnatomicRegionSectionVisible)
55 Q_PROPERTY(
bool overrideSectionVisible READ overrideSectionVisible WRITE setOverrideSectionVisible)
58 enum TerminologyItemDataRole
60 CodingSchemeDesignatorRole = Qt::UserRole + 100,
63 CategoryCodingSchemeDesignatorRole,
64 CategoryCodeValueRole,
65 CategoryCodeMeaningRole,
100 #endif // __VTK_WRAP__ 110 bool anatomicRegionSectionVisible()
const;
113 bool overrideSectionVisible()
const;
118 QString nameFromCurrentTerminology();
122 QColor recommendedColorFromCurrentTerminology();
126 void setAnatomicRegionSectionVisible(
bool);
129 void setOverrideSectionVisible(
bool);
133 void setCurrentTerminology(QString terminologyName);
139 void updateWidgetFromCurrentCategory();
147 void setCurrentAnatomicContext(QString contextName);
157 void populateTerminologyComboBox();
159 void populateCategoryTable();
161 void populateTypeTable();
163 void populateTypeModifierComboBox();
166 void populateAnatomicContextComboBox();
168 void populateRegionTable();
170 void populateRegionModifierComboBox();
173 void copyContextToUserDirectory(QString filePath);
176 void onTerminologySelectionChanged(
int);
177 void onCategorySelectionChanged();
178 void onTypeSelected(QTableWidgetItem*, QTableWidgetItem*);
179 void onTypeCellDoubleClicked(
int,
int);
180 void onTypeModifierSelectionChanged(
int);
181 void onCategorySearchTextChanged(QString);
182 void onTypeSearchTextChanged(QString);
184 void onAnatomicContextSelectionChanged(
int);
185 void onRegionSelected(QTableWidgetItem*,QTableWidgetItem*);
186 void onRegionModifierSelectionChanged(
int);
187 void onRegionSearchTextChanged(QString);
189 void onNameChanged(QString);
190 void onResetNameClicked();
191 void onColorChanged(QColor);
192 void onResetColorClicked();
194 void onLoadTerminologyClicked();
195 void onLoadAnatomicContextClicked();
197 void anatomicalRegionExpandButtonUp();
198 void anatomicalRegionExpandButtonDown();
200 void onLogicModified();
204 void selectionValidityChanged(
bool);
206 void typeDoubleClicked();
209 QScopedPointer<qSlicerTerminologyNavigatorWidgetPrivate>
d_ptr;
Terminology property type object.
Terminology property category object.