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
QStandardItemModel * model()
Definition: bodytreewidget.hh:47
void init(QTreeView *view, QWidget *propertyArea)
void emitBodySelected(SelectionEvent *event)
void bodySelected(SelectionEvent *event)
QTreeView * view()
Get the body tree view.
Definition: selection-event.hh:31
void selectBodyByName(const std::string &bodyName)
void selectBodyByName(const QString bodyName)
QList< BodyTreeItem * > selectedBodies() const
Get selected bodies.
viewer::shared_ptr< WindowsManager > WindowsManagerPtr_t
Definition: fwd.hh:58
Definition: action-search-bar.hh:27