Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
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
18
#include "
berryCommandContributionItemParameter.h
"
19
20
namespace
berry
{
21
22
CommandContributionItemParameter::CommandContributionItemParameter
(
IServiceLocator
* serviceLocator,
23
const
QString&
id
,
const
QString& commandId,
24
CommandContributionItem::Style
style)
25
: serviceLocator(serviceLocator), id(id), commandId(commandId), style(style), visibleEnabled(false)
26
{
27
}
28
29
CommandContributionItemParameter::CommandContributionItemParameter
(
IServiceLocator
* serviceLocator,
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
}
berry
Definition:
QmitkPropertyItemModel.h:27
berry::ContributionItem::Style
Style
Definition:
berryContributionItem.h:49
berry::CommandContributionItemParameter::CommandContributionItemParameter
CommandContributionItemParameter(IServiceLocator *serviceLocator, const QString &id, const QString &commandId, CommandContributionItem::Style style)
Definition:
berryCommandContributionItemParameter.cpp:22
berry::IServiceLocator
Definition:
berryIServiceLocator.h:47
berryCommandContributionItemParameter.h
git
MITK
Plugins
org.blueberry.ui.qt
src
actions
berryCommandContributionItemParameter.cpp
Generated on Fri Feb 3 2017 20:51:43 for Medical Imaging Interaction Toolkit by
1.8.9.1