Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
QmitkFileSaveAction.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 QmitkFileSaveAction_h
14 #define QmitkFileSaveAction_h
15 
17 
18 #include <berryIWorkbenchWindow.h>
19 
20 // qt
21 #include <QAction>
22 #include <QIcon>
23 
24 class QmitkFileSaveActionPrivate;
25 
26 class MITK_QT_APP QmitkFileSaveAction : public QAction
27 {
28  Q_OBJECT
29 
30 public:
31 
33  QmitkFileSaveAction(const QIcon& icon, berry::IWorkbenchWindow::Pointer window);
34  QmitkFileSaveAction(const QIcon& icon, berry::IWorkbenchWindow* window);
35 
36  ~QmitkFileSaveAction() override;
37 
38 protected slots:
39 
40  virtual void Run();
41 
42 private:
43 
44  const QScopedPointer<QmitkFileSaveActionPrivate> d;
45 
46 };
47 
48 
49 #endif
berry::IWorkbenchWindow
Definition: berryIWorkbenchWindow.h:64
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berryIWorkbenchWindow.h
QmitkFileSaveAction
Definition: QmitkFileSaveAction.h:26
MITK_QT_APP
#define MITK_QT_APP
Definition: org_mitk_gui_qt_application_Export.h:26
org_mitk_gui_qt_application_Export.h
GlobalReinitAction::Run
MITK_QT_APP void Run(berry::IWorkbenchPartSite::Pointer workbenchPartSite, mitk::DataStorage::Pointer dataStorage)