Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
QmitkSimpleLabelSetListWidget Class Reference

Widget that offers a simple list that displays all labels (color and name) in the active layer of a LabelSetImage. More...

#include <QmitkSimpleLabelSetListWidget.h>

Inheritance diagram for QmitkSimpleLabelSetListWidget:
Collaboration diagram for QmitkSimpleLabelSetListWidget:

Public Types

using LabelVectorType = std::vector< mitk::Label::ConstPointer >
 

Public Slots

void SetLabelSetImage (const mitk::LabelSetImage *image)
 
void SetSelectedLabels (const LabelVectorType &selectedLabels)
 

Signals

void SelectedLabelsChanged (const LabelVectorType &selectedLabels)
 
void ActiveLayerChanged ()
 

Public Member Functions

 QmitkSimpleLabelSetListWidget (QWidget *parent=nullptr)
 
 ~QmitkSimpleLabelSetListWidget () override
 
LabelVectorType SelectedLabels () const
 
const mitk::LabelSetImageGetLabelSetImage () const
 

Protected Slots

void OnLabelSelectionChanged ()
 

Protected Member Functions

void OnLayerChanged ()
 
void OnLabelChanged (mitk::LabelSetImage::LabelValueType lv)
 
void OnLooseLabelSetConnection ()
 
void OnEstablishLabelSetConnection ()
 
void ResetList ()
 

Protected Attributes

mitk::LabelSetImage::ConstPointer m_LabelSetImage
 
QListWidget * m_LabelList
 
bool m_Emmiting
 

Detailed Description

Widget that offers a simple list that displays all labels (color and name) in the active layer of a LabelSetImage.

Definition at line 25 of file QmitkSimpleLabelSetListWidget.h.

Member Typedef Documentation

◆ LabelVectorType

Constructor & Destructor Documentation

◆ QmitkSimpleLabelSetListWidget()

QmitkSimpleLabelSetListWidget::QmitkSimpleLabelSetListWidget ( QWidget *  parent = nullptr)

◆ ~QmitkSimpleLabelSetListWidget()

QmitkSimpleLabelSetListWidget::~QmitkSimpleLabelSetListWidget ( )
override

Member Function Documentation

◆ ActiveLayerChanged

void QmitkSimpleLabelSetListWidget::ActiveLayerChanged ( )
signal

◆ GetLabelSetImage()

const mitk::LabelSetImage* QmitkSimpleLabelSetListWidget::GetLabelSetImage ( ) const

◆ OnEstablishLabelSetConnection()

void QmitkSimpleLabelSetListWidget::OnEstablishLabelSetConnection ( )
protected

◆ OnLabelChanged()

void QmitkSimpleLabelSetListWidget::OnLabelChanged ( mitk::LabelSetImage::LabelValueType  lv)
protected

◆ OnLabelSelectionChanged

void QmitkSimpleLabelSetListWidget::OnLabelSelectionChanged ( )
protectedslot

◆ OnLayerChanged()

void QmitkSimpleLabelSetListWidget::OnLayerChanged ( )
protected

◆ OnLooseLabelSetConnection()

void QmitkSimpleLabelSetListWidget::OnLooseLabelSetConnection ( )
protected

◆ ResetList()

void QmitkSimpleLabelSetListWidget::ResetList ( )
protected

◆ SelectedLabels()

LabelVectorType QmitkSimpleLabelSetListWidget::SelectedLabels ( ) const

◆ SelectedLabelsChanged

void QmitkSimpleLabelSetListWidget::SelectedLabelsChanged ( const LabelVectorType selectedLabels)
signal

◆ SetLabelSetImage

void QmitkSimpleLabelSetListWidget::SetLabelSetImage ( const mitk::LabelSetImage image)
slot

◆ SetSelectedLabels

void QmitkSimpleLabelSetListWidget::SetSelectedLabels ( const LabelVectorType selectedLabels)
slot

Member Data Documentation

◆ m_Emmiting

bool QmitkSimpleLabelSetListWidget::m_Emmiting
protected

Definition at line 61 of file QmitkSimpleLabelSetListWidget.h.

◆ m_LabelList

QListWidget* QmitkSimpleLabelSetListWidget::m_LabelList
protected

Definition at line 60 of file QmitkSimpleLabelSetListWidget.h.

◆ m_LabelSetImage

mitk::LabelSetImage::ConstPointer QmitkSimpleLabelSetListWidget::m_LabelSetImage
protected

Definition at line 59 of file QmitkSimpleLabelSetListWidget.h.


The documentation for this class was generated from the following file: