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
berryUIElement.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 "
berryUIElement.h
"
18
19
#include "../services/berryIServiceLocator.h"
20
21
namespace
berry
22
{
23
24
UIElement::UIElement
(
IServiceLocator
* serviceLocator)
25
: serviceLocator(serviceLocator)
26
{
27
if
(!serviceLocator)
28
throw
std::invalid_argument(
"serviceLocator must not be NULL"
);
29
}
30
31
IServiceLocator
*
UIElement::GetServiceLocator
()
const
32
{
33
return
serviceLocator;
34
}
35
36
void
UIElement::SetDropDownId
(
const
QString &
/*id*/
)
37
{
38
// This does nothing.
39
}
40
41
}
berry
Definition:
QmitkPropertyItemModel.h:27
berryUIElement.h
berry::UIElement::UIElement
UIElement(IServiceLocator *serviceLocator)
Definition:
berryUIElement.cpp:24
berry::IServiceLocator
Definition:
berryIServiceLocator.h:47
berry::UIElement::GetServiceLocator
IServiceLocator * GetServiceLocator() const
Definition:
berryUIElement.cpp:31
berry::UIElement::SetDropDownId
virtual void SetDropDownId(const QString &id)
Definition:
berryUIElement.cpp:36
git
MITK
Plugins
org.blueberry.ui.qt
src
commands
berryUIElement.cpp
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1