Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryIViewPart.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 BERRYIVIEWPART_H_
14 #define BERRYIVIEWPART_H_
15 
17 #include "berryMacros.h"
18 
19 #include "berryIMemento.h"
20 #include "berryIWorkbenchPart.h"
21 #include "berryIViewSite.h"
22 
23 #include <QObject>
24 
25 namespace berry {
26 
70 struct BERRY_UI_QT IViewPart : public virtual IWorkbenchPart
71 {
72 
74 
75  ~IViewPart() override;
76 
89  virtual IViewSite::Pointer GetViewSite() = 0;
90 
91 
107  virtual void Init(IViewSite::Pointer site, IMemento::Pointer memento = IMemento::Pointer(nullptr)) = 0;
108 
114  virtual void SaveState(IMemento::Pointer memento) = 0;
115 };
116 
117 }
118 
119 Q_DECLARE_INTERFACE(berry::IViewPart, "org.blueberry.ui.IViewPart")
120 
121 #endif /*BERRYIVIEWPART_H_*/
org_blueberry_ui_qt_Export.h
berry::IViewPart
Definition: berryIViewPart.h:70
berryIMemento.h
berryMacros.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berry::IWorkbenchPart
Definition: berryIWorkbenchPart.h:106
berryIWorkbenchPart.h
berryIViewSite.h
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31
berry
Definition: QmitkPropertyItemModel.h:24