Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIIntroPart.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 
18 #ifndef BERRYIINTROPART_H_
19 #define BERRYIINTROPART_H_
20 
21 #include <berryObject.h>
22 #include <berryMacros.h>
23 
24 #include <berryIMemento.h>
26 #include <berryUIException.h>
27 
28 #include "berryIIntroSite.h"
29 
30 #include <QObject>
31 
32 namespace berry {
33 
57 struct BERRY_UI_QT IIntroPart : public virtual Object
58 { // IAdaptable {
59 
61 
62  ~IIntroPart();
63 
71  //static const int PROP_TITLE = IWorkbenchPart::PROP_TITLE;
72 
78  virtual IIntroSite::Pointer GetIntroSite() const = 0;
79 
97  virtual void Init(IIntroSite::Pointer site, IMemento::Pointer memento) = 0;
98 
114  virtual void StandbyStateChanged(bool standby) = 0;
115 
125  virtual void SaveState(IMemento::Pointer memento) = 0;
126 
139  virtual void AddPropertyListener(IPropertyChangeListener* listener) = 0;
140 
161  virtual void CreatePartControl(void* parent) = 0;
162 
175  virtual QIcon GetTitleImage() const = 0;
176 
188  virtual QString GetPartName() const = 0;
189 
196  virtual void RemovePropertyListener(IPropertyChangeListener* listener) = 0;
197 
206  virtual void SetFocus() = 0;
207 };
208 
209 }
210 
211 Q_DECLARE_INTERFACE(berry::IIntroPart, "org.blueberry.ui.IIntroPart")
212 
213 #endif /* BERRYIINTROPART_H_ */
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
#define berryObjectMacro(...)
Definition: berryMacros.h:37
#define BERRY_UI_QT