17 #ifndef GEPETTO_GUI_BODYTREEWIDGET_HH 18 #define GEPETTO_GUI_BODYTREEWIDGET_HH 20 #include <QStandardItemModel> 39 void init(QTreeView*
view, QWidget* propertyArea);
46 QStandardItemModel*
model() {
return model_; }
75 void currentChanged(
const QModelIndex& current,
const QModelIndex& previous);
87 QStandardItemModel* model_;
89 QWidget* propertyArea_;
94 #endif // GEPETTO_GUI_BODYTREEWIDGET_HH void init(QTreeView *view, QWidget *propertyArea)
Definition: tree-item.hh:31
virtual ~BodyTreeWidget()
Definition: bodytreewidget.hh:41
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:30
Definition: selection-event.hh:30
Definition: action-search-bar.hh:26
QList< BodyTreeItem * > selectedBodies() const
Get selected bodies.
void emitBodySelected(SelectionEvent *event)
QStandardItemModel * model()
Definition: bodytreewidget.hh:46
void customContextMenu(const QPoint &pos)
BodyTreeWidget(QWidget *parent=NULL)
Definition: bodytreewidget.hh:34
viewer::shared_ptr< WindowsManager > WindowsManagerPtr_t
Definition: fwd.hh:58
void bodySelected(SelectionEvent *event)