Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
berrySelectionChangedEvent.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
#ifndef BERRYSELECTIONCHANGEDEVENT_H_
13
#define BERRYSELECTIONCHANGEDEVENT_H_
14
15
#include "
berryISelection.h
"
16
17
namespace
berry
18
{
19
20
struct
ISelectionProvider;
21
32
class
BERRY_UI_QT
SelectionChangedEvent
:
public
Object
33
{
34
35
public
:
36
37
berryObjectMacro
(
SelectionChangedEvent
);
38
45
SelectionChangedEvent
(
SmartPointer<ISelectionProvider>
source,
46
ISelection::ConstPointer
selection);
47
48
SmartPointer<ISelectionProvider>
GetSource()
const
;
49
55
ISelection::ConstPointer
GetSelection()
const
;
56
62
SmartPointer<ISelectionProvider>
GetSelectionProvider()
const
;
63
64
protected
:
65
69
ISelection::ConstPointer
selection
;
70
71
private
:
72
73
SmartPointer<ISelectionProvider>
source;
74
};
75
76
}
77
78
#endif
/*BERRYSELECTIONCHANGEDEVENT_H_*/
berry::SmartPointer
Implements transparent reference counting.
Definition:
berryICommandCategoryListener.h:21
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
berry::SelectionChangedEvent
Definition:
berrySelectionChangedEvent.h:32
berry::SelectionChangedEvent::selection
ISelection::ConstPointer selection
Definition:
berrySelectionChangedEvent.h:69
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:31
berry
Definition:
QmitkPropertyItemModel.h:24
berryISelection.h
src
MITK
Plugins
org.blueberry.ui.qt
src
berrySelectionChangedEvent.h
Generated on Tue Dec 24 2024 02:12:22 for Medical Imaging Interaction Toolkit by
1.8.17