Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
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 /*QmitkRedoAction_H_*/
MITK_QT_APP void Run(berry::IWorkbenchPartSite::Pointer workbenchPartSite, mitk::DataStorage::Pointer dataStorage)