Medical Imaging Interaction Toolkit  2021.02.99-e55a5d2f
Medical Imaging Interaction Toolkit
QmitkNewSegmentationDialog Class Reference

Dialog for QmitkInteractiveSegmentation. More...

#include <QmitkNewSegmentationDialog.h>

Inheritance diagram for QmitkNewSegmentationDialog:
Collaboration diagram for QmitkNewSegmentationDialog:

Public Slots

void setPrompt (const QString &prompt)
 

Public Member Functions

 QmitkNewSegmentationDialog (QWidget *parent=nullptr)
 
 ~QmitkNewSegmentationDialog () override
 
const QString GetSegmentationName ()
 
mitk::Color GetColor ()
 
const char * GetOrganType ()
 
void SetSegmentationName (const QString &segmentationName)
 
void SetColor (const mitk::Color &color)
 
void SetSuggestionList (QStringList organColorList)
 

Protected Slots

void onAcceptClicked ()
 
void onNewOrganNameChanged (const QString &)
 
void onColorBtnClicked ()
 
void onColorChange (const QString &completedWord)
 

Protected Attributes

QLabel * lblPrompt
 
Q3ListBox * lstOrgans
 
QLineEdit * lineEditName
 
QPushButton * btnColor
 
QPushButton * btnOk
 
QLineEdit * edtNewOrgan
 
QString selectedOrgan
 
bool newOrganEntry
 
QColor m_Color
 
QCompleter * completer
 
QString m_SegmentationName
 
QStringList organList
 
QList< QColor > colorList
 

Detailed Description

Dialog for QmitkInteractiveSegmentation.

This dialog is used to ask a user about the type of a newly created segmentation and a name for it.

Definition at line 38 of file QmitkNewSegmentationDialog.h.

Constructor & Destructor Documentation

◆ QmitkNewSegmentationDialog()

QmitkNewSegmentationDialog::QmitkNewSegmentationDialog ( QWidget *  parent = nullptr)

◆ ~QmitkNewSegmentationDialog()

QmitkNewSegmentationDialog::~QmitkNewSegmentationDialog ( )
override

Member Function Documentation

◆ GetColor()

mitk::Color QmitkNewSegmentationDialog::GetColor ( )

◆ GetOrganType()

const char* QmitkNewSegmentationDialog::GetOrganType ( )

◆ GetSegmentationName()

const QString QmitkNewSegmentationDialog::GetSegmentationName ( )

◆ onAcceptClicked

void QmitkNewSegmentationDialog::onAcceptClicked ( )
protectedslot

◆ onColorBtnClicked

void QmitkNewSegmentationDialog::onColorBtnClicked ( )
protectedslot

◆ onColorChange

void QmitkNewSegmentationDialog::onColorChange ( const QString &  completedWord)
protectedslot

◆ onNewOrganNameChanged

void QmitkNewSegmentationDialog::onNewOrganNameChanged ( const QString &  )
protectedslot

◆ SetColor()

void QmitkNewSegmentationDialog::SetColor ( const mitk::Color color)

◆ setPrompt

void QmitkNewSegmentationDialog::setPrompt ( const QString &  prompt)
slot

◆ SetSegmentationName()

void QmitkNewSegmentationDialog::SetSegmentationName ( const QString &  segmentationName)

◆ SetSuggestionList()

void QmitkNewSegmentationDialog::SetSuggestionList ( QStringList  organColorList)

Member Data Documentation

◆ btnColor

QPushButton* QmitkNewSegmentationDialog::btnColor
protected

Definition at line 74 of file QmitkNewSegmentationDialog.h.

◆ btnOk

QPushButton* QmitkNewSegmentationDialog::btnOk
protected

Definition at line 75 of file QmitkNewSegmentationDialog.h.

◆ colorList

QList<QColor> QmitkNewSegmentationDialog::colorList
protected

Definition at line 90 of file QmitkNewSegmentationDialog.h.

◆ completer

QCompleter* QmitkNewSegmentationDialog::completer
protected

Definition at line 85 of file QmitkNewSegmentationDialog.h.

◆ edtNewOrgan

QLineEdit* QmitkNewSegmentationDialog::edtNewOrgan
protected

Definition at line 77 of file QmitkNewSegmentationDialog.h.

◆ lblPrompt

QLabel* QmitkNewSegmentationDialog::lblPrompt
protected

Definition at line 70 of file QmitkNewSegmentationDialog.h.

◆ lineEditName

QLineEdit* QmitkNewSegmentationDialog::lineEditName
protected

Definition at line 72 of file QmitkNewSegmentationDialog.h.

◆ lstOrgans

Q3ListBox* QmitkNewSegmentationDialog::lstOrgans
protected

Definition at line 71 of file QmitkNewSegmentationDialog.h.

◆ m_Color

QColor QmitkNewSegmentationDialog::m_Color
protected

Definition at line 83 of file QmitkNewSegmentationDialog.h.

◆ m_SegmentationName

QString QmitkNewSegmentationDialog::m_SegmentationName
protected

Definition at line 87 of file QmitkNewSegmentationDialog.h.

◆ newOrganEntry

bool QmitkNewSegmentationDialog::newOrganEntry
protected

Definition at line 81 of file QmitkNewSegmentationDialog.h.

◆ organList

QStringList QmitkNewSegmentationDialog::organList
protected

Definition at line 89 of file QmitkNewSegmentationDialog.h.

◆ selectedOrgan

QString QmitkNewSegmentationDialog::selectedOrgan
protected

Definition at line 79 of file QmitkNewSegmentationDialog.h.


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