Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkLineEditLevelWindowWidget Class Reference

Provides a widget with two lineedit fields, one to change the window value of the current image and one to change the level value of the current image. More...

#include <QmitkLineEditLevelWindowWidget.h>

Inheritance diagram for QmitkLineEditLevelWindowWidget:
Collaboration diagram for QmitkLineEditLevelWindowWidget:

Public Slots

void SetLevelValue ()
 Read the levelInput and change level and slider when the button "ENTER" was pressed in the windowInput-LineEdit. More...
 
void SetWindowValue ()
 Read the windowInput and change window and slider when the button "ENTER" was pressed in the windowInput-LineEdit. More...
 

Public Member Functions

 QmitkLineEditLevelWindowWidget (QWidget *parent=nullptr, Qt::WindowFlags f={})
 constructor More...
 
 ~QmitkLineEditLevelWindowWidget () override
 destructor More...
 
void SetLevelWindowManager (mitk::LevelWindowManager *levelWindowManager)
 sets the manager who is responsible to collect and deliver changes on Level/Window More...
 
void SetDataStorage (mitk::DataStorage *ds)
 sets the DataStorage which holds all image-nodes More...
 
mitk::LevelWindowManagerGetManager ()
 returns the manager who is responsible to collect and deliver changes on Level/Window More...
 

Public Attributes

QLineEdit * m_LevelInput
 inputfield for level value More...
 
QLineEdit * m_WindowInput
 inputfield for window value More...
 
mitk::LevelWindow m_LevelWindow
 
mitk::LevelWindowManager::Pointer m_Manager
 manager who is responsible to collect and deliver changes on Level/Window More...
 

Protected Attributes

unsigned long m_ObserverTag
 
bool m_IsObserverTagSet
 
QmitkLevelWindowWidgetContextMenum_Contextmenu
 

Detailed Description

Provides a widget with two lineedit fields, one to change the window value of the current image and one to change the level value of the current image.

Definition at line 33 of file QmitkLineEditLevelWindowWidget.h.

Constructor & Destructor Documentation

◆ QmitkLineEditLevelWindowWidget()

QmitkLineEditLevelWindowWidget::QmitkLineEditLevelWindowWidget ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = {} 
)

constructor

◆ ~QmitkLineEditLevelWindowWidget()

QmitkLineEditLevelWindowWidget::~QmitkLineEditLevelWindowWidget ( )
override

destructor

Member Function Documentation

◆ GetManager()

mitk::LevelWindowManager* QmitkLineEditLevelWindowWidget::GetManager ( )

returns the manager who is responsible to collect and deliver changes on Level/Window

◆ SetDataStorage()

void QmitkLineEditLevelWindowWidget::SetDataStorage ( mitk::DataStorage ds)

sets the DataStorage which holds all image-nodes

◆ SetLevelValue

void QmitkLineEditLevelWindowWidget::SetLevelValue ( )
slot

Read the levelInput and change level and slider when the button "ENTER" was pressed in the windowInput-LineEdit.

◆ SetLevelWindowManager()

void QmitkLineEditLevelWindowWidget::SetLevelWindowManager ( mitk::LevelWindowManager levelWindowManager)

sets the manager who is responsible to collect and deliver changes on Level/Window

◆ SetWindowValue

void QmitkLineEditLevelWindowWidget::SetWindowValue ( )
slot

Read the windowInput and change window and slider when the button "ENTER" was pressed in the windowInput-LineEdit.

Member Data Documentation

◆ m_Contextmenu

QmitkLevelWindowWidgetContextMenu* QmitkLineEditLevelWindowWidget::m_Contextmenu
protected

Definition at line 90 of file QmitkLineEditLevelWindowWidget.h.

◆ m_IsObserverTagSet

bool QmitkLineEditLevelWindowWidget::m_IsObserverTagSet
protected

Definition at line 88 of file QmitkLineEditLevelWindowWidget.h.

◆ m_LevelInput

QLineEdit* QmitkLineEditLevelWindowWidget::m_LevelInput

inputfield for level value

Definition at line 45 of file QmitkLineEditLevelWindowWidget.h.

◆ m_LevelWindow

mitk::LevelWindow QmitkLineEditLevelWindowWidget::m_LevelWindow

data structure which stores the values manipulated by a QmitkLineEditLevelWindowWidget

Definition at line 54 of file QmitkLineEditLevelWindowWidget.h.

◆ m_Manager

mitk::LevelWindowManager::Pointer QmitkLineEditLevelWindowWidget::m_Manager

manager who is responsible to collect and deliver changes on Level/Window

Definition at line 57 of file QmitkLineEditLevelWindowWidget.h.

◆ m_ObserverTag

unsigned long QmitkLineEditLevelWindowWidget::m_ObserverTag
protected

Definition at line 87 of file QmitkLineEditLevelWindowWidget.h.

◆ m_WindowInput

QLineEdit* QmitkLineEditLevelWindowWidget::m_WindowInput

inputfield for window value

Definition at line 48 of file QmitkLineEditLevelWindowWidget.h.


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