Medical Imaging Interaction Toolkit
2024.06.00
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
21
#include "
berryCommandContributionItem.h
"
22
23
namespace
berry
{
24
25
struct
IServiceLocator;
26
32
class
BERRY_UI_QT
CommandContributionItemParameter
:
public
virtual
Object
33
{
34
35
public
:
36
37
berryObjectMacro
(
CommandContributionItemParameter
);
38
45
IServiceLocator
*
serviceLocator
;
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
97
CommandContributionItem::Style
style
;
98
103
QString
helpContextId
;
104
108
QString
iconStyle
;
109
113
bool
visibleEnabled
;
114
119
CommandContributionItem::Modes
mode
;
120
138
CommandContributionItemParameter
(
IServiceLocator
* serviceLocator,
139
const
QString&
id
,
const
QString& commandId,
140
CommandContributionItem::Style
style);
141
182
CommandContributionItemParameter
(
IServiceLocator
* serviceLocator,
183
const
QString&
id
,
const
QString& commandId,
184
const
QHash<QString, Object::Pointer> ¶meters,
185
const
QIcon& icon,
const
QString label,
186
const
QChar &mnemonic,
const
QString& tooltip,
187
CommandContributionItem::Style
style,
const
QString& helpContextId,
188
bool
visibleEnabled);
189
};
190
191
}
192
193
#endif // BERRYCOMMANDCONTRIBUTIONITEM_H
berry::CommandContributionItemParameter::shortcut
QKeySequence shortcut
Definition:
berryCommandContributionItemParameter.h:85
berry::CommandContributionItemParameter::iconStyle
QString iconStyle
Definition:
berryCommandContributionItemParameter.h:108
berry::IServiceLocator
Definition:
berryIServiceLocator.h:43
berry::CommandContributionItemParameter
Definition:
berryCommandContributionItemParameter.h:32
berry::CommandContributionItemParameter::mode
CommandContributionItem::Modes mode
Definition:
berryCommandContributionItemParameter.h:119
berry::CommandContributionItemParameter::parameters
QHash< QString, Object::Pointer > parameters
Definition:
berryCommandContributionItemParameter.h:63
berry::CommandContributionItemParameter::style
CommandContributionItem::Style style
Definition:
berryCommandContributionItemParameter.h:97
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
berry::CommandContributionItemParameter::mnemonic
QChar mnemonic
Definition:
berryCommandContributionItemParameter.h:79
berry::CommandContributionItemParameter::visibleEnabled
bool visibleEnabled
Definition:
berryCommandContributionItemParameter.h:113
berryCommandContributionItem.h
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:31
berry::CommandContributionItemParameter::label
QString label
Definition:
berryCommandContributionItemParameter.h:73
berry::ContributionItem::Style
Style
Definition:
berryContributionItem.h:45
berry::CommandContributionItemParameter::id
QString id
Definition:
berryCommandContributionItemParameter.h:51
berry::CommandContributionItemParameter::icon
QIcon icon
Definition:
berryCommandContributionItemParameter.h:68
berry::CommandContributionItemParameter::serviceLocator
IServiceLocator * serviceLocator
Definition:
berryCommandContributionItemParameter.h:45
berry::CommandContributionItemParameter::commandId
QString commandId
Definition:
berryCommandContributionItemParameter.h:56
berry
Definition:
QmitkPropertyItemModel.h:24
berry::CommandContributionItemParameter::tooltip
QString tooltip
Definition:
berryCommandContributionItemParameter.h:91
berry::CommandContributionItemParameter::helpContextId
QString helpContextId
Definition:
berryCommandContributionItemParameter.h:103
src
MITK
Plugins
org.blueberry.ui.qt
src
actions
berryCommandContributionItemParameter.h
Generated on Mon Jun 17 2024 12:43:21 for Medical Imaging Interaction Toolkit by
1.8.17