Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
QmitkDataStorageListInspector.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
#ifndef QmitkDataStorageListInspector_h
14
#define QmitkDataStorageListInspector_h
15
16
#include <
MitkQtWidgetsExports.h
>
17
18
#include "
QmitkAbstractDataStorageInspector.h
"
19
#include "
QmitkSimpleTextOverlayWidget.h
"
20
21
#include "ui_QmitkDataStorageListInspector.h"
22
23
/*
24
* @brief This is an inspector that offers a simple list view on a data storage.
25
*/
26
class
MITKQTWIDGETS_EXPORT
QmitkDataStorageListInspector
:
public
QmitkAbstractDataStorageInspector
27
{
28
Q_OBJECT
29
30
public
:
31
QmitkDataStorageListInspector
(QWidget* parent =
nullptr
);
32
33
QAbstractItemView*
GetView
()
override
;
34
const
QAbstractItemView*
GetView
()
const override
;
35
36
void
SetSelectionMode
(
SelectionMode
mode)
override
;
37
SelectionMode
GetSelectionMode
()
const override
;
38
39
protected
:
40
void
Initialize
()
override
;
41
void
OnModelReset();
42
43
QmitkAbstractDataStorageModel
*
m_StorageModel
;
44
Ui_QmitkDataStorageListInspector
m_Controls
;
45
QmitkSimpleTextOverlayWidget
*
m_Overlay
;
46
};
47
48
#endif
MITKQTWIDGETS_EXPORT
#define MITKQTWIDGETS_EXPORT
Definition:
MitkQtWidgetsExports.h:15
QmitkDataStorageListInspector::m_Overlay
QmitkSimpleTextOverlayWidget * m_Overlay
Definition:
QmitkDataStorageListInspector.h:45
QmitkDataStorageListInspector::m_Controls
Ui_QmitkDataStorageListInspector m_Controls
Definition:
QmitkDataStorageListInspector.h:44
QmitkSimpleTextOverlayWidget
Definition:
QmitkSimpleTextOverlayWidget.h:22
QmitkAbstractDataStorageInspector::SelectionMode
QAbstractItemView::SelectionMode SelectionMode
Definition:
QmitkAbstractDataStorageInspector.h:68
QmitkSimpleTextOverlayWidget.h
QmitkAbstractDataStorageInspector::Initialize
virtual void Initialize()=0
MitkQtWidgetsExports.h
QmitkAbstractDataStorageInspector
This abstract class is a convenient base class for easy implementation of widgets that offer a specif...
Definition:
QmitkAbstractDataStorageInspector.h:32
QmitkAbstractDataStorageInspector.h
QmitkDataStorageListInspector::m_StorageModel
QmitkAbstractDataStorageModel * m_StorageModel
Definition:
QmitkDataStorageListInspector.h:43
QmitkAbstractDataStorageInspector::GetView
virtual QAbstractItemView * GetView()=0
QmitkAbstractDataStorageInspector::GetSelectionMode
virtual SelectionMode GetSelectionMode() const =0
QmitkAbstractDataStorageModel
Definition:
QmitkAbstractDataStorageModel.h:40
QmitkAbstractDataStorageInspector::SetSelectionMode
virtual void SetSelectionMode(SelectionMode mode)=0
QmitkDataStorageListInspector
Definition:
QmitkDataStorageListInspector.h:26
src
MITK
Modules
QtWidgets
include
QmitkDataStorageListInspector.h
Generated on Sat Nov 23 2024 02:13:16 for Medical Imaging Interaction Toolkit by
1.8.17