#include <GraphListenerQListView.h>


Public Member Functions | |
| GraphListenerQListView (Q3ListView *w) | |
| Q3ListViewItem * | createItem (Q3ListViewItem *parent) |
| void | addChild (GNode *parent, GNode *child) |
| void | removeChild (GNode *parent, GNode *child) |
| void | moveChild (GNode *previous, GNode *parent, GNode *child) |
| void | addObject (GNode *parent, core::objectmodel::BaseObject *object) |
| void | removeObject (GNode *, core::objectmodel::BaseObject *object) |
| void | moveObject (GNode *previous, GNode *parent, core::objectmodel::BaseObject *object) |
| void | freeze (GNode *groot) |
| void | unfreeze (GNode *groot) |
Data Fields | |
| Q3ListView * | widget |
| bool | frozen |
| std::map < core::objectmodel::Base *, Q3ListViewItem * > | items |
Definition at line 86 of file GraphListenerQListView.h.
| sofa::gui::qt::GraphListenerQListView::GraphListenerQListView | ( | Q3ListView * | w | ) | [inline] |
Definition at line 92 of file GraphListenerQListView.h.
Reimplemented from sofa::simulation::tree::MutationListener.
Definition at line 187 of file GraphListenerQListView.cpp.
References createItem(), frozen, sofa::core::objectmodel::Base::getName(), sofa::gui::qt::getPixmap(), items, and widget.
Referenced by sofa::gui::qt::GraphModeler::addGNode(), sofa::gui::qt::RealGUI::clearGraph(), sofa::gui::qt::RealGUI::graphRemoveObject(), sofa::gui::qt::RealGUI::loadObject(), moveChild(), and unfreeze().
| void sofa::gui::qt::GraphListenerQListView::addObject | ( | GNode * | parent, | |
| core::objectmodel::BaseObject * | object | |||
| ) | [virtual] |
Reimplemented from sofa::simulation::tree::MutationListener.
Definition at line 279 of file GraphListenerQListView.cpp.
References createItem(), frozen, sofa::core::objectmodel::BaseObject::getLogWarning(), sofa::core::objectmodel::Base::getName(), sofa::gui::qt::getPixmap(), sofa::helper::gettypename(), iconwarning_xpm, and items.
Referenced by sofa::gui::qt::GraphModeler::addComponent(), sofa::gui::qt::RealGUI::loadObject(), moveObject(), and sofa::gui::qt::RealGUI::resetScene().
| Q3ListViewItem * sofa::gui::qt::GraphListenerQListView::createItem | ( | Q3ListViewItem * | parent | ) |
Definition at line 175 of file GraphListenerQListView.cpp.
Referenced by addChild(), and addObject().
| void sofa::gui::qt::GraphListenerQListView::freeze | ( | GNode * | groot | ) |
Definition at line 375 of file GraphListenerQListView.cpp.
Referenced by sofa::gui::qt::RealGUI::clearGraph(), sofa::gui::qt::RealGUI::currentTabChanged(), sofa::gui::qt::RealGUI::loadObject(), and sofa::gui::qt::RealGUI::resetScene().
| void sofa::gui::qt::GraphListenerQListView::moveChild | ( | GNode * | previous, | |
| GNode * | parent, | |||
| GNode * | child | |||
| ) | [virtual] |
Reimplemented from sofa::simulation::tree::MutationListener.
Definition at line 244 of file GraphListenerQListView.cpp.
References addChild(), frozen, items, and removeChild().
| void sofa::gui::qt::GraphListenerQListView::moveObject | ( | GNode * | previous, | |
| GNode * | parent, | |||
| core::objectmodel::BaseObject * | object | |||
| ) | [virtual] |
Reimplemented from sofa::simulation::tree::MutationListener.
Definition at line 347 of file GraphListenerQListView.cpp.
References addObject(), frozen, items, and removeObject().
Reimplemented from sofa::simulation::tree::MutationListener.
Definition at line 233 of file GraphListenerQListView.cpp.
References items.
Referenced by sofa::gui::qt::GraphModeler::deleteComponent(), sofa::gui::qt::RealGUI::graphRemoveObject(), sofa::gui::qt::RealGUI::loadObject(), moveChild(), and sofa::gui::qt::RealGUI::resetScene().
| void sofa::gui::qt::GraphListenerQListView::removeObject | ( | GNode * | , | |
| core::objectmodel::BaseObject * | object | |||
| ) | [virtual] |
Reimplemented from sofa::simulation::tree::MutationListener.
Definition at line 337 of file GraphListenerQListView.cpp.
References items.
Referenced by sofa::gui::qt::GraphModeler::deleteComponent(), and moveObject().
| void sofa::gui::qt::GraphListenerQListView::unfreeze | ( | GNode * | groot | ) |
Definition at line 383 of file GraphListenerQListView.cpp.
References addChild(), frozen, and items.
Referenced by sofa::gui::qt::RealGUI::currentTabChanged(), sofa::gui::qt::RealGUI::loadObject(), and sofa::gui::qt::RealGUI::resetScene().
Definition at line 90 of file GraphListenerQListView.h.
Referenced by addChild(), addObject(), freeze(), moveChild(), moveObject(), sofa::gui::qt::RealGUI::resetScene(), and unfreeze().
Definition at line 91 of file GraphListenerQListView.h.
Referenced by addChild(), sofa::gui::qt::GraphModeler::addComponent(), sofa::gui::qt::GraphModeler::addGNode(), addObject(), sofa::gui::qt::RealGUI::clearGraph(), freeze(), sofa::gui::qt::GraphModeler::getGNode(), sofa::gui::qt::GraphModeler::getObject(), sofa::gui::qt::RealGUI::graphModify(), sofa::gui::qt::RealGUI::initDesactivatedNode(), sofa::gui::qt::RealGUI::isErasable(), sofa::gui::qt::GraphModeler::isNodeErasable(), sofa::gui::qt::RealGUI::loadObject(), moveChild(), moveObject(), sofa::gui::qt::GraphModeler::openModifyObject(), removeChild(), removeObject(), sofa::gui::qt::RealGUI::RightClickedItemInSceneView(), and unfreeze().
1.5.7.1