Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkLevelWindowPresetDefinitionDialog Class Reference

#include <QmitkLevelWindowPresetDefinitionDialog.h>

Inheritance diagram for QmitkLevelWindowPresetDefinitionDialog:
Collaboration diagram for QmitkLevelWindowPresetDefinitionDialog:

Classes

class  PresetTableModel
 

Public Member Functions

 QmitkLevelWindowPresetDefinitionDialog (QWidget *parent=nullptr, Qt::WindowFlags f={})
 
 ~QmitkLevelWindowPresetDefinitionDialog () override
 
void setPresets (std::map< std::string, double > &level, std::map< std::string, double > &window, QString initLevel, QString initWindow)
 
std::map< std::string, double > getLevelPresets ()
 
std::map< std::string, double > getWindowPresets ()
 

Protected Slots

void addPreset ()
 
void removePreset ()
 
void changePreset ()
 
void ListViewSelectionChanged (const QItemSelection &, const QItemSelection &)
 
void sortPresets (int index)
 

Protected Member Functions

void resizeEvent (QResizeEvent *event) override
 
void showEvent (QShowEvent *event) override
 
void resizeColumns ()
 

Protected Attributes

PresetTableModelm_TableModel
 
QSortFilterProxyModel m_SortModel
 

Detailed Description

Definition at line 27 of file QmitkLevelWindowPresetDefinitionDialog.h.

Constructor & Destructor Documentation

◆ QmitkLevelWindowPresetDefinitionDialog()

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

◆ ~QmitkLevelWindowPresetDefinitionDialog()

QmitkLevelWindowPresetDefinitionDialog::~QmitkLevelWindowPresetDefinitionDialog ( )
override

Member Function Documentation

◆ addPreset

void QmitkLevelWindowPresetDefinitionDialog::addPreset ( )
protectedslot

◆ changePreset

void QmitkLevelWindowPresetDefinitionDialog::changePreset ( )
protectedslot

◆ getLevelPresets()

std::map<std::string, double> QmitkLevelWindowPresetDefinitionDialog::getLevelPresets ( )

◆ getWindowPresets()

std::map<std::string, double> QmitkLevelWindowPresetDefinitionDialog::getWindowPresets ( )

◆ ListViewSelectionChanged

void QmitkLevelWindowPresetDefinitionDialog::ListViewSelectionChanged ( const QItemSelection &  ,
const QItemSelection &   
)
protectedslot

◆ removePreset

void QmitkLevelWindowPresetDefinitionDialog::removePreset ( )
protectedslot

◆ resizeColumns()

void QmitkLevelWindowPresetDefinitionDialog::resizeColumns ( )
protected

◆ resizeEvent()

void QmitkLevelWindowPresetDefinitionDialog::resizeEvent ( QResizeEvent *  event)
overrideprotected

◆ setPresets()

void QmitkLevelWindowPresetDefinitionDialog::setPresets ( std::map< std::string, double > &  level,
std::map< std::string, double > &  window,
QString  initLevel,
QString  initWindow 
)

◆ showEvent()

void QmitkLevelWindowPresetDefinitionDialog::showEvent ( QShowEvent *  event)
overrideprotected

◆ sortPresets

void QmitkLevelWindowPresetDefinitionDialog::sortPresets ( int  index)
protectedslot

Member Data Documentation

◆ m_SortModel

QSortFilterProxyModel QmitkLevelWindowPresetDefinitionDialog::m_SortModel
protected

Definition at line 98 of file QmitkLevelWindowPresetDefinitionDialog.h.

◆ m_TableModel

PresetTableModel* QmitkLevelWindowPresetDefinitionDialog::m_TableModel
protected

Definition at line 97 of file QmitkLevelWindowPresetDefinitionDialog.h.


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