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_;
95 #endif // GEPETTO_GUI_BODYTREEWIDGET_HH void init(QTreeView *view, QWidget *propertyArea)
Definition: tree-item.hh:33
virtual ~BodyTreeWidget()
Definition: bodytreewidget.hh:42
void currentChanged(const QModelIndex ¤t, const QModelIndex &previous)
QTreeView * view()
Get the body tree view.
void selectBodyByName(const QString bodyName)
Contains the list of all the bodies in the scene.
Definition: bodytreewidget.hh:31
Definition: selection-event.hh:31
Definition: action-search-bar.hh:27
QList< BodyTreeItem * > selectedBodies() const
Get selected bodies.
void emitBodySelected(SelectionEvent *event)
QStandardItemModel * model()
Definition: bodytreewidget.hh:47
void customContextMenu(const QPoint &pos)
BodyTreeWidget(QWidget *parent=NULL)
Definition: bodytreewidget.hh:35
viewer::shared_ptr< WindowsManager > WindowsManagerPtr_t
Definition: fwd.hh:58
void bodySelected(SelectionEvent *event)