Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
berryUIElement.cpp
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
#include "
berryUIElement.h
"
14
15
#include "../services/berryIServiceLocator.h"
16
17
namespace
berry
18
{
19
20
UIElement::UIElement
(
IServiceLocator
* serviceLocator)
21
: serviceLocator(serviceLocator)
22
{
23
if
(!serviceLocator)
24
throw
std::invalid_argument(
"serviceLocator must not be nullptr"
);
25
}
26
27
IServiceLocator
*
UIElement::GetServiceLocator
()
const
28
{
29
return
serviceLocator;
30
}
31
32
void
UIElement::SetDropDownId
(
const
QString &
/*id*/
)
33
{
34
// This does nothing.
35
}
36
37
}
berry
Definition:
QmitkPropertyItemModel.h:23
berryUIElement.h
berry::UIElement::UIElement
UIElement(IServiceLocator *serviceLocator)
Definition:
berryUIElement.cpp:20
berry::IServiceLocator
Definition:
berryIServiceLocator.h:43
berry::UIElement::GetServiceLocator
IServiceLocator * GetServiceLocator() const
Definition:
berryUIElement.cpp:27
berry::UIElement::SetDropDownId
virtual void SetDropDownId(const QString &id)
Definition:
berryUIElement.cpp:32
Source
Plugins
org.blueberry.ui.qt
src
commands
berryUIElement.cpp
Generated on Thu Mar 12 2020 10:23:33 for Medical Imaging Interaction Toolkit by
1.8.13