Medical Imaging Interaction Toolkit
2023.12.00
Medical Imaging Interaction Toolkit
berryQtItemSelection.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 BERRYQTITEMSELECTION_H_
15
#define BERRYQTITEMSELECTION_H_
16
17
#include <
org_blueberry_ui_qt_Export.h
>
18
19
#include <
berryIStructuredSelection.h
>
20
21
#include <QItemSelection>
22
23
namespace
berry
{
24
25
class
BERRY_UI_QT
QtItemSelection
:
public
virtual
IStructuredSelection
26
{
27
28
public
:
29
30
berryObjectMacro
(
QtItemSelection
);
31
32
QtItemSelection
();
33
QtItemSelection
(
const
QItemSelection& sel);
34
35
QItemSelection GetQItemSelection()
const
;
36
37
bool
IsEmpty()
const override
;
38
39
Object::Pointer
GetFirstElement()
const override
;
40
iterator
Begin()
const override
;
41
iterator
End()
const override
;
42
int
Size()
const override
;
43
ContainerType::Pointer ToVector()
const override
;
44
45
bool
operator==
(
const
Object
* obj)
const override
;
46
47
private
:
48
49
ContainerType::Pointer m_Selection;
50
QItemSelection m_QItemSelection;
51
52
};
53
54
}
55
56
#endif
/* BERRYQTITEMSELECTION_H_ */
berry::QtItemSelection
Definition:
berryQtItemSelection.h:25
berryIStructuredSelection.h
berry::IStructuredSelection
Definition:
berryIStructuredSelection.h:28
org_blueberry_ui_qt_Export.h
berry::SmartPointer< Self >
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
berry::IStructuredSelection::iterator
ContainerType::const_iterator iterator
Definition:
berryIStructuredSelection.h:31
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:33
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.ui.qt
src
berryQtItemSelection.h
Generated on Thu Nov 30 2023 15:58:48 for Medical Imaging Interaction Toolkit by
1.8.17