Medical Imaging Interaction Toolkit
2018.4.99-389bf124
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
#include <
berryIPreferences.h
>
30
31
class
MITK_QT_COMMON_EXT_EXPORT
QmitkOpenStdMultiWidgetEditorAction
:
public
QAction
32
{
33
Q_OBJECT
34
35
public
:
36
37
QmitkOpenStdMultiWidgetEditorAction
(
berry::IWorkbenchWindow::Pointer
window);
38
QmitkOpenStdMultiWidgetEditorAction
(
const
QIcon& icon,
berry::IWorkbenchWindow::Pointer
window);
39
40
protected
slots:
41
42
void
Run
();
43
44
private
:
45
46
void
init(
berry::IWorkbenchWindow::Pointer
window);
47
berry::IWorkbenchWindow::Pointer
m_Window;
48
berry::IPreferences::WeakPtr
m_GeneralPreferencesNode;
49
50
};
51
52
#endif // QMITKOPENSTDMULTIWIDGETEDITORACTION_H
QmitkOpenStdMultiWidgetEditorAction
Definition:
QmitkOpenStdMultiWidgetEditorAction.h:31
berryIPreferences.h
berry::SmartPointer< Self >
berry::WeakPointer< Self >
MITK_QT_COMMON_EXT_EXPORT
#define MITK_QT_COMMON_EXT_EXPORT
Definition:
org_mitk_gui_qt_ext_Export.h:25
org_mitk_gui_qt_ext_Export.h
berryIWorkbenchWindow.h
GlobalReinitAction::Run
void Run(berry::IWorkbenchPartSite::Pointer workbenchPartSite, mitk::DataStorage::Pointer dataStorage)
Definition:
QmitkDataNodeGlobalReinitAction.cpp:26
Source
Plugins
org.mitk.gui.qt.ext
src
QmitkOpenStdMultiWidgetEditorAction.h
Generated on Thu Mar 12 2020 10:24:11 for Medical Imaging Interaction Toolkit by
1.8.13