Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
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 (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 QmitkDataNodeSelectionProvider_h
15 #define QmitkDataNodeSelectionProvider_h
16 
18 
20 #include <mitkDataNodeSelection.h>
21 
34 {
35 public:
36 
38 
40 
45 
47 
48  void SetSelection(const berry::ISelection::ConstPointer& selection, QItemSelectionModel::SelectionFlags flags) override;
49 
50 protected:
51 
52  mitk::DataNodeSelection::ConstPointer GetDataNodeSelection() const;
53 
54  void FireSelectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override;
55 };
56 
57 #endif
MITK_QT_COMMON
#define MITK_QT_COMMON
Definition: org_mitk_gui_qt_common_Export.h:26
mitkDataNodeSelection.h
berry::QtSelectionProvider::berryObjectMacro
berryObjectMacro(QtSelectionProvider)
berry::QtSelectionProvider::SetSelection
void SetSelection(const ISelection::ConstPointer &selection) override
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berryQtSelectionProvider.h
berry::QtSelectionProvider::FireSelectionChanged
virtual void FireSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected)
berry::QtSelectionProvider
Definition: berryQtSelectionProvider.h:27
berry::QtSelectionProvider::GetSelection
ISelection::ConstPointer GetSelection() const override
org_mitk_gui_qt_common_Export.h
QmitkDataNodeSelectionProvider
A BlueBerry selection provider for mitk::DataNode selections.
Definition: QmitkDataNodeSelectionProvider.h:33