Medical Imaging Interaction Toolkit  2016.11.0
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 ()
 called when return is pressed in levelinput field More...
 
void SetWindowValue ()
 called when return is pressed in windowinput field More...
 

Public Member Functions

 QmitkLineEditLevelWindowWidget (QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
 constructor More...
 
 ~QmitkLineEditLevelWindowWidget ()
 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 35 of file QmitkLineEditLevelWindowWidget.h.

Constructor & Destructor Documentation

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

destructor

Definition at line 83 of file QmitkLineEditLevelWindowWidget.cpp.

References m_IsObserverTagSet, m_Manager, and m_ObserverTag.

Member Function Documentation

mitk::LevelWindowManager * QmitkLineEditLevelWindowWidget::GetManager ( )

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

Definition at line 179 of file QmitkLineEditLevelWindowWidget.cpp.

References m_Manager.

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

sets the DataStorage which holds all image-nodes

Definition at line 150 of file QmitkLineEditLevelWindowWidget.cpp.

References m_Manager.

void QmitkLineEditLevelWindowWidget::SetLevelValue ( )
slot
void QmitkLineEditLevelWindowWidget::setLevelWindowManager ( mitk::LevelWindowManager levelWindowManager)

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

Definition at line 132 of file QmitkLineEditLevelWindowWidget.cpp.

References m_IsObserverTagSet, m_Manager, m_ObserverTag, and mitk::New().

void QmitkLineEditLevelWindowWidget::SetWindowValue ( )
slot

Member Data Documentation

QmitkLevelWindowWidgetContextMenu* QmitkLineEditLevelWindowWidget::m_Contextmenu
protected

data structure which creates the contextmenu for QmitkLineEditLevelWindowWidget

Definition at line 95 of file QmitkLineEditLevelWindowWidget.h.

Referenced by QmitkLineEditLevelWindowWidget().

bool QmitkLineEditLevelWindowWidget::m_IsObserverTagSet
protected
QLineEdit* QmitkLineEditLevelWindowWidget::m_LevelInput

inputfield for level value

Definition at line 47 of file QmitkLineEditLevelWindowWidget.h.

Referenced by QmitkLineEditLevelWindowWidget(), and SetLevelValue().

mitk::LevelWindow QmitkLineEditLevelWindowWidget::m_LevelWindow

data structure which stores the values manipulated by a QmitkLineEditLevelWindowWidget

Definition at line 56 of file QmitkLineEditLevelWindowWidget.h.

Referenced by SetLevelValue(), and SetWindowValue().

mitk::LevelWindowManager::Pointer QmitkLineEditLevelWindowWidget::m_Manager

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

Definition at line 59 of file QmitkLineEditLevelWindowWidget.h.

Referenced by GetManager(), QmitkLineEditLevelWindowWidget(), SetDataStorage(), SetLevelValue(), setLevelWindowManager(), SetWindowValue(), and ~QmitkLineEditLevelWindowWidget().

unsigned long QmitkLineEditLevelWindowWidget::m_ObserverTag
protected
QLineEdit* QmitkLineEditLevelWindowWidget::m_WindowInput

inputfield for window value

Definition at line 50 of file QmitkLineEditLevelWindowWidget.h.

Referenced by QmitkLineEditLevelWindowWidget(), and SetWindowValue().


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