Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
berryICommandImageService.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 BERRYICOMMANDIMAGESERVICE_H_
19 #define BERRYICOMMANDIMAGESERVICE_H_
20 
21 #include "../services/berryIDisposable.h"
22 
23 #include <QIcon>
24 
25 namespace berry {
26 
57 {
58 
60 
61 
65  static const QString IMAGE_STYLE_DEFAULT;
66 
72  static const QString IMAGE_STYLE_TOOLBAR; // = "toolbar";
73 
83  virtual QIcon GetImage(const QString& commandId) = 0;
84 
96  virtual QIcon GetImage(const QString& commandId, const QString& style) = 0;
97 };
98 
99 }
100 
101 Q_DECLARE_INTERFACE(berry::ICommandImageService, "org.blueberry.ui.ICommandImageService")
102 
103 #endif /* BERRYICOMMANDIMAGESERVICE_H_ */
#define berryObjectMacro(...)
Definition: berryMacros.h:37
static const QString IMAGE_STYLE_TOOLBAR
#define BERRY_UI_QT