Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
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 
27 
28 #include <berryIWorkbenchWindow.h>
29 #include <berryIPreferences.h>
30 
32 {
33  Q_OBJECT
34 
35 public:
36 
39 
40 protected slots:
41 
42  void Run();
43 
44 private:
45 
46  void init(berry::IWorkbenchWindow::Pointer window);
48  berry::IPreferences::WeakPtr m_GeneralPreferencesNode;
49 
50 };
51 
52 #endif // QMITKOPENSTDMULTIWIDGETEDITORACTION_H
#define MITK_QT_COMMON_EXT_EXPORT
MITK_QT_APP void Run(berry::IWorkbenchPartSite::Pointer workbenchPartSite, mitk::DataStorage::Pointer dataStorage)