Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 
26 class QTableView;
27 class QLineEdit;
28 
37 {
38  Q_OBJECT
39 
40 public:
44  QmitkPropertiesTableEditor(QWidget *parent = nullptr, Qt::WindowFlags f = nullptr, 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();
84 };
85 
86 #endif /* QMITKPROPERTIESTABLEMODEL_H_ */
#define MITKQTWIDGETS_EXPORT
Combines a QTableView along with a QmitkPropertiesTableModel to a reusable Property Editor component...
QmitkPropertiesTableModel * m_Model