Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkPropertiesTableEditor Class Reference

Combines a QTableView along with a QmitkPropertiesTableModel to a reusable Property Editor component. More...

#include <QmitkPropertiesTableEditor.h>

Inheritance diagram for QmitkPropertiesTableEditor:
Collaboration diagram for QmitkPropertiesTableEditor:

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)
 
QmitkPropertiesTableModelgetModel () 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
 
QmitkPropertiesTableModelm_Model
 

Detailed Description

Combines a QTableView along with a QmitkPropertiesTableModel to a reusable Property Editor component.

See also
QmitkPropertyDelegate

Definition at line 40 of file QmitkPropertiesTableEditor.h.

Constructor & Destructor Documentation

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.

QmitkPropertiesTableEditor::~QmitkPropertiesTableEditor ( )
virtual

Standard dtor. Nothing to do here.

Definition at line 46 of file QmitkPropertiesTableEditor.cpp.

Member Function Documentation

QmitkPropertiesTableModel * QmitkPropertiesTableEditor::getModel ( ) const

Get the model.

Definition at line 66 of file QmitkPropertiesTableEditor.cpp.

References m_Model.

QTableView * QmitkPropertiesTableEditor::getTable ( ) const

Definition at line 113 of file QmitkPropertiesTableEditor.cpp.

References m_NodePropertiesTableView.

void QmitkPropertiesTableEditor::init ( )
protectedvirtual
void QmitkPropertiesTableEditor::PropertyFilterKeyWordTextChanged ( const QString &  text)
protectedslot
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().

Member Data Documentation

QmitkPropertiesTableModel* QmitkPropertiesTableEditor::m_Model
protected

The property list table model.

Definition at line 87 of file QmitkPropertiesTableEditor.h.

Referenced by getModel(), PropertyFilterKeyWordTextChanged(), QmitkPropertiesTableEditor(), and SetPropertyList().

QTableView* QmitkPropertiesTableEditor::m_NodePropertiesTableView
protected

The table view that renders the property list.

Definition at line 77 of file QmitkPropertiesTableEditor.h.

Referenced by getTable(), init(), QmitkPropertiesTableEditor(), and SetPropertyList().

QLineEdit* QmitkPropertiesTableEditor::m_TxtPropertyFilterKeyWord
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().


The documentation for this class was generated from the following files: