Medical Imaging Interaction Toolkit  2018.4.99-389bf124
Medical Imaging Interaction Toolkit
berryCommandContributionItemParameter.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 BERRYCOMMANDCONTRIBUTIONITEMPARAMETER_H
15 #define BERRYCOMMANDCONTRIBUTIONITEMPARAMETER_H
16 
17 #include <QHash>
18 #include <QIcon>
19 #include <QKeySequence>
20 
22 
23 namespace berry {
24 
25 struct IServiceLocator;
26 
33 {
34 
35 public:
36 
38 
46 
51  QString id;
52 
56  QString commandId;
57 
63  QHash<QString, Object::Pointer> parameters;
64 
68  QIcon icon;
69 
73  QString label;
74 
79  QChar mnemonic;
80 
85  QKeySequence shortcut;
86 
91  QString tooltip;
92 
98 
103  QString helpContextId;
104 
108  QString iconStyle;
109 
114 
119  CommandContributionItem::Modes mode;
120 
139  const QString& id, const QString& commandId,
141 
187  const QString& id, const QString& commandId,
188  const QHash<QString, Object::Pointer> &parameters,
189  const QIcon& icon, const QString label,
190  const QChar &mnemonic, const QString& tooltip,
191  CommandContributionItem::Style style, const QString& helpContextId,
192  bool visibleEnabled);
193 };
194 
195 }
196 
197 #endif // BERRYCOMMANDCONTRIBUTIONITEM_H
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
#define berryObjectMacro(...)
Definition: berryMacros.h:33
#define BERRY_UI_QT