17#ifndef GEPETTO_GUI_BODYTREEWIDGET_HH
18#define GEPETTO_GUI_BODYTREEWIDGET_HH
22#include <QStandardItemModel>
40 void init(QTreeView*
view, QWidget* propertyArea);
47 QStandardItemModel*
model() {
return model_; }
76 void currentChanged(
const QModelIndex& current,
const QModelIndex& previous);
88 QStandardItemModel* model_;
90 QWidget* propertyArea_;
Definition tree-item.hh:33
Contains the list of all the bodies in the scene.
Definition bodytreewidget.hh:31
BodyTreeWidget(QWidget *parent=NULL)
Definition bodytreewidget.hh:35
void currentChanged(const QModelIndex ¤t, const QModelIndex &previous)
void customContextMenu(const QPoint &pos)
virtual ~BodyTreeWidget()
Definition bodytreewidget.hh:42
void init(QTreeView *view, QWidget *propertyArea)
void emitBodySelected(SelectionEvent *event)
QStandardItemModel * model()
Definition bodytreewidget.hh:47
QTreeView * view()
Get the body tree view.
void bodySelected(SelectionEvent *event)
Definition selection-event.hh:31
void selectBodyByName(const std::string &bodyName)
QList< BodyTreeItem * > selectedBodies() const
Get selected bodies.
void selectBodyByName(const QString bodyName)
viewer::shared_ptr< WindowsManager > WindowsManagerPtr_t
Definition fwd.hh:59
Definition action-search-bar.hh:27