Medical Imaging Interaction Toolkit
2025.12.02
Medical Imaging Interaction Toolkit
berryICommandImageService.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 BERRYICOMMANDIMAGESERVICE_H_
15
#define BERRYICOMMANDIMAGESERVICE_H_
16
17
#include "../services/berryIDisposable.h"
18
19
#include <QIcon>
20
21
namespace
berry
{
22
52
struct
BERRY_UI_QT
ICommandImageService
:
public
IDisposable
53
{
54
55
berryObjectMacro
(
berry::ICommandImageService
);
56
61
static
const
QString
IMAGE_STYLE_DEFAULT
;
62
68
static
const
QString
IMAGE_STYLE_TOOLBAR
;
// = "toolbar";
69
79
virtual
QIcon
GetImage
(
const
QString& commandId) = 0;
80
92
virtual
QIcon
GetImage
(
const
QString& commandId,
const
QString& style) = 0;
93
};
94
95
}
96
97
Q_DECLARE_INTERFACE(
berry::ICommandImageService
,
"org.blueberry.ui.ICommandImageService"
)
98
99
#endif
/* BERRYICOMMANDIMAGESERVICE_H_ */
berry
Definition:
QmitkPropertyItemModel.h:25
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
berry::ICommandImageService
Definition:
berryICommandImageService.h:53
berry::ICommandImageService::GetImage
virtual QIcon GetImage(const QString &commandId, const QString &style)=0
berry::ICommandImageService::berryObjectMacro
berryObjectMacro(berry::ICommandImageService)
berry::ICommandImageService::GetImage
virtual QIcon GetImage(const QString &commandId)=0
berry::ICommandImageService::IMAGE_STYLE_TOOLBAR
static const QString IMAGE_STYLE_TOOLBAR
Definition:
berryICommandImageService.h:68
berry::ICommandImageService::IMAGE_STYLE_DEFAULT
static const QString IMAGE_STYLE_DEFAULT
Definition:
berryICommandImageService.h:61
berry::IDisposable
Definition:
berryIDisposable.h:46
src
MITK
Plugins
org.blueberry.ui.qt
src
commands
berryICommandImageService.h
Generated on Mon Feb 23 2026 23:28:07 for Medical Imaging Interaction Toolkit by
1.9.1