Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryCommandContributionItemParameter.cpp
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 
19 
20 namespace berry {
21 
23  const QString& id, const QString& commandId,
25  : serviceLocator(serviceLocator), id(id), commandId(commandId), style(style), visibleEnabled(false)
26 {
27 }
28 
30  const QString& id, const QString& commandId,
31  const QHash<QString,Object::Pointer>& parameters,
32  const QIcon& icon, const QString label,
33  const QChar& mnemonic, const QString& tooltip,
34  CommandContributionItem::Style style, const QString& helpContextId,
35  bool visibleEnabled)
36  : serviceLocator(serviceLocator)
37  , id(id)
38  , commandId(commandId)
39  , parameters(parameters)
40  , icon(icon)
41  , label(label)
42  , mnemonic(mnemonic)
43  , tooltip(tooltip)
44  , style(style)
45  , helpContextId(helpContextId)
46  , visibleEnabled(visibleEnabled)
47 {
48 }
49 
50 }
CommandContributionItemParameter(IServiceLocator *serviceLocator, const QString &id, const QString &commandId, CommandContributionItem::Style style)