Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 
18 namespace Ui
19 {
21 }
22 
23 class QmitkConfirmSegmentationDialog : public QDialog
24 {
25  Q_OBJECT
26 
27 public:
28  explicit QmitkConfirmSegmentationDialog(QWidget *parent = nullptr);
30 
31  void SetSegmentationName(QString name);
32 
33  enum
34  {
37  CANCEL_SEGMENTATION
38  };
39 
40 protected slots:
41 
42  void OnOverwriteExistingSegmentation();
43 
44  void OnCreateNewSegmentation();
45 
46  void OnCancelSegmentation();
47 
48 private:
49  Ui::QmitkConfirmSegmentationDialog *m_Controls;
50 };
51 
52 #endif // QMITKCONFIRMSEGMENTATIONDIALOG_H