Medical Imaging Interaction Toolkit  2025.12.02
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 = {});
34 
36 
37 public slots:
39 
40 protected:
41  // unsigned long m_ObserverTag;
42  mitk::LevelWindowManager::Pointer m_Manager;
43 
44 private:
45  // GUI controls of this plugin
46  Ui::QmitkLevelWindow* ui;
47 
48 };
49 #endif
#define MITKQTWIDGETS_EXPORT
mitk::LevelWindowManager::Pointer m_Manager
void SetDataStorage(mitk::DataStorage *ds)
~QmitkLevelWindowWidget() override
QmitkLevelWindowWidget(QWidget *parent=nullptr, Qt::WindowFlags f={})
mitk::LevelWindowManager * GetManager()
Data management class that handles 'was created by' relations.
Provides access to the LevelWindowProperty object and LevelWindow of the "current" image.