Medical Imaging Interaction Toolkit  2026.06.00
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 #include <memory>
21 
22 // Forward declarations
23 namespace Ui
24 {
25  class QmitkLevelWindow;
26 }
27 
37 {
38  Q_OBJECT
39 public:
44  QmitkLevelWindowWidget(QWidget *parent = nullptr, Qt::WindowFlags f = {});
46 
51 
52 public slots:
57 
58 protected:
59  // unsigned long m_ObserverTag;
60  mitk::LevelWindowManager::Pointer m_Manager;
61 
62 private:
63  // GUI controls of this plugin
64  std::unique_ptr<Ui::QmitkLevelWindow> ui;
65 
66 };
67 #endif
#define MITKQTWIDGETS_EXPORT
Composite widget for level/window adjustment.
mitk::LevelWindowManager::Pointer m_Manager
void SetDataStorage(mitk::DataStorage *ds)
Set the data storage for the level window manager.
~QmitkLevelWindowWidget() override
QmitkLevelWindowWidget(QWidget *parent=nullptr, Qt::WindowFlags f={})
Construct the level window widget.
mitk::LevelWindowManager * GetManager()
Get the internal LevelWindowManager.
Abstract data management class that organizes DataNode objects in a directed acyclic graph.
Provides access to the LevelWindowProperty object and LevelWindow of the "current" image.