Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
berryUIElement.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
14
#ifndef BERRYUIELEMENT_H_
15
#define BERRYUIELEMENT_H_
16
17
#include <
berryMacros.h
>
18
#include <
berryObject.h
>
19
20
#include <
org_blueberry_ui_qt_Export.h
>
21
22
#include <QIcon>
23
24
namespace
berry
{
25
26
struct
IServiceLocator;
27
36
class
BERRY_UI_QT
UIElement
:
public
Object
37
{
38
39
private
:
40
41
IServiceLocator
* serviceLocator;
42
43
protected
:
44
52
UIElement
(
IServiceLocator
* serviceLocator);
53
54
public
:
55
56
berryObjectMacro
(
berry::UIElement
);
57
64
virtual
void
SetText(
const
QString& text) = 0;
65
73
virtual
void
SetToolTip(
const
QString& text) = 0;
74
81
virtual
void
SetIcon(
const
QIcon& icon) = 0;
82
90
virtual
void
SetChecked(
bool
checked) = 0;
91
108
IServiceLocator
* GetServiceLocator()
const
;
109
122
virtual
void
SetDropDownId(
const
QString&
id
);
123
124
};
125
126
}
127
128
#endif
/* BERRYUIELEMENT_H_ */
org_blueberry_ui_qt_Export.h
berry::IServiceLocator
Definition:
berryIServiceLocator.h:43
berryMacros.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
berry::UIElement
Definition:
berryUIElement.h:36
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:33
berryObject.h
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.ui.qt
src
commands
berryUIElement.h
Generated on Thu Nov 30 2023 15:58:48 for Medical Imaging Interaction Toolkit by
1.8.17