Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
QmitkOpenStdMultiWidgetEditorAction.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 QmitkOpenStdMultiWidgetEditorAction_h
14
#define QmitkOpenStdMultiWidgetEditorAction_h
15
16
#ifdef __MINGW32__
17
// We need to inlclude winbase.h here in order to declare
18
// atomic intrinsics like InterlockedIncrement correctly.
19
// Otherwhise, they would be declared wrong within qatomic_windows.h .
20
#include <windows.h>
21
#endif
22
23
#include <QAction>
24
#include <QIcon>
25
26
#include <
org_mitk_gui_qt_ext_Export.h
>
27
28
#include <
berryIWorkbenchWindow.h
>
29
30
class
MITK_QT_COMMON_EXT_EXPORT
QmitkOpenStdMultiWidgetEditorAction
:
public
QAction
31
{
32
Q_OBJECT
33
34
public
:
35
36
QmitkOpenStdMultiWidgetEditorAction
(
berry::IWorkbenchWindow::Pointer
window);
37
QmitkOpenStdMultiWidgetEditorAction
(
const
QIcon& icon,
berry::IWorkbenchWindow::Pointer
window);
38
39
protected
slots:
40
41
void
Run
();
42
43
private
:
44
45
void
init(
berry::IWorkbenchWindow::Pointer
window);
46
berry::IWorkbenchWindow::Pointer
m_Window;
47
48
};
49
50
#endif
berryIWorkbenchWindow.h
MITK_QT_COMMON_EXT_EXPORT
#define MITK_QT_COMMON_EXT_EXPORT
Definition:
org_mitk_gui_qt_ext_Export.h:26
berry::Object::Pointer
berry::SmartPointer< Self > Pointer
Definition:
berryObject.h:82
QmitkOpenStdMultiWidgetEditorAction
Definition:
QmitkOpenStdMultiWidgetEditorAction.h:30
GlobalReinitAction::Run
MITK_QT_APP void Run(berry::IWorkbenchPartSite::Pointer workbenchPartSite, mitk::DataStorage::Pointer dataStorage)
org_mitk_gui_qt_ext_Export.h
src
MITK
Plugins
org.mitk.gui.qt.ext
src
QmitkOpenStdMultiWidgetEditorAction.h
Generated on Wed May 17 2023 16:26:14 for Medical Imaging Interaction Toolkit by
1.8.17