Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkEnumerationPropertyWidget.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 QmitkEnumerationPropertyWidget_h
14 #define QmitkEnumerationPropertyWidget_h
15 
17 
18 #include <QComboBox>
19 #include <QHash>
20 
21 namespace mitk
22 {
23  class EnumerationProperty;
24 }
25 
26 class _EnumPropEditorImpl;
27 
30 {
31  Q_OBJECT
32 
33 public:
34  QmitkEnumerationPropertyWidget(QWidget *parent = nullptr);
36 
37  void SetProperty(mitk::EnumerationProperty *property);
38 
39 protected slots:
40 
41  void OnIndexChanged(int index);
42 
43 protected:
44  _EnumPropEditorImpl *propView;
45 };
46 
47 #endif
MITKQTWIDGETSEXT_EXPORT
#define MITKQTWIDGETSEXT_EXPORT
Definition: MitkQtWidgetsExtExports.h:15
mitk::EnumerationProperty
Definition: mitkEnumerationProperty.h:43
QmitkEnumerationPropertyWidget::propView
_EnumPropEditorImpl * propView
Definition: QmitkEnumerationPropertyWidget.h:44
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
QmitkEnumerationPropertyWidget
Definition: QmitkEnumerationPropertyWidget.h:29
MitkQtWidgetsExtExports.h