13 #ifndef QmitkLabelSetWidget_h
14 #define QmitkLabelSetWidget_h
21 #include <ui_QmitkLabelSetWidgetControls.h>
46 void UpdateControls();
48 virtual void setEnabled(
bool enabled);
50 QStringList &GetLabelStringList();
56 void LabelSetWidgetReset();
67 void UpdateAllTableWidgetItems();
76 void ResetAllTableWidgetItems();
84 void OnOpacityChanged(
int);
85 void OnUnlockAllLabels(
bool);
86 void OnLockAllLabels(
bool);
87 void OnSetAllLabelsVisible(
bool);
88 void OnSetAllLabelsInvisible(
bool);
89 void OnSetOnlyActiveLabelVisible(
bool);
90 void OnRandomColor(
bool);
91 void OnRemoveLabel(
bool);
92 void OnRemoveLabels(
bool);
93 void OnRenameLabel(
bool);
94 void OnRenameLabelShortcutActivated();
95 void OnLockedButtonClicked();
96 void OnVisibleButtonClicked();
97 void OnColorButtonClicked();
98 void OnItemClicked(QTableWidgetItem *item);
99 void OnItemDoubleClicked(QTableWidgetItem *item);
100 void OnTableViewContextMenuRequested(
const QPoint &);
102 void UpdateTableWidgetItem(QTableWidgetItem *item);
104 void OnSearchLabel();
106 void OnActiveLabelChanged(
int pixelValue);
109 void OnCreateDetailedSurface(
bool);
110 void OnCreateSmoothedSurface(
bool);
112 void OnCreateMask(
bool);
113 void OnCreateMasks(
bool);
115 void OnCreateCroppedMask(
bool);
116 void OnCombineAndCreateMask(
bool);
117 void OnCombineAndCreateSurface(
bool);
118 void OnEraseLabel(
bool);
119 void OnEraseLabels(
bool);
120 void OnMergeLabels(
bool);
123 void OnLabelListModified(
const QStringList &list);
125 void OnToggleOutline(
bool);
126 void OnRowsInserted(
const QModelIndex&,
int,
int);
127 void OnRowsRemoved(
const QModelIndex&,
int,
int);
140 void WaitCursorOff();
142 void RestoreOverrideCursor();
144 void OnThreadedCalculationDone();
146 void InitializeTableWidget();
148 int GetPixelValueOfSelectedItem();
154 Ui::QmitkLabelSetWidgetControls m_Controls;
160 QCompleter *m_Completer;
164 QStringList m_OrganColors;
166 QStringList m_LabelStringList;
168 bool m_ProcessingManualSelection;