Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
QmitkDataNodeGlobalReinitAction.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 QmitkDataNodeGlobalReinitAction_h
14
#define QmitkDataNodeGlobalReinitAction_h
15
16
#include <
org_mitk_gui_qt_application_Export.h
>
17
18
#include "
QmitkAbstractDataNodeAction.h
"
19
20
// qt
21
#include <QAction>
22
23
namespace
GlobalReinitAction
24
{
25
MITK_QT_APP
void
Run
(
berry::IWorkbenchPartSite::Pointer
workbenchPartSite,
mitk::DataStorage::Pointer
dataStorage);
26
}
27
28
class
MITK_QT_APP
QmitkDataNodeGlobalReinitAction
:
public
QAction,
public
QmitkAbstractDataNodeAction
29
{
30
Q_OBJECT
31
32
public
:
33
34
static
const
QString
ACTION_ID
;
// = "org.mitk.gui.qt.application.globalreinitaction";
35
36
QmitkDataNodeGlobalReinitAction
(QWidget* parent,
berry::IWorkbenchPartSite::Pointer
workbenchPartSite);
37
QmitkDataNodeGlobalReinitAction
(QWidget* parent,
berry::IWorkbenchPartSite
* workbenchPartSite);
38
39
private
Q_SLOTS:
40
41
void
OnActionTriggered(
bool
);
42
43
private
:
44
45
void
InitializeAction
()
override
;
46
47
};
48
49
#endif
QmitkAbstractDataNodeAction.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
QmitkDataNodeGlobalReinitAction
Definition:
QmitkDataNodeGlobalReinitAction.h:28
itk::SmartPointer< Self >
QmitkAbstractDataNodeAction
Definition:
QmitkAbstractDataNodeAction.h:34
GlobalReinitAction
Definition:
QmitkDataNodeGlobalReinitAction.h:23
QmitkDataNodeGlobalReinitAction::ACTION_ID
static const QString ACTION_ID
Definition:
QmitkDataNodeGlobalReinitAction.h:34
berry::IWorkbenchPartSite
Definition:
berryIWorkbenchPartSite.h:31
berry::Object::Pointer
berry::SmartPointer< Self > Pointer
Definition:
berryObject.h:82
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
GlobalReinitAction::Run
MITK_QT_APP void Run(berry::IWorkbenchPartSite::Pointer workbenchPartSite, mitk::DataStorage::Pointer dataStorage)
src
MITK
Plugins
org.mitk.gui.qt.application
src
QmitkDataNodeGlobalReinitAction.h
Generated on Mon Jun 17 2024 12:43:31 for Medical Imaging Interaction Toolkit by
1.8.17