Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
berryIIntroPart.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 
14 #ifndef BERRYIINTROPART_H_
15 #define BERRYIINTROPART_H_
16 
17 #include <berryObject.h>
18 #include <berryMacros.h>
19 
20 #include <berryIMemento.h>
22 #include <berryUIException.h>
23 
24 #include "berryIIntroSite.h"
25 
26 #include <QObject>
27 
28 namespace berry {
29 
52 struct BERRY_UI_QT IIntroPart : public virtual Object
53 { // IAdaptable {
54 
56 
57  ~IIntroPart() override;
58 
64  virtual IIntroSite::Pointer GetIntroSite() const = 0;
65 
83  virtual void Init(IIntroSite::Pointer site, IMemento::Pointer memento) = 0;
84 
100  virtual void StandbyStateChanged(bool standby) = 0;
101 
111  virtual void SaveState(IMemento::Pointer memento) = 0;
112 
119  virtual void AddPropertyListener(IPropertyChangeListener* listener) = 0;
120 
141  virtual void CreatePartControl(void* parent) = 0;
142 
153  virtual QIcon GetTitleImage() const = 0;
154 
164  virtual QString GetPartName() const = 0;
165 
172  virtual void RemovePropertyListener(IPropertyChangeListener* listener) = 0;
173 
182  virtual void SetFocus() = 0;
183 };
184 
185 }
186 
187 Q_DECLARE_INTERFACE(berry::IIntroPart, "org.blueberry.ui.IIntroPart")
188 
189 #endif /* BERRYIINTROPART_H_ */
berry::IPropertyChangeListener
Definition: berryIPropertyChangeListener.h:42
berryIMemento.h
berryMacros.h
berryUIException.h
berryIPropertyChangeListener.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berryIIntroSite.h
berry::IIntroPart
Definition: berryIIntroPart.h:52
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:31
berryObject.h
berry
Definition: QmitkPropertyItemModel.h:24