Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkConfirmSegmentationDialog.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QmitkConfirmSegmentationDialog_h
14 #define QmitkConfirmSegmentationDialog_h
15 
16 #include <QDialog>
17 #include <memory>
18 
19 namespace Ui
20 {
22 }
23 
30 class QmitkConfirmSegmentationDialog : public QDialog
31 {
32  Q_OBJECT
33 
34 public:
39  explicit QmitkConfirmSegmentationDialog(QWidget *parent = nullptr);
41 
46  void SetSegmentationName(QString name);
47 
48  enum
49  {
53  };
54 
55 protected slots:
56 
58 
60 
62 
63 private:
64  std::unique_ptr<Ui::QmitkConfirmSegmentationDialog> m_Controls;
65 };
66 
67 #endif
Dialog asking the user whether to overwrite an existing segmentation or create a new one.
QmitkConfirmSegmentationDialog(QWidget *parent=nullptr)
Construct the confirmation dialog.
~QmitkConfirmSegmentationDialog() override
void SetSegmentationName(QString name)
Set the name of the segmentation to display in the dialog.