Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkLabelSelectionToolGUI Class Reference

GUI for mitk::LabelSelectionTool. More...

#include <QmitkLabelSelectionToolGUI.h>

Inheritance diagram for QmitkLabelSelectionToolGUI:
Collaboration diagram for QmitkLabelSelectionToolGUI:

Public Member Functions

 mitkClassMacro (QmitkLabelSelectionToolGUI, QmitkToolGUI)
 
Pointer Clone () const
 
- Public Member Functions inherited from QmitkToolGUI
 mitkClassMacroItkParent (QmitkToolGUI, itk::Object)
 
void SetTool (mitk::Tool *tool)
 Associates the given tool with this GUI, emitting NewToolAssociated. More...
 
void SetMultiLabelInspector (QmitkMultiLabelInspector *inspector)
 Provides the segmentation view's label inspector to this GUI. More...
 
QmitkMultiLabelInspector * GetMultiLabelInspector () const
 Returns the inspector associated with this GUI, or null if none. More...
 
void Register () const override
 Intentional no-op; prevents ITK reference counting from interfering with Qt ownership. More...
 
void UnRegister () const ITK_NOEXCEPT ITK_OVERRIDE
 Intentional no-op; prevents ITK reference counting from interfering with Qt ownership. More...
 
void SetReferenceCount (int) override
 Intentional no-op; prevents ITK reference counting from interfering with Qt ownership. More...
 
 ~QmitkToolGUI () override
 

Static Public Member Functions

static Pointer New ()
 

Protected Slots

void OnNewToolAssociated (mitk::Tool *)
 
void OnCheckChanged (Qt::CheckState checked)
 

Protected Member Functions

void OnIndicatedLabelsChanged ()
 
 QmitkLabelSelectionToolGUI ()
 
 ~QmitkLabelSelectionToolGUI () override
 
bool eventFilter (QObject *object, QEvent *event) override
 
- Protected Member Functions inherited from QmitkToolGUI
 QmitkToolGUI ()=default
 
virtual void BusyStateChanged (bool)
 Called when the tool's busy state changes. Override to enable/disable UI elements. More...
 

Protected Attributes

std::unique_ptr< Ui::QmitkLabelSelectionToolGUIControls > m_Controls
 
itk::SmartPointer< mitk::LabelSelectionTool > m_LabelSelectionTool
 
std::unique_ptr< QmitkFloatingTextPopup > m_FloatingPopup
 
bool m_InternalEventCall
 
- Protected Attributes inherited from QmitkToolGUI
mitk::Tool::Pointer m_Tool
 
QmitkMultiLabelInspector * m_MultiLabelInspector
 

Additional Inherited Members

- Signals inherited from QmitkToolGUI
void NewToolAssociated (mitk::Tool *)
 Emitted when a new tool is associated with this GUI via SetTool(). More...
 

Detailed Description

Constructor & Destructor Documentation

◆ QmitkLabelSelectionToolGUI()

QmitkLabelSelectionToolGUI::QmitkLabelSelectionToolGUI ( )
protected

◆ ~QmitkLabelSelectionToolGUI()

QmitkLabelSelectionToolGUI::~QmitkLabelSelectionToolGUI ( )
overrideprotected

Member Function Documentation

◆ Clone()

Pointer QmitkLabelSelectionToolGUI::Clone ( ) const

◆ eventFilter()

bool QmitkLabelSelectionToolGUI::eventFilter ( QObject *  object,
QEvent *  event 
)
overrideprotected

◆ mitkClassMacro()

QmitkLabelSelectionToolGUI::mitkClassMacro ( QmitkLabelSelectionToolGUI  ,
QmitkToolGUI   
)

◆ New()

static Pointer QmitkLabelSelectionToolGUI::New ( )
static

◆ OnCheckChanged

void QmitkLabelSelectionToolGUI::OnCheckChanged ( Qt::CheckState  checked)
protectedslot

◆ OnIndicatedLabelsChanged()

void QmitkLabelSelectionToolGUI::OnIndicatedLabelsChanged ( )
protected

◆ OnNewToolAssociated

void QmitkLabelSelectionToolGUI::OnNewToolAssociated ( mitk::Tool *  )
protectedslot

Member Data Documentation

◆ m_Controls

std::unique_ptr<Ui::QmitkLabelSelectionToolGUIControls> QmitkLabelSelectionToolGUI::m_Controls
protected

Definition at line 59 of file QmitkLabelSelectionToolGUI.h.

◆ m_FloatingPopup

std::unique_ptr<QmitkFloatingTextPopup> QmitkLabelSelectionToolGUI::m_FloatingPopup
protected

Definition at line 61 of file QmitkLabelSelectionToolGUI.h.

◆ m_InternalEventCall

bool QmitkLabelSelectionToolGUI::m_InternalEventCall
protected

Definition at line 63 of file QmitkLabelSelectionToolGUI.h.

◆ m_LabelSelectionTool

itk::SmartPointer<mitk::LabelSelectionTool> QmitkLabelSelectionToolGUI::m_LabelSelectionTool
protected

Definition at line 60 of file QmitkLabelSelectionToolGUI.h.


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