Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
QmitkRedoAction.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 QmitkRedoAction_h
14 #define QmitkRedoAction_h
15 
16 #include <QAction>
17 #include <QIcon>
18 
19 #include <berryIWorkbenchWindow.h>
20 
22 
24 
25 class QmitkRedoActionPrivate;
26 
30 class MITK_QT_APP QmitkRedoAction : public QAction
31 {
32  Q_OBJECT
33 
34 public:
36  QmitkRedoAction(const QIcon & icon, berry::IWorkbenchWindow::Pointer window);
37  QmitkRedoAction(const QIcon & icon, berry::IWorkbenchWindow* window);
38 
39  ~QmitkRedoAction() override;
40 
41  protected slots:
42 
43  virtual void Run();
44 
45 private:
46 
47  const QScopedPointer<QmitkRedoActionPrivate> d;
48 };
49 
50 #endif
berry::IWorkbenchWindow
Definition: berryIWorkbenchWindow.h:62
berry::SmartPointer< Self >
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
QmitkRedoAction
Definition: QmitkRedoAction.h:30
GlobalReinitAction::Run
MITK_QT_APP void Run(berry::IWorkbenchPartSite::Pointer workbenchPartSite, mitk::DataStorage::Pointer dataStorage)