Medical Imaging Interaction Toolkit  2025.12.02
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 
53 
54  void FireSelectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override;
55 };
56 
57 #endif
A BlueBerry selection provider for mitk::DataNode selections.
void FireSelectionChanged(const QItemSelection &selected, const QItemSelection &deselected) override
berry::ISelection::ConstPointer GetSelection() const override
berryObjectMacro(QmitkDataNodeSelectionProvider)
void SetSelection(const berry::ISelection::ConstPointer &selection, QItemSelectionModel::SelectionFlags flags) override
mitk::DataNodeSelection::ConstPointer GetDataNodeSelection() const
void SetSelection(const ISelection::ConstPointer &selection) override
Implements transparent reference counting.
#define MITK_QT_COMMON