Contains the list of all the bodies in the scene. More...
#include <gepetto/gui/bodytreewidget.hh>
Public Slots | |
void | selectBodyByName (const QString bodyName) |
Triggered when an item is selected in the body tree view. More... | |
void | selectBodyByName (const std::string &bodyName) |
Triggered when an item is selected in the body tree view. More... | |
QList< BodyTreeItem * > | selectedBodies () const |
Get selected bodies. More... | |
Signals | |
void | bodySelected (SelectionEvent *event) |
Public Member Functions | |
BodyTreeWidget (QWidget *parent=NULL) | |
void | init (QTreeView *view, QWidget *propertyArea) |
Init the widget. More... | |
virtual | ~BodyTreeWidget () |
QTreeView * | view () |
Get the body tree view. More... | |
QStandardItemModel * | model () |
void | emitBodySelected (SelectionEvent *event) |
Protected Slots | |
void | customContextMenu (const QPoint &pos) |
Display the context menu for one item. More... | |
void | currentChanged (const QModelIndex ¤t, const QModelIndex &previous) |
Contains the list of all the bodies in the scene.
|
inlineexplicit |
|
inlinevirtual |
References view().
|
signal |
Referenced by model().
|
protectedslot |
Referenced by model().
|
protectedslot |
void gepetto::gui::BodyTreeWidget::emitBodySelected | ( | SelectionEvent * | event | ) |
Referenced by model().
void gepetto::gui::BodyTreeWidget::init | ( | QTreeView * | view, |
QWidget * | propertyArea | ||
) |
Init the widget.
view | tree view to display. |
propertyArea | menu in the window |
Referenced by BodyTreeWidget().
|
inline |
References bodySelected(), currentChanged(), customContextMenu(), emitBodySelected(), selectBodyByName(), and selectedBodies().
QTreeView* gepetto::gui::BodyTreeWidget::view | ( | ) |
Get the body tree view.
Referenced by BodyTreeWidget(), and ~BodyTreeWidget().