Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
berrySubContributionItem.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 BERRYSUBCONTRIBUTIONITEM_H_
15
#define BERRYSUBCONTRIBUTIONITEM_H_
16
17
#include "
berryIContributionItem.h
"
18
19
#include <
org_blueberry_ui_qt_Export.h
>
20
21
namespace
berry
{
22
32
class
BERRY_UI_QT
SubContributionItem
:
public
IContributionItem
33
{
34
35
public
:
36
37
berryObjectMacro
(
SubContributionItem
);
38
39
private
:
40
44
bool
visible;
45
49
IContributionItem::Pointer
innerItem;
50
51
public
:
52
57
SubContributionItem
(
IContributionItem::Pointer
item);
58
59
using
IContributionItem::Fill
;
60
61
/*
62
* Method declared on IContributionItem.
63
*/
64
void
Fill(QStatusBar* parent)
override
;
65
66
/*
67
* Method declared on IContributionItem.
68
*/
69
void
Fill(QMenu* parent, QAction* before)
override
;
70
71
/*
72
* Method declared on IContributionItem.
73
*/
74
void
Fill(QToolBar* parent, QAction* before)
override
;
75
76
/*
77
* Method declared on IContributionItem.
78
*/
79
QString GetId()
const override
;
80
86
IContributionItem::Pointer
GetInnerItem()
const
;
87
88
/*
89
* Method declared on IContributionItem.
90
*/
91
bool
IsEnabled()
const override
;
92
93
/*
94
* Method declared on IContributionItem.
95
*/
96
bool
IsDirty()
const override
;
97
98
/*
99
* Method declared on IContributionItem.
100
*/
101
bool
IsDynamic()
const override
;
102
103
/*
104
* Method declared on IContributionItem.
105
*/
106
bool
IsGroupMarker()
const override
;
107
108
/*
109
* Method declared on IContributionItem.
110
*/
111
bool
IsSeparator()
const override
;
112
113
/*
114
* Method declared on IContributionItem.
115
*/
116
bool
IsVisible()
const override
;
117
118
/*
119
* Method declared on IContributionItem.
120
*/
121
void
SetParent(
IContributionManager
* parent)
override
;
122
123
/*
124
* Method declared on IContributionItem.
125
*/
126
void
SetVisible(
bool
visible)
override
;
127
128
/*
129
* Method declared on IContributionItem.
130
*/
131
void
Update
()
override
;
132
133
/*
134
* Method declared on IContributionItem.
135
*/
136
void
Update
(
const
QString&
id
)
override
;
137
138
/*
139
* @see IContributionItem#SaveWidgetState()
140
*/
141
void
SaveWidgetState()
override
;
142
143
};
144
145
}
146
147
#endif
/* BERRYSUBCONTRIBUTIONITEM_H_ */
berry
Definition:
QmitkPropertyItemModel.h:23
berry::IContributionItem::Fill
virtual void Fill(QStatusBar *parent)=0
berry::IContributionManager
Definition:
berryIContributionManager.h:51
Update
static void Update(vtkPolyData *)
Definition:
mitkSurface.cpp:31
berry::SmartPointer< Self >
org_blueberry_ui_qt_Export.h
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:33
berry::SubContributionItem
Definition:
berrySubContributionItem.h:32
berry::IContributionItem
Definition:
berryIContributionItem.h:51
berryIContributionItem.h
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:25
Source
Plugins
org.blueberry.ui.qt
src
actions
berrySubContributionItem.h
Generated on Thu Mar 12 2020 10:23:33 for Medical Imaging Interaction Toolkit by
1.8.13