|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Dialog asking the user whether to overwrite an existing segmentation or create a new one. More...
#include <QmitkConfirmSegmentationDialog.h>


Public Types | |
| enum | { OVERWRITE_SEGMENTATION , CREATE_NEW_SEGMENTATION , CANCEL_SEGMENTATION } |
Public Member Functions | |
| QmitkConfirmSegmentationDialog (QWidget *parent=nullptr) | |
| Construct the confirmation dialog. More... | |
| ~QmitkConfirmSegmentationDialog () override | |
| void | SetSegmentationName (QString name) |
| Set the name of the segmentation to display in the dialog. More... | |
Protected Slots | |
| void | OnOverwriteExistingSegmentation () |
| void | OnCreateNewSegmentation () |
| void | OnCancelSegmentation () |
Dialog asking the user whether to overwrite an existing segmentation or create a new one.
Presents three options: overwrite the existing segmentation, create a new segmentation, or cancel the operation.
Definition at line 30 of file QmitkConfirmSegmentationDialog.h.
| anonymous enum |
| Enumerator | |
|---|---|
| OVERWRITE_SEGMENTATION | |
| CREATE_NEW_SEGMENTATION | |
| CANCEL_SEGMENTATION | |
Definition at line 48 of file QmitkConfirmSegmentationDialog.h.
|
explicit |
Construct the confirmation dialog.
| parent | Optional parent widget. |
|
override |
|
protectedslot |
|
protectedslot |
|
protectedslot |
| void QmitkConfirmSegmentationDialog::SetSegmentationName | ( | QString | name | ) |
Set the name of the segmentation to display in the dialog.
| name | The segmentation name. |