Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
QmitkDataNodeOpenInAction.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 QmitkDataNodeOpenInAction_h
14
#define QmitkDataNodeOpenInAction_h
15
16
#include <
org_mitk_gui_qt_application_Export.h
>
17
18
#include "
QmitkAbstractDataNodeAction.h
"
19
20
// mitk core
21
#include <
mitkBaseRenderer.h
>
22
23
// qt
24
#include <QAction>
25
26
class
MITK_QT_APP
QmitkDataNodeOpenInAction
:
public
QAction,
public
QmitkAbstractDataNodeAction
27
{
28
Q_OBJECT
29
30
public
:
31
32
typedef
std::vector<mitk::BaseRenderer*>
RendererVector
;
33
34
QmitkDataNodeOpenInAction
(QWidget* parent,
berry::IWorkbenchPartSite::Pointer
workbenchPartSite);
35
QmitkDataNodeOpenInAction
(QWidget* parent,
berry::IWorkbenchPartSite
* workbenchPartSite);
36
37
void
SetControlledRenderer(
RendererVector
controlledRenderer);
38
39
private
Q_SLOTS:
40
41
void
OnMenuAboutToShow();
42
void
OnActionTriggered(
bool
);
43
44
protected
:
45
46
void
InitializeAction
()
override
;
47
48
void
SetControlledRenderer();
49
50
RendererVector
m_ControlledRenderer
;
51
52
};
53
54
#endif
QmitkAbstractDataNodeAction.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
QmitkDataNodeOpenInAction
Definition:
QmitkDataNodeOpenInAction.h:26
QmitkAbstractDataNodeAction
Definition:
QmitkAbstractDataNodeAction.h:34
QmitkDataNodeOpenInAction::RendererVector
std::vector< mitk::BaseRenderer * > RendererVector
Definition:
QmitkDataNodeOpenInAction.h:32
QmitkDataNodeOpenInAction::m_ControlledRenderer
RendererVector m_ControlledRenderer
Definition:
QmitkDataNodeOpenInAction.h:50
berry::IWorkbenchPartSite
Definition:
berryIWorkbenchPartSite.h:31
MITK_QT_APP
#define MITK_QT_APP
Definition:
org_mitk_gui_qt_application_Export.h:26
QmitkAbstractDataNodeAction::InitializeAction
virtual void InitializeAction()=0
org_mitk_gui_qt_application_Export.h
mitkBaseRenderer.h
src
MITK
Plugins
org.mitk.gui.qt.application
src
QmitkDataNodeOpenInAction.h
Generated on Sat Nov 23 2024 02:13:16 for Medical Imaging Interaction Toolkit by
1.8.17