#include <QmitkLabelSetWidget.h>
Definition at line 36 of file QmitkLabelSetWidget.h.
◆ QmitkLabelSetWidget()
QmitkLabelSetWidget::QmitkLabelSetWidget |
( |
QWidget * |
parent = nullptr | ) |
|
|
explicit |
◆ ~QmitkLabelSetWidget()
QmitkLabelSetWidget::~QmitkLabelSetWidget |
( |
| ) |
|
|
override |
◆ GetLabelStringList()
QStringList& QmitkLabelSetWidget::GetLabelStringList |
( |
| ) |
|
◆ goToLabel
Send a signal when it was requested to go to a label.
◆ LabelSetWidgetReset
void QmitkLabelSetWidget::LabelSetWidgetReset |
( |
| ) |
|
|
signal |
◆ ResetAllTableWidgetItems [1/2]
void QmitkLabelSetWidget::ResetAllTableWidgetItems |
( |
| ) |
|
|
slot |
Resets the current labels in the label set widget table. For each label a widget item is inserted into the table.
Resetting means removing all rows of the widget table and inserting new rows (labels) from the active label set (= layer) of the current working node. The currently active label is selected and 'Number of labels' is set. As this function is typically used after one label has been removed or the reference node has been changed (e.g.) the render windows have to be updated.
◆ ResetAllTableWidgetItems [2/2]
◆ SelectLabelByPixelValue
◆ SetDataStorage()
◆ setEnabled()
virtual void QmitkLabelSetWidget::setEnabled |
( |
bool |
enabled | ) |
|
|
virtual |
◆ UpdateAllTableWidgetItems [1/2]
void QmitkLabelSetWidget::UpdateAllTableWidgetItems |
( |
| ) |
|
|
slot |
Updates the current labels in the label set widget table. For each label (widget item) the 'UpdateTableWidgetItem' is called.
Updating means setting the color box of the table, setting the column with and fill it with the label name. Furthermore the two push buttons for locking and showing/hiding the layer are checked/unchecked. This functions only changes the appearance of the table widget and no render window update is necessary.
◆ UpdateAllTableWidgetItems [2/2]
◆ UpdateControls()
void QmitkLabelSetWidget::UpdateControls |
( |
| ) |
|
The documentation for this class was generated from the following file: