Medical Imaging Interaction Toolkit  2016.11.0
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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QmitkPropertiesTableEditor_h
18 #define QmitkPropertiesTableEditor_h
19 
20 #include <MitkQtWidgetsExports.h>
21 
23 #include "mitkDataNode.h"
24 
26 #include <QWidget>
27 
30 class QTableView;
31 class QLineEdit;
32 
41 {
42  Q_OBJECT
43 
44 public:
48  QmitkPropertiesTableEditor(QWidget *parent = 0, Qt::WindowFlags f = 0, mitk::DataNode::Pointer _Node = 0);
49 
52  virtual ~QmitkPropertiesTableEditor();
53 
57  void SetPropertyList(mitk::PropertyList::Pointer _List);
58 
62  QmitkPropertiesTableModel *getModel() const;
63 
64  QTableView *getTable() const;
65 
66 protected slots:
67  void PropertyFilterKeyWordTextChanged(const QString &text);
68 
69 protected:
73  virtual void init();
88 };
89 
90 #endif /* QMITKPROPERTIESTABLEMODEL_H_ */
#define MITKQTWIDGETS_EXPORT
Combines a QTableView along with a QmitkPropertiesTableModel to a reusable Property Editor component...
QmitkPropertiesTableModel * m_Model