Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
berryEmptyPerspective.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 BERRYEMPTYPERSPECTIVE_H_
14 #define BERRYEMPTYPERSPECTIVE_H_
15 
17 
18 #include <org_blueberry_uitest_Export.h>
19 
20 namespace berry
21 {
22 
27 class BERRY_UITEST_EXPORT EmptyPerspective: public QObject, public IPerspectiveFactory
28 {
29  Q_OBJECT
30  Q_INTERFACES(berry::IPerspectiveFactory)
31 
32 private:
33 
34  static QString LastPerspective;
35 
36 public:
37 
38  EmptyPerspective(const EmptyPerspective& other);
39 
43  static const QString PERSP_ID; // = "org.blueberry.uitest.util.EmptyPerspective";
44 
48  static const QString PERSP_ID2; // = "org.blueberry.uitest.util.EmptyPerspective2";
49 
50 
56  static QString GetLastPerspective();
57 
63  static void SetLastPerspective(const QString& perspId);
64 
69 
84  void CreateInitialLayout(IPageLayout::Pointer layout);
85 };
86 
87 }
88 
89 #endif /* BERRYEMPTYPERSPECTIVE_H_ */
static const QString PERSP_ID2
static const QString PERSP_ID