Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkLevelWindowRangeChangeDialog.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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QMITKLEVELWINDOWRANGECHANGEDIALOG_H_
18 #define QMITKLEVELWINDOWRANGECHANGEDIALOG_H_
19 
20 #include <MitkQtWidgetsExports.h>
21 
22 #include "ui_QmitkLevelWindowRangeChange.h"
23 
24 #include <QDialog>
25 
27 class MITKQTWIDGETS_EXPORT QmitkLevelWindowRangeChangeDialog : public QDialog, public Ui::QmitkLevelWindowRangeChange
28 {
29  Q_OBJECT
30 
31 public:
32  QmitkLevelWindowRangeChangeDialog(QWidget *parent = nullptr, Qt::WindowFlags f = nullptr);
33 
34  double getLowerLimit();
35 
36  double getUpperLimit();
37 
38  void setLowerLimit(double rangeMin);
39 
40  void setUpperLimit(double rangeMax);
41 
42 protected slots:
43 
44  void inputValidator();
45 };
46 
47 #endif /*QMITKLEVELWINDOWRANGECHANGEDIALOG_H_*/
#define MITKQTWIDGETS_EXPORT