Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
berryEmptyPerspective.cpp
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
#include "
berryEmptyPerspective.h
"
18
19
namespace
berry
20
{
21
22
QString EmptyPerspective::LastPerspective;
23
const
QString
EmptyPerspective::PERSP_ID
=
24
"org.blueberry.uitest.util.EmptyPerspective"
;
25
const
QString
EmptyPerspective::PERSP_ID2
=
26
"org.blueberry.uitest.util.EmptyPerspective2"
;
27
28
EmptyPerspective::EmptyPerspective
()
29
{
30
31
}
32
33
EmptyPerspective::EmptyPerspective
(
const
EmptyPerspective
& other)
34
: QObject()
35
{
36
Q_UNUSED(other)
37
}
38
39
QString
EmptyPerspective::GetLastPerspective
()
40
{
41
return
LastPerspective;
42
}
43
44
void
EmptyPerspective::SetLastPerspective
(
const
QString& perspId)
45
{
46
LastPerspective = perspId;
47
}
48
49
void
EmptyPerspective::CreateInitialLayout
(
IPageLayout::Pointer
layout)
50
{
51
SetLastPerspective
(layout->GetDescriptor()->GetId());
52
// do no layout, this is the empty perspective
53
}
54
55
}
berry
Definition:
QmitkPropertyItemModel.h:27
berryEmptyPerspective.h
berry::EmptyPerspective::GetLastPerspective
static QString GetLastPerspective()
Definition:
berryEmptyPerspective.cpp:39
berry::EmptyPerspective::EmptyPerspective
EmptyPerspective()
Definition:
berryEmptyPerspective.cpp:28
berry::SmartPointer< Self >
berry::EmptyPerspective::PERSP_ID2
static const QString PERSP_ID2
Definition:
berryEmptyPerspective.h:52
berry::EmptyPerspective::PERSP_ID
static const QString PERSP_ID
Definition:
berryEmptyPerspective.h:47
berry::EmptyPerspective::SetLastPerspective
static void SetLastPerspective(const QString &perspId)
Definition:
berryEmptyPerspective.cpp:44
berry::EmptyPerspective::CreateInitialLayout
void CreateInitialLayout(IPageLayout::Pointer layout)
Definition:
berryEmptyPerspective.cpp:49
berry::EmptyPerspective
Definition:
berryEmptyPerspective.h:31
git
MITK
Plugins
org.blueberry.uitest
src
util
berryEmptyPerspective.cpp
Generated on Fri Feb 3 2017 20:51:43 for Medical Imaging Interaction Toolkit by
1.8.9.1