Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
berryWorkbenchWindowAdvisor.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
#ifndef BERRYWORKBENCHWINDOWADVISOR_H_
14
#define BERRYWORKBENCHWINDOWADVISOR_H_
15
16
#include <
berrySmartPointer.h
>
17
18
#include <
org_blueberry_ui_qt_Export.h
>
19
20
class
QWidget;
21
22
namespace
berry
23
{
24
25
struct
IActionBarConfigurer;
26
struct
IMemento;
27
struct
IWorkbenchWindowConfigurer;
28
29
class
ActionBarAdvisor;
30
class
Shell;
31
67
class
BERRY_UI_QT
WorkbenchWindowAdvisor
68
{
69
70
private
:
71
72
SmartPointer<IWorkbenchWindowConfigurer>
windowConfigurer;
73
74
protected
:
75
81
SmartPointer<IWorkbenchWindowConfigurer>
GetWindowConfigurer();
82
83
public
:
84
91
WorkbenchWindowAdvisor
(
const
SmartPointer<IWorkbenchWindowConfigurer>
& configurer);
92
virtual
~
WorkbenchWindowAdvisor
();
93
107
virtual
void
PreWindowOpen();
108
117
virtual
SmartPointer<ActionBarAdvisor>
CreateActionBarAdvisor(
118
SmartPointer<IActionBarConfigurer>
configurer);
119
136
virtual
void
PostWindowRestore();
137
151
virtual
void
OpenIntro();
152
164
virtual
void
PostWindowCreate();
165
177
virtual
void
PostWindowOpen();
178
199
virtual
bool
PreWindowShellClose();
200
209
virtual
void
PostWindowClose();
210
230
virtual
void
CreateWindowContents(
SmartPointer<Shell>
shell);
231
243
virtual
QWidget* CreateEmptyWindowContents(QWidget* parent);
244
251
virtual
bool
SaveState(
SmartPointer<IMemento>
memento);
252
259
virtual
bool
RestoreState(
SmartPointer<IMemento>
memento);
260
};
261
262
}
263
264
#endif
/*BERRYWORKBENCHWINDOWADVISOR_H_*/
org_blueberry_ui_qt_Export.h
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
berry::WorkbenchWindowAdvisor
Definition:
berryWorkbenchWindowAdvisor.h:67
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
berrySmartPointer.h
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.ui.qt
src
application
berryWorkbenchWindowAdvisor.h
Generated on Sat Nov 23 2024 02:13:08 for Medical Imaging Interaction Toolkit by
1.8.17