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.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
18
#ifndef BERRYUIELEMENT_H_
19
#define BERRYUIELEMENT_H_
20
21
#include <
berryMacros.h
>
22
#include <
berryObject.h
>
23
24
#include <
org_blueberry_ui_qt_Export.h
>
25
26
#include <QIcon>
27
28
namespace
berry
{
29
30
struct
IServiceLocator;
31
40
class
BERRY_UI_QT
UIElement
:
public
Object
41
{
42
43
private
:
44
45
IServiceLocator
* serviceLocator;
46
47
protected
:
48
56
UIElement
(
IServiceLocator
* serviceLocator);
57
58
public
:
59
60
berryObjectMacro
(
berry::UIElement
)
61
62
68
virtual
void
SetText(
const
QString& text) = 0;
69
77
virtual
void
SetToolTip(
const
QString& text) = 0;
78
85
virtual
void
SetIcon(
const
QIcon& icon) = 0;
86
94
virtual
void
SetChecked(
bool
checked) = 0;
95
112
IServiceLocator
* GetServiceLocator()
const
;
113
126
virtual
void
SetDropDownId(
const
QString&
id
);
127
128
};
129
130
}
131
132
#endif
/* BERRYUIELEMENT_H_ */
berry
Definition:
QmitkPropertyItemModel.h:27
berryMacros.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:78
org_blueberry_ui_qt_Export.h
berry::UIElement
Definition:
berryUIElement.h:40
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
berryObject.h
berry::IServiceLocator
Definition:
berryIServiceLocator.h:47
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:23
git
MITK
Plugins
org.blueberry.ui.qt
src
commands
berryUIElement.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1