Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkConfirmSegmentationDialog Class Reference

Dialog asking the user whether to overwrite an existing segmentation or create a new one. More...

#include <QmitkConfirmSegmentationDialog.h>

Inheritance diagram for QmitkConfirmSegmentationDialog:
Collaboration diagram for QmitkConfirmSegmentationDialog:

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 ()
 

Detailed Description

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.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
OVERWRITE_SEGMENTATION 
CREATE_NEW_SEGMENTATION 
CANCEL_SEGMENTATION 

Definition at line 48 of file QmitkConfirmSegmentationDialog.h.

Constructor & Destructor Documentation

◆ QmitkConfirmSegmentationDialog()

QmitkConfirmSegmentationDialog::QmitkConfirmSegmentationDialog ( QWidget *  parent = nullptr)
explicit

Construct the confirmation dialog.

Parameters
parentOptional parent widget.

◆ ~QmitkConfirmSegmentationDialog()

QmitkConfirmSegmentationDialog::~QmitkConfirmSegmentationDialog ( )
override

Member Function Documentation

◆ OnCancelSegmentation

void QmitkConfirmSegmentationDialog::OnCancelSegmentation ( )
protectedslot

◆ OnCreateNewSegmentation

void QmitkConfirmSegmentationDialog::OnCreateNewSegmentation ( )
protectedslot

◆ OnOverwriteExistingSegmentation

void QmitkConfirmSegmentationDialog::OnOverwriteExistingSegmentation ( )
protectedslot

◆ SetSegmentationName()

void QmitkConfirmSegmentationDialog::SetSegmentationName ( QString  name)

Set the name of the segmentation to display in the dialog.

Parameters
nameThe segmentation name.

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