#include <QmitkPropertyListView.h>


Public Member Functions | |
| berryObjectMacro(QmitkPropertyListView) static const std | QmitkPropertyListView () |
| Standard ctor. | |
| virtual | ~QmitkPropertyListView () |
| Standard dtor. | |
| void | CreateQtPartControl (QWidget *parent) |
| Create the view here. | |
| virtual bool | IsExclusiveFunctionality () const |
| virtual void | OnSelectionChanged (std::vector< mitk::DataNode * > nodes) |
Friends | |
| struct | berry::SelectionChangedAdapter< QmitkPropertyListView > |
A view to show
Definition at line 33 of file QmitkPropertyListView.h.
| berryObjectMacro (QmitkPropertyListView) static const std QmitkPropertyListView::QmitkPropertyListView | ( | ) |
Standard ctor.
The unique ID of this view
| QmitkPropertyListView::~QmitkPropertyListView | ( | ) | [virtual] |
| void QmitkPropertyListView::CreateQtPartControl | ( | QWidget * | parent ) | [virtual] |
Create the view here.
Implements berry::QtViewPart.
Definition at line 38 of file QmitkPropertyListView.cpp.
{
m_NodePropertiesTableEditor = new QmitkPropertiesTableEditor;
QVBoxLayout* layout = new QVBoxLayout;
layout->addWidget(m_NodePropertiesTableEditor);
parent->setLayout(layout);
}
| bool QmitkPropertyListView::IsExclusiveFunctionality | ( | ) | const [virtual] |
This is not a standalone functionality (can be easily used with other functionalities open) -> return false
Reimplemented from QmitkFunctionality.
Definition at line 55 of file QmitkPropertyListView.cpp.
{
return false;
}
| void QmitkPropertyListView::OnSelectionChanged | ( | std::vector< mitk::DataNode * > | nodes ) | [virtual] |
Invoked when the DataManager selection changed
Reimplemented from QmitkFunctionality.
Definition at line 48 of file QmitkPropertyListView.cpp.
References QmitkPropertiesTableEditor::SetPropertyList().
{
if (nodes.empty() || (nodes.front() == NULL)) return;
m_NodePropertiesTableEditor->SetPropertyList(nodes.front()->GetPropertyList());
}
friend struct berry::SelectionChangedAdapter< QmitkPropertyListView > [friend] |
Definition at line 71 of file QmitkPropertyListView.h.
1.7.2