Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Dialog for QmitkInteractiveSegmentation. More...
#include <QmitkNewSegmentationDialog.h>
Public Slots | |
void | setPrompt (const QString &prompt) |
void | setSegmentationName (const QString &name) |
Public Member Functions | |
QmitkNewSegmentationDialog (QWidget *parent=nullptr) | |
virtual | ~QmitkNewSegmentationDialog () |
const QString | GetSegmentationName () |
const char * | GetOrganType () |
mitk::Color | GetColor () |
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 * | edtName |
QPushButton * | btnColor |
QPushButton * | btnOk |
QLineEdit * | edtNewOrgan |
QString | selectedOrgan |
bool | newOrganEntry |
QColor | m_Color |
QCompleter * | completer |
QString | m_SegmentationName |
QStringList | organList |
QList< QColor > | colorList |
Dialog for QmitkInteractiveSegmentation.
This dialog is used to ask a user about the type of a newly created segmentation and a name for it.
Last contribution by
.
Definition at line 46 of file QmitkNewSegmentationDialog.h.
QmitkNewSegmentationDialog::QmitkNewSegmentationDialog | ( | QWidget * | parent = nullptr | ) |
Definition at line 31 of file QmitkNewSegmentationDialog.cpp.
References btnColor, btnOk, completer, edtName, lblPrompt, mitk::OrganTypeProperty::New(), onAcceptClicked(), onColorBtnClicked(), and onColorChange().
|
virtual |
Definition at line 88 of file QmitkNewSegmentationDialog.cpp.
mitk::Color QmitkNewSegmentationDialog::GetColor | ( | ) |
Definition at line 143 of file QmitkNewSegmentationDialog.cpp.
References m_Color.
const char * QmitkNewSegmentationDialog::GetOrganType | ( | ) |
Definition at line 103 of file QmitkNewSegmentationDialog.cpp.
References selectedOrgan.
const QString QmitkNewSegmentationDialog::GetSegmentationName | ( | ) |
Definition at line 98 of file QmitkNewSegmentationDialog.cpp.
References m_SegmentationName.
|
protectedslot |
Definition at line 92 of file QmitkNewSegmentationDialog.cpp.
References edtName, and m_SegmentationName.
Referenced by QmitkNewSegmentationDialog().
|
protectedslot |
Definition at line 119 of file QmitkNewSegmentationDialog.cpp.
References btnColor, and m_Color.
Referenced by QmitkNewSegmentationDialog().
|
protectedslot |
Definition at line 179 of file QmitkNewSegmentationDialog.cpp.
References btnColor, colorList, m_Color, and organList.
Referenced by QmitkNewSegmentationDialog().
|
protectedslot |
Definition at line 108 of file QmitkNewSegmentationDialog.cpp.
References btnOk, selectedOrgan, and setSegmentationName().
|
slot |
Definition at line 132 of file QmitkNewSegmentationDialog.cpp.
References lblPrompt.
|
slot |
Definition at line 137 of file QmitkNewSegmentationDialog.cpp.
References edtName, and m_SegmentationName.
Referenced by onNewOrganNameChanged().
void QmitkNewSegmentationDialog::SetSuggestionList | ( | QStringList | organColorList | ) |
Definition at line 161 of file QmitkNewSegmentationDialog.cpp.
|
protected |
Definition at line 80 of file QmitkNewSegmentationDialog.h.
Referenced by onColorBtnClicked(), onColorChange(), and QmitkNewSegmentationDialog().
|
protected |
Definition at line 81 of file QmitkNewSegmentationDialog.h.
Referenced by onNewOrganNameChanged(), and QmitkNewSegmentationDialog().
|
protected |
Definition at line 96 of file QmitkNewSegmentationDialog.h.
Referenced by onColorChange(), and SetSuggestionList().
|
protected |
Definition at line 91 of file QmitkNewSegmentationDialog.h.
Referenced by QmitkNewSegmentationDialog(), and SetSuggestionList().
|
protected |
Definition at line 78 of file QmitkNewSegmentationDialog.h.
Referenced by onAcceptClicked(), QmitkNewSegmentationDialog(), and setSegmentationName().
|
protected |
Definition at line 83 of file QmitkNewSegmentationDialog.h.
|
protected |
Definition at line 76 of file QmitkNewSegmentationDialog.h.
Referenced by QmitkNewSegmentationDialog(), and setPrompt().
|
protected |
Definition at line 77 of file QmitkNewSegmentationDialog.h.
|
protected |
Definition at line 89 of file QmitkNewSegmentationDialog.h.
Referenced by GetColor(), onColorBtnClicked(), and onColorChange().
|
protected |
Definition at line 93 of file QmitkNewSegmentationDialog.h.
Referenced by GetSegmentationName(), onAcceptClicked(), and setSegmentationName().
|
protected |
Definition at line 87 of file QmitkNewSegmentationDialog.h.
|
protected |
Definition at line 95 of file QmitkNewSegmentationDialog.h.
Referenced by onColorChange(), and SetSuggestionList().
|
protected |
Definition at line 85 of file QmitkNewSegmentationDialog.h.
Referenced by GetOrganType(), and onNewOrganNameChanged().