Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
Dialog for QmitkInteractiveSegmentation. More...
#include <QmitkNewSegmentationDialog.h>
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 |
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.
QmitkNewSegmentationDialog::QmitkNewSegmentationDialog | ( | QWidget * | parent = nullptr | ) |
Definition at line 25 of file QmitkNewSegmentationDialog.cpp.
References btnColor, btnOk, completer, lblPrompt, lineEditName, onAcceptClicked(), onColorBtnClicked(), and onColorChange().
|
override |
Definition at line 80 of file QmitkNewSegmentationDialog.cpp.
mitk::Color QmitkNewSegmentationDialog::GetColor | ( | ) |
Definition at line 89 of file QmitkNewSegmentationDialog.cpp.
References m_Color.
Referenced by QmitkLabelSetWidget::~QmitkLabelSetWidget().
const char * QmitkNewSegmentationDialog::GetOrganType | ( | ) |
Definition at line 107 of file QmitkNewSegmentationDialog.cpp.
References selectedOrgan.
const QString QmitkNewSegmentationDialog::GetSegmentationName | ( | ) |
Definition at line 84 of file QmitkNewSegmentationDialog.cpp.
References m_SegmentationName.
Referenced by QmitkLabelSetWidget::~QmitkLabelSetWidget().
|
protectedslot |
Definition at line 149 of file QmitkNewSegmentationDialog.cpp.
References lineEditName, and m_SegmentationName.
Referenced by QmitkNewSegmentationDialog().
|
protectedslot |
Definition at line 166 of file QmitkNewSegmentationDialog.cpp.
References btnColor, and m_Color.
Referenced by QmitkNewSegmentationDialog().
|
protectedslot |
Definition at line 178 of file QmitkNewSegmentationDialog.cpp.
References btnColor, colorList, m_Color, and organList.
Referenced by QmitkNewSegmentationDialog().
|
protectedslot |
Definition at line 155 of file QmitkNewSegmentationDialog.cpp.
References btnOk, selectedOrgan, and SetSegmentationName().
void QmitkNewSegmentationDialog::SetColor | ( | const mitk::Color & | color | ) |
Definition at line 117 of file QmitkNewSegmentationDialog.cpp.
References btnColor, and m_Color.
Referenced by QmitkLabelSetWidget::~QmitkLabelSetWidget().
|
slot |
Definition at line 144 of file QmitkNewSegmentationDialog.cpp.
References lblPrompt.
void QmitkNewSegmentationDialog::SetSegmentationName | ( | const QString & | segmentationName | ) |
Definition at line 112 of file QmitkNewSegmentationDialog.cpp.
References lineEditName.
Referenced by onNewOrganNameChanged(), and QmitkLabelSetWidget::~QmitkLabelSetWidget().
void QmitkNewSegmentationDialog::SetSuggestionList | ( | QStringList | organColorList | ) |
Definition at line 126 of file QmitkNewSegmentationDialog.cpp.
References colorList, completer, and organList.
Referenced by QmitkLabelSetWidget::~QmitkLabelSetWidget().
|
protected |
Definition at line 74 of file QmitkNewSegmentationDialog.h.
Referenced by onColorBtnClicked(), onColorChange(), QmitkNewSegmentationDialog(), and SetColor().
|
protected |
Definition at line 75 of file QmitkNewSegmentationDialog.h.
Referenced by onNewOrganNameChanged(), and QmitkNewSegmentationDialog().
|
protected |
Definition at line 90 of file QmitkNewSegmentationDialog.h.
Referenced by onColorChange(), and SetSuggestionList().
|
protected |
Definition at line 85 of file QmitkNewSegmentationDialog.h.
Referenced by QmitkNewSegmentationDialog(), and SetSuggestionList().
|
protected |
Definition at line 77 of file QmitkNewSegmentationDialog.h.
|
protected |
Definition at line 70 of file QmitkNewSegmentationDialog.h.
Referenced by QmitkNewSegmentationDialog(), and setPrompt().
|
protected |
Definition at line 72 of file QmitkNewSegmentationDialog.h.
Referenced by onAcceptClicked(), QmitkNewSegmentationDialog(), and SetSegmentationName().
|
protected |
Definition at line 71 of file QmitkNewSegmentationDialog.h.
|
protected |
Definition at line 83 of file QmitkNewSegmentationDialog.h.
Referenced by GetColor(), onColorBtnClicked(), onColorChange(), and SetColor().
|
protected |
Definition at line 87 of file QmitkNewSegmentationDialog.h.
Referenced by GetSegmentationName(), and onAcceptClicked().
|
protected |
Definition at line 81 of file QmitkNewSegmentationDialog.h.
|
protected |
Definition at line 89 of file QmitkNewSegmentationDialog.h.
Referenced by onColorChange(), and SetSuggestionList().
|
protected |
Definition at line 79 of file QmitkNewSegmentationDialog.h.
Referenced by GetOrganType(), and onNewOrganNameChanged().