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
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
QmitkDataNodeSelectionProvider.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,
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
18
#ifndef QMITKDATATREENODESELECTIONPROVIDER_H_
19
#define QMITKDATATREENODESELECTIONPROVIDER_H_
20
21
#include <
org_mitk_gui_qt_common_Export.h
>
22
23
#include <
berryQtSelectionProvider.h
>
24
#include <
mitkDataNodeSelection.h
>
25
37
class
MITK_QT_COMMON
QmitkDataNodeSelectionProvider
:
public
berry::QtSelectionProvider
38
{
39
public
:
40
41
berryObjectMacro
(
QmitkDataNodeSelectionProvider
);
42
43
QmitkDataNodeSelectionProvider
();
44
48
berry::ISelection::ConstPointer
GetSelection
()
const override
;
49
50
using
QtSelectionProvider::SetSelection
;
51
52
void
SetSelection
(
berry::ISelection::ConstPointer
selection, QItemSelectionModel::SelectionFlags flags);
53
54
protected
:
55
56
mitk::DataNodeSelection::ConstPointer
GetDataNodeSelection()
const
;
57
58
virtual
void
FireSelectionChanged
(
const
QItemSelection& selected,
const
QItemSelection& deselected)
override
;
59
};
60
61
#endif
/* QMITKDATATREENODESELECTIONPROVIDER_H_ */
QmitkDataNodeSelectionProvider
A BlueBerry selection provider for mitk::DataNode selections.
Definition:
QmitkDataNodeSelectionProvider.h:37
berry::QtSelectionProvider::GetSelection
ISelection::ConstPointer GetSelection() const override
Definition:
berryQtSelectionProvider.cpp:41
berry::SmartPointer< const Self >
berry::QtSelectionProvider::SetSelection
void SetSelection(const ISelection::ConstPointer &selection) override
Definition:
berryQtSelectionProvider.cpp:52
berry::QtSelectionProvider::berryObjectMacro
berryObjectMacro(QtSelectionProvider)
mitkDataNodeSelection.h
org_mitk_gui_qt_common_Export.h
berry::QtSelectionProvider::FireSelectionChanged
virtual void FireSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
Definition:
berryQtSelectionProvider.cpp:102
berry::QtSelectionProvider
Definition:
berryQtSelectionProvider.h:31
MITK_QT_COMMON
#define MITK_QT_COMMON
Definition:
org_mitk_gui_qt_common_Export.h:23
berryQtSelectionProvider.h
git
MITK
Plugins
org.mitk.gui.qt.common
src
QmitkDataNodeSelectionProvider.h
Generated on Fri Feb 3 2017 20:52:12 for Medical Imaging Interaction Toolkit by
1.8.9.1