Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
QmitkPropertiesTableEditor.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 QmitkPropertiesTableEditor_h
14
#define QmitkPropertiesTableEditor_h
15
16
#include <
MitkQtWidgetsExports.h
>
17
19
#include "
mitkDataNode.h
"
20
22
#include <QWidget>
23
25
class
QmitkPropertiesTableModel
;
26
class
QTableView;
27
class
QLineEdit;
28
36
class
MITKQTWIDGETS_EXPORT
QmitkPropertiesTableEditor
:
public
QWidget
37
{
38
Q_OBJECT
39
40
public
:
44
QmitkPropertiesTableEditor
(QWidget *parent =
nullptr
, Qt::WindowFlags f = {},
mitk::DataNode::Pointer
_Node =
nullptr
);
45
48
~
QmitkPropertiesTableEditor
()
override
;
49
53
void
SetPropertyList(
mitk::PropertyList::Pointer
_List);
54
58
QmitkPropertiesTableModel
*getModel()
const
;
59
60
QTableView *getTable()
const
;
61
62
protected
slots:
63
void
PropertyFilterKeyWordTextChanged(
const
QString &text);
64
65
protected
:
69
virtual
void
init();
73
QTableView *
m_NodePropertiesTableView
;
79
QLineEdit *
m_TxtPropertyFilterKeyWord
;
83
QmitkPropertiesTableModel
*
m_Model
;
84
};
85
86
#endif
QmitkPropertiesTableModel
A table model for showing and editing mitk::Properties.
Definition:
QmitkPropertiesTableModel.h:31
MITKQTWIDGETS_EXPORT
#define MITKQTWIDGETS_EXPORT
Definition:
MitkQtWidgetsExports.h:15
QmitkPropertiesTableEditor::m_Model
QmitkPropertiesTableModel * m_Model
Definition:
QmitkPropertiesTableEditor.h:83
itk::SmartPointer< Self >
MitkQtWidgetsExports.h
mitkDataNode.h
QmitkPropertiesTableEditor::m_TxtPropertyFilterKeyWord
QLineEdit * m_TxtPropertyFilterKeyWord
Definition:
QmitkPropertiesTableEditor.h:79
QmitkPropertiesTableEditor::m_NodePropertiesTableView
QTableView * m_NodePropertiesTableView
Definition:
QmitkPropertiesTableEditor.h:73
QmitkPropertiesTableEditor
Combines a QTableView along with a QmitkPropertiesTableModel to a reusable Property Editor component.
Definition:
QmitkPropertiesTableEditor.h:36
src
MITK
Modules
QtWidgets
include
QmitkPropertiesTableEditor.h
Generated on Mon Jun 17 2024 12:43:31 for Medical Imaging Interaction Toolkit by
1.8.17