Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
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 
53 struct BERRY_UI_QT IIntroPart : public virtual Object
54 { // IAdaptable {
55 
57 
58  ~IIntroPart() override;
59 
67  //static const int PROP_TITLE = IWorkbenchPart::PROP_TITLE;
68 
74  virtual IIntroSite::Pointer GetIntroSite() const = 0;
75 
93  virtual void Init(IIntroSite::Pointer site, IMemento::Pointer memento) = 0;
94 
110  virtual void StandbyStateChanged(bool standby) = 0;
111 
121  virtual void SaveState(IMemento::Pointer memento) = 0;
122 
135  virtual void AddPropertyListener(IPropertyChangeListener* listener) = 0;
136 
157  virtual void CreatePartControl(void* parent) = 0;
158 
171  virtual QIcon GetTitleImage() const = 0;
172 
184  virtual QString GetPartName() const = 0;
185 
192  virtual void RemovePropertyListener(IPropertyChangeListener* listener) = 0;
193 
202  virtual void SetFocus() = 0;
203 };
204 
205 }
206 
207 Q_DECLARE_INTERFACE(berry::IIntroPart, "org.blueberry.ui.IIntroPart")
208 
209 #endif /* BERRYIINTROPART_H_ */
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
#define berryObjectMacro(...)
Definition: berryMacros.h:33
#define BERRY_UI_QT