Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryEmptyPerspective.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 #ifndef BERRYEMPTYPERSPECTIVE_H_
18 #define BERRYEMPTYPERSPECTIVE_H_
19 
21 
22 #include <org_blueberry_uitest_Export.h>
23 
24 namespace berry
25 {
26 
31 class BERRY_UITEST_EXPORT EmptyPerspective: public QObject, public IPerspectiveFactory
32 {
33  Q_OBJECT
34  Q_INTERFACES(berry::IPerspectiveFactory)
35 
36 private:
37 
38  static QString LastPerspective;
39 
40 public:
41 
42  EmptyPerspective(const EmptyPerspective& other);
43 
47  static const QString PERSP_ID; // = "org.blueberry.uitest.util.EmptyPerspective";
48 
52  static const QString PERSP_ID2; // = "org.blueberry.uitest.util.EmptyPerspective2";
53 
54 
60  static QString GetLastPerspective();
61 
67  static void SetLastPerspective(const QString& perspId);
68 
73 
88  void CreateInitialLayout(IPageLayout::Pointer layout);
89 };
90 
91 }
92 
93 #endif /* BERRYEMPTYPERSPECTIVE_H_ */
static const QString PERSP_ID2
static const QString PERSP_ID