Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
QmitkOpenXnatEditorAction.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,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#ifndef QMITKOPENXNATEDITORACTION_H_
18
#define QMITKOPENXNATEDITORACTION_H_
19
20
#ifdef __MINGW32__
21
// We need to inlclude winbase.h here in order to declare
22
// atomic intrinsics like InterlockedIncrement correctly.
23
// Otherwhise, they would be declared wrong within qatomic_windows.h .
24
#include <windows.h>
25
#endif
26
27
#include <QAction>
28
#include <QIcon>
29
30
#include <
org_mitk_gui_qt_ext_Export.h
>
31
32
#include <
berryIWorkbenchWindow.h
>
33
#include <
berryIPreferences.h
>
34
35
class
MITK_QT_COMMON_EXT_EXPORT
QmitkOpenXnatEditorAction
:
public
QAction
36
{
37
Q_OBJECT
38
39
public
:
40
QmitkOpenXnatEditorAction
(
berry::IWorkbenchWindow::Pointer
window);
41
QmitkOpenXnatEditorAction
(
const
QIcon & icon,
berry::IWorkbenchWindow::Pointer
window);
42
43
protected
slots:
44
45
void
Run();
46
47
private
:
48
void
init (
berry::IWorkbenchWindow::Pointer
window );
49
berry::IWorkbenchWindow::Pointer
m_Window;
50
berry::IPreferences::WeakPtr
m_GeneralPreferencesNode;
51
};
52
53
54
#endif
/*QMITKOPENXNATEDITORACTION_H_*/
berryIPreferences.h
QmitkOpenXnatEditorAction
Definition:
QmitkOpenXnatEditorAction.h:35
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:23
org_mitk_gui_qt_ext_Export.h
berryIWorkbenchWindow.h
git
MITK
Plugins
org.mitk.gui.qt.ext
src
QmitkOpenXnatEditorAction.h
Generated on Fri Feb 3 2017 20:52:14 for Medical Imaging Interaction Toolkit by
1.8.9.1