Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkDataNodeComponentAction.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 QmitkDataNodeComponentAction_h
14 #define QmitkDataNodeComponentAction_h
15 
17 
18 // qt widgets ext module
20 
22 
23 // qt
24 #include <QWidgetAction>
25 
27 {
28  Q_OBJECT
29 
30 public:
31 
32  QmitkDataNodeComponentAction(QWidget* parent, berry::IWorkbenchPartSite::Pointer workbenchPartSite);
33  QmitkDataNodeComponentAction(QWidget* parent, berry::IWorkbenchPartSite* workbenchPartSite);
34 
35  void InitializeWithDataNode(const mitk::DataNode* dataNode) override;
36 
37 private Q_SLOTS:
38 
39  void OnActionChanged();
40 
41 protected:
42 
43  void InitializeAction() override;
44 
45 private:
46 
47  QmitkNumberPropertySlider* m_ComponentSlider;
48 
49 };
50 
51 #endif
QmitkAbstractDataNodeAction.h
QmitkAbstractDataNodeAction::InitializeWithDataNode
virtual void InitializeWithDataNode(const mitk::DataNode *)
Definition: QmitkAbstractDataNodeAction.h:46
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
QmitkAbstractDataNodeAction
Definition: QmitkAbstractDataNodeAction.h:34
QmitkNumberPropertySlider.h
QmitkNumberPropertySlider
Definition: QmitkNumberPropertySlider.h:29
berry::IWorkbenchPartSite
Definition: berryIWorkbenchPartSite.h:31
MITK_QT_APP
#define MITK_QT_APP
Definition: org_mitk_gui_qt_application_Export.h:26
QmitkDataNodeComponentAction
Definition: QmitkDataNodeComponentAction.h:26
QmitkAbstractDataNodeAction::InitializeAction
virtual void InitializeAction()=0
org_mitk_gui_qt_application_Export.h
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63