Medical Imaging Interaction Toolkit  2024.06.00
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 (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 QmitkLevelWindowRangeChangeDialog_h
14 #define QmitkLevelWindowRangeChangeDialog_h
15 
16 #include <MitkQtWidgetsExports.h>
17 
18 #include "ui_QmitkLevelWindowRangeChange.h"
19 
20 #include <QDialog>
21 
23 class MITKQTWIDGETS_EXPORT QmitkLevelWindowRangeChangeDialog : public QDialog, public Ui::QmitkLevelWindowRangeChange
24 {
25  Q_OBJECT
26 
27 public:
28  QmitkLevelWindowRangeChangeDialog(QWidget *parent = nullptr, Qt::WindowFlags f = {});
29 
30  double getLowerLimit();
31 
32  double getUpperLimit();
33 
34  void setLowerLimit(double rangeMin);
35 
36  void setUpperLimit(double rangeMax);
37 
38 protected slots:
39 
40  void inputValidator();
41 };
42 
43 #endif
MITKQTWIDGETS_EXPORT
#define MITKQTWIDGETS_EXPORT
Definition: MitkQtWidgetsExports.h:15
MitkQtWidgetsExports.h
QmitkLevelWindowRangeChangeDialog
Definition: QmitkLevelWindowRangeChangeDialog.h:23