Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 
53 {
54 
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_ */
static const QString IMAGE_STYLE_DEFAULT
#define berryObjectMacro(...)
Definition: berryMacros.h:33
static const QString IMAGE_STYLE_TOOLBAR
#define BERRY_UI_QT