Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkUndoAction.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 QmitkUndoAction_h
14
#define QmitkUndoAction_h
15
16
#include <QAction>
17
#include <QIcon>
18
19
#include <
berryIWorkbenchWindow.h
>
20
21
#include <
org_mitk_gui_qt_application_Export.h
>
22
23
#include <
mitkIDataStorageReference.h
>
24
25
class
QmitkUndoActionPrivate;
26
30
class
MITK_QT_APP
QmitkUndoAction
:
public
QAction
31
{
32
Q_OBJECT
33
34
public
:
35
QmitkUndoAction
(
berry::IWorkbenchWindow::Pointer
window);
36
QmitkUndoAction
(
const
QIcon & icon,
berry::IWorkbenchWindow::Pointer
window);
37
QmitkUndoAction
(
const
QIcon & icon,
berry::IWorkbenchWindow
* window);
38
39
~
QmitkUndoAction
()
override
;
40
41
protected
slots:
42
43
virtual
void
Run
();
44
45
private
:
46
47
const
QScopedPointer<QmitkUndoActionPrivate> d;
48
};
49
50
#endif
berry::IWorkbenchWindow
Definition:
berryIWorkbenchWindow.h:64
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
berryIWorkbenchWindow.h
MITK_QT_APP
#define MITK_QT_APP
Definition:
org_mitk_gui_qt_application_Export.h:26
mitkIDataStorageReference.h
org_mitk_gui_qt_application_Export.h
GlobalReinitAction::Run
MITK_QT_APP void Run(berry::IWorkbenchPartSite::Pointer workbenchPartSite, mitk::DataStorage::Pointer dataStorage)
QmitkUndoAction
Definition:
QmitkUndoAction.h:30
src
MITK
Plugins
org.mitk.gui.qt.application
src
QmitkUndoAction.h
Generated on Tue Dec 24 2024 02:12:30 for Medical Imaging Interaction Toolkit by
1.8.17