Medical Imaging Interaction Toolkit
2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
QmitkDataStorageTreeInspector.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 QmitkDataStorageTreeInspector_h
14
#define QmitkDataStorageTreeInspector_h
15
16
#include <
MitkQtWidgetsExports.h
>
17
18
#include <
QmitkAbstractDataStorageInspector.h
>
19
#include "
QmitkSimpleTextOverlayWidget.h
"
20
#include <QSortFilterProxyModel>
21
22
#include "ui_QmitkDataStorageTreeInspector.h"
23
24
/*
25
* @brief This is an inspector that offers a simple tree view on a data storage.
26
* Something like the "data manager plugin", but in simple/light (with less functionality)
27
* It uses the QmitkDataStorageSimpleTreeModel.
28
*/
29
class
MITKQTWIDGETS_EXPORT
QmitkDataStorageTreeInspector
:
public
QmitkAbstractDataStorageInspector
30
{
31
Q_OBJECT
32
33
public
:
34
QmitkDataStorageTreeInspector
(QWidget* parent =
nullptr
);
35
36
QAbstractItemView*
GetView
()
override
;
37
const
QAbstractItemView*
GetView
()
const override
;
38
39
void
SetSelectionMode
(
SelectionMode
mode)
override
;
40
SelectionMode
GetSelectionMode
()
const override
;
41
42
protected
:
43
void
Initialize
()
override
;
44
void
OnModelReset();
45
46
QmitkAbstractDataStorageModel
*
m_StorageModel
;
47
Ui_QmitkDataStorageTreeInspector
m_Controls
;
48
QmitkSimpleTextOverlayWidget
*
m_Overlay
;
49
};
50
51
#endif
QmitkDataStorageTreeInspector::m_StorageModel
QmitkAbstractDataStorageModel * m_StorageModel
Definition:
QmitkDataStorageTreeInspector.h:46
MITKQTWIDGETS_EXPORT
#define MITKQTWIDGETS_EXPORT
Definition:
MitkQtWidgetsExports.h:15
QmitkSimpleTextOverlayWidget
Definition:
QmitkSimpleTextOverlayWidget.h:22
QmitkAbstractDataStorageInspector::SelectionMode
QAbstractItemView::SelectionMode SelectionMode
Definition:
QmitkAbstractDataStorageInspector.h:68
QmitkSimpleTextOverlayWidget.h
QmitkAbstractDataStorageInspector::Initialize
virtual void Initialize()=0
QmitkDataStorageTreeInspector::m_Controls
Ui_QmitkDataStorageTreeInspector m_Controls
Definition:
QmitkDataStorageTreeInspector.h:47
QmitkDataStorageTreeInspector
Definition:
QmitkDataStorageTreeInspector.h:29
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
QmitkAbstractDataStorageInspector::GetView
virtual QAbstractItemView * GetView()=0
QmitkAbstractDataStorageInspector::GetSelectionMode
virtual SelectionMode GetSelectionMode() const =0
QmitkDataStorageTreeInspector::m_Overlay
QmitkSimpleTextOverlayWidget * m_Overlay
Definition:
QmitkDataStorageTreeInspector.h:48
QmitkAbstractDataStorageModel
Definition:
QmitkAbstractDataStorageModel.h:40
QmitkAbstractDataStorageInspector::SetSelectionMode
virtual void SetSelectionMode(SelectionMode mode)=0
src
MITK
Modules
QtWidgets
include
QmitkDataStorageTreeInspector.h
Generated on Sat Nov 23 2024 02:13:16 for Medical Imaging Interaction Toolkit by
1.8.17