Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
Medical Imaging Interaction Toolkit
QmitkDataNodeColorMapAction.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 QMITKDATANODECOLORMAPACTION_H
14 #define QMITKDATANODECOLORMAPACTION_H
15 
17 
19 
20 // mitk core
21 #include <mitkDataNode.h>
22 
23 // qt
24 #include <QAction>
25 
27 {
28  Q_OBJECT
29 
30 public:
31 
32  QmitkDataNodeColorMapAction(QWidget* parent, berry::IWorkbenchPartSite::Pointer workbenchPartSite);
33  QmitkDataNodeColorMapAction(QWidget* parent, berry::IWorkbenchPartSite* workbenchPartSite);
34 
35 private Q_SLOTS:
36 
37  void OnMenuAboutShow();
38  void OnActionTriggered(bool);
39 
40 protected:
41 
42  void InitializeAction() override;
43 
44 };
45 
46 #endif // QMITKDATANODECOLORMAPACTION_H
virtual void InitializeAction()=0