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
berryGuiTkISelectionListener.h
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
#ifndef BERRYGUITKISELECTIONLISTENER_H_
18
#define BERRYGUITKISELECTIONLISTENER_H_
19
20
#include <
berryMacros.h
>
21
#include <
berryMessage.h
>
22
23
#include "
berryGuiTkSelectionEvent.h
"
24
25
namespace
berry
26
{
27
28
namespace
GuiTk
29
{
30
47
struct
BERRY_UI_QT
ISelectionListener
:
public
virtual
Object
48
{
49
50
berryObjectMacro
(
berry::GuiTk::ISelectionListener
)
51
52
struct
BERRY_UI_QT
Events {
53
54
typedef
Message1<SelectionEvent::Pointer>
EventType;
55
56
EventType selected;
57
EventType defaultSelected;
58
59
void
AddListener(
ISelectionListener::Pointer
listener);
60
void
RemoveListener(
ISelectionListener::Pointer
listener);
61
62
private
:
63
typedef
MessageDelegate1<ISelectionListener, SelectionEvent::Pointer>
Delegate;
64
};
65
66
virtual
~
ISelectionListener
();
67
80
virtual
void
WidgetSelected
(
SelectionEvent::Pointer
/*e*/
) {}
81
95
virtual
void
WidgetDefaultSelected
(
SelectionEvent::Pointer
/*e*/
) {}
96
};
97
98
}
99
100
}
101
102
#endif
/* BERRYGUITKISELECTIONLISTENER_H_ */
berry
Definition:
QmitkPropertyItemModel.h:27
berry::GuiTk::ISelectionListener
Definition:
berryGuiTkISelectionListener.h:47
berry::GuiTk::ISelectionListener::WidgetDefaultSelected
virtual void WidgetDefaultSelected(SelectionEvent::Pointer)
Definition:
berryGuiTkISelectionListener.h:95
berryMacros.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:78
berryMessage.h
berry::SmartPointer< Self >
berry::Message1
Definition:
berryMessage.h:791
berry::GuiTk::ISelectionListener::WidgetSelected
virtual void WidgetSelected(SelectionEvent::Pointer)
Definition:
berryGuiTkISelectionListener.h:80
berry::GuiTk::ISelectionListener::berryObjectMacro
berryObjectMacro(berry::GuiTk::ISelectionListener) struct BERRY_UI_QT Events
Definition:
berryGuiTkISelectionListener.h:50
berryGuiTkSelectionEvent.h
berry::MessageDelegate1
Definition:
berryMessage.h:174
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:23
git
MITK
Plugins
org.blueberry.ui.qt
src
guitk
berryGuiTkISelectionListener.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1