Medical Imaging Interaction Toolkit  2023.12.99-f298153c
Medical Imaging Interaction Toolkit
QmitkLevelWindowWidget.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 QmitkLevelWindowWidget_h
14 #define QmitkLevelWindowWidget_h
15 
16 #include <MitkQtWidgetsExports.h>
17 #include <mitkLevelWindowManager.h>
18 
19 #include <QWidget>
20 
21 // Forward declarations
22 namespace Ui
23 {
24  class QmitkLevelWindow;
25 }
26 
29 {
30  Q_OBJECT
31 public:
32  QmitkLevelWindowWidget(QWidget *parent = nullptr, Qt::WindowFlags f = {});
33  ~QmitkLevelWindowWidget() override;
34 
35  mitk::LevelWindowManager *GetManager();
36 
37 public slots:
38  void SetDataStorage(mitk::DataStorage *ds);
39 
40 protected:
41  // unsigned long m_ObserverTag;
43 
44 private:
45  // GUI controls of this plugin
46  Ui::QmitkLevelWindow* ui;
47 
48 };
49 #endif
QmitkLevelWindowWidget
Definition: QmitkLevelWindowWidget.h:28
MITKQTWIDGETS_EXPORT
#define MITKQTWIDGETS_EXPORT
Definition: MitkQtWidgetsExports.h:15
QmitkLevelWindowWidget::m_Manager
mitk::LevelWindowManager::Pointer m_Manager
Definition: QmitkLevelWindowWidget.h:42
itk::SmartPointer< Self >
mitk::LevelWindowManager
Provides access to the LevelWindowProperty object and LevelWindow of the "current" image.
Definition: mitkLevelWindowManager.h:51
Ui
Definition: BlueBerryExampleLauncherDialog.h:21
MitkQtWidgetsExports.h
mitk::DataStorage
Data management class that handles 'was created by' relations.
Definition: mitkDataStorage.h:43
mitkLevelWindowManager.h