Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Combines a QTableView along with a QmitkPropertiesTableModel to a reusable Property Editor component. More...
#include <QmitkPropertiesTableEditor.h>
Public Member Functions | |
QmitkPropertiesTableEditor (QWidget *parent=0, Qt::WindowFlags f=0, mitk::DataNode::Pointer _Node=0) | |
virtual | ~QmitkPropertiesTableEditor () |
Standard dtor. Nothing to do here. More... | |
void | SetPropertyList (mitk::PropertyList::Pointer _List) |
QmitkPropertiesTableModel * | getModel () const |
QTableView * | getTable () const |
Protected Slots | |
void | PropertyFilterKeyWordTextChanged (const QString &text) |
Protected Member Functions | |
virtual void | init () |
Protected Attributes | |
QTableView * | m_NodePropertiesTableView |
QLineEdit * | m_TxtPropertyFilterKeyWord |
QmitkPropertiesTableModel * | m_Model |
Combines a QTableView along with a QmitkPropertiesTableModel to a reusable Property Editor component.
Definition at line 40 of file QmitkPropertiesTableEditor.h.
QmitkPropertiesTableEditor::QmitkPropertiesTableEditor | ( | QWidget * | parent = 0 , |
Qt::WindowFlags | f = 0 , |
||
mitk::DataNode::Pointer | _Node = 0 |
||
) |
Constructs a new QmitkDataStorageTableModel and sets the DataNode for this TableModel.
Definition at line 33 of file QmitkPropertiesTableEditor.cpp.
References init(), m_Model, and m_NodePropertiesTableView.
|
virtual |
Standard dtor. Nothing to do here.
Definition at line 46 of file QmitkPropertiesTableEditor.cpp.
QmitkPropertiesTableModel * QmitkPropertiesTableEditor::getModel | ( | ) | const |
QTableView * QmitkPropertiesTableEditor::getTable | ( | ) | const |
Definition at line 113 of file QmitkPropertiesTableEditor.cpp.
References m_NodePropertiesTableView.
|
protectedvirtual |
Initialise empty GUI.
Definition at line 71 of file QmitkPropertiesTableEditor.cpp.
References m_NodePropertiesTableView, m_TxtPropertyFilterKeyWord, and PropertyFilterKeyWordTextChanged().
Referenced by QmitkPropertiesTableEditor().
|
protectedslot |
Definition at line 108 of file QmitkPropertiesTableEditor.cpp.
References m_Model, m_TxtPropertyFilterKeyWord, and QmitkPropertiesTableModel::SetFilterPropertiesKeyWord().
Referenced by init().
void QmitkPropertiesTableEditor::SetPropertyList | ( | mitk::PropertyList::Pointer | _List | ) |
Convenience method. Sets the property list in the model.
Definition at line 50 of file QmitkPropertiesTableEditor.cpp.
References m_Model, m_NodePropertiesTableView, and QmitkPropertiesTableModel::SetPropertyList().
|
protected |
The property list table model.
Definition at line 87 of file QmitkPropertiesTableEditor.h.
Referenced by getModel(), PropertyFilterKeyWordTextChanged(), QmitkPropertiesTableEditor(), and SetPropertyList().
|
protected |
The table view that renders the property list.
Definition at line 77 of file QmitkPropertiesTableEditor.h.
Referenced by getTable(), init(), QmitkPropertiesTableEditor(), and SetPropertyList().
|
protected |
A text field in which the user can enter a filter keyword for the properties. Only properties containing with this keyword will be selected.
Definition at line 83 of file QmitkPropertiesTableEditor.h.
Referenced by init(), and PropertyFilterKeyWordTextChanged().