Medical Imaging Interaction Toolkit
2024.06.00
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::IDisposable
Definition:
berryIDisposable.h:45
berry::ICommandImageService::IMAGE_STYLE_TOOLBAR
static const QString IMAGE_STYLE_TOOLBAR
Definition:
berryICommandImageService.h:68
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
berry::ICommandImageService::IMAGE_STYLE_DEFAULT
static const QString IMAGE_STYLE_DEFAULT
Definition:
berryICommandImageService.h:61
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:31
berry::ICommandImageService
Definition:
berryICommandImageService.h:52
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.ui.qt
src
commands
berryICommandImageService.h
Generated on Mon Jun 17 2024 12:43:21 for Medical Imaging Interaction Toolkit by
1.8.17