sofa::gui::qt::GraphListenerQListView Class Reference

#include <GraphListenerQListView.h>

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

Inheritance graph
[legend]
Collaboration diagram for sofa::gui::qt::GraphListenerQListView:

Collaboration graph
[legend]

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

Detailed Description

Definition at line 86 of file GraphListenerQListView.h.


Constructor & Destructor Documentation

sofa::gui::qt::GraphListenerQListView::GraphListenerQListView ( Q3ListView *  w  )  [inline]

Definition at line 92 of file GraphListenerQListView.h.


Member Function Documentation

void sofa::gui::qt::GraphListenerQListView::addChild ( GNode *  parent,
GNode *  child 
) [virtual]

void sofa::gui::qt::GraphListenerQListView::addObject ( GNode *  parent,
core::objectmodel::BaseObject *  object 
) [virtual]

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  ) 

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().

void sofa::gui::qt::GraphListenerQListView::removeChild ( GNode *  parent,
GNode *  child 
) [virtual]

void sofa::gui::qt::GraphListenerQListView::removeObject ( GNode *  ,
core::objectmodel::BaseObject *  object 
) [virtual]

void sofa::gui::qt::GraphListenerQListView::unfreeze ( GNode *  groot  ) 


Field Documentation

Definition at line 89 of file GraphListenerQListView.h.

Referenced by addChild().


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

Generated on Sun Nov 23 04:24:11 2008 for Sofa by  doxygen 1.5.7.1