SOFA API  c76874b7
Open source framework for multi-physics simuation
sofa::gui::qt::GraphListenerQListView Class Reference

#include <GraphListenerQListView.h>

Inheritance diagram for sofa::gui::qt::GraphListenerQListView:

Public Attributes

QTreeWidgetwidget
 
bool frozen
 
std::map< core::objectmodel::Base *, QTreeWidgetItem * > items
 
std::map< core::objectmodel::BaseData *, QTreeWidgetItem * > datas
 
std::multimap< QTreeWidgetItem *, QTreeWidgetItem * > nodeWithMultipleParents
 

Public Member Functions

 GraphListenerQListView (QTreeWidget *w)
 
QTreeWidgetItem * createItem (QTreeWidgetItem *parent)
 
virtual void onBeginAddChild (Node *parent, Node *child) override
 
virtual void onBeginRemoveChild (Node *parent, Node *child) override
 
virtual void onBeginAddObject (Node *parent, core::objectmodel::BaseObject *object) override
 
virtual void onBeginRemoveObject (Node *, core::objectmodel::BaseObject *object) override
 
virtual void onBeginAddSlave (core::objectmodel::BaseObject *master, core::objectmodel::BaseObject *slave) override
 
virtual void onBeginRemoveSlave (core::objectmodel::BaseObject *master, core::objectmodel::BaseObject *slave) override
 
virtual void sleepChanged (Node *node) override
 
virtual void addDatas (core::objectmodel::BaseObject *parent)
 
virtual void removeDatas (core::objectmodel::BaseObject *parent)
 
virtual void freeze (Node *groot)
 
virtual void unfreeze (Node *groot)
 
core::objectmodel::BasefindObject (const QTreeWidgetItem *item)
 
core::objectmodel::BaseDatafindData (const QTreeWidgetItem *item)
 
- Public Member Functions inherited from sofa::simulation::MutationListener
virtual ~MutationListener ()
 
virtual void onEndAddChild (Node *parent, Node *child)
 
virtual void onEndRemoveChild (Node *parent, Node *child)
 
virtual void onEndAddObject (Node *parent, core::objectmodel::BaseObject *object)
 
virtual void onEndRemoveObject (Node *parent, core::objectmodel::BaseObject *object)
 
virtual void onEndAddSlave (core::objectmodel::BaseObject *master, core::objectmodel::BaseObject *slave)
 
virtual void onEndRemoveSlave (core::objectmodel::BaseObject *master, core::objectmodel::BaseObject *slave)
 

Attribute details

std::map<core::objectmodel::BaseData*, QTreeWidgetItem* > sofa::gui::qt::GraphListenerQListView::datas
bool sofa::gui::qt::GraphListenerQListView::frozen
std::map<core::objectmodel::Base*, QTreeWidgetItem* > sofa::gui::qt::GraphListenerQListView::items
std::multimap<QTreeWidgetItem *, QTreeWidgetItem*> sofa::gui::qt::GraphListenerQListView::nodeWithMultipleParents
QTreeWidget* sofa::gui::qt::GraphListenerQListView::widget

Constructor details

sofa::gui::qt::GraphListenerQListView::GraphListenerQListView ( QTreeWidget w)
inline

Function details

void sofa::gui::qt::GraphListenerQListView::addDatas ( core::objectmodel::BaseObject parent)
virtual
QTreeWidgetItem * sofa::gui::qt::GraphListenerQListView::createItem ( QTreeWidgetItem *  parent)
core::objectmodel::BaseData * sofa::gui::qt::GraphListenerQListView::findData ( const QTreeWidgetItem *  item)
core::objectmodel::Base * sofa::gui::qt::GraphListenerQListView::findObject ( const QTreeWidgetItem *  item)
void sofa::gui::qt::GraphListenerQListView::freeze ( Node groot)
virtual
void sofa::gui::qt::GraphListenerQListView::onBeginAddChild ( Node parent,
Node child 
)
overridevirtual
void sofa::gui::qt::GraphListenerQListView::onBeginAddObject ( Node parent,
core::objectmodel::BaseObject object 
)
overridevirtual
void sofa::gui::qt::GraphListenerQListView::onBeginAddSlave ( core::objectmodel::BaseObject master,
core::objectmodel::BaseObject slave 
)
overridevirtual
void sofa::gui::qt::GraphListenerQListView::onBeginRemoveChild ( Node parent,
Node child 
)
overridevirtual
void sofa::gui::qt::GraphListenerQListView::onBeginRemoveObject ( Node parent,
core::objectmodel::BaseObject object 
)
overridevirtual
void sofa::gui::qt::GraphListenerQListView::onBeginRemoveSlave ( core::objectmodel::BaseObject master,
core::objectmodel::BaseObject slave 
)
overridevirtual
void sofa::gui::qt::GraphListenerQListView::removeDatas ( core::objectmodel::BaseObject parent)
virtual
void sofa::gui::qt::GraphListenerQListView::sleepChanged ( Node node)
overridevirtual
void sofa::gui::qt::GraphListenerQListView::unfreeze ( Node groot)
virtual