18#ifndef GAZEBO_GUI_MODEL_MODELEDITORPALETTE_HH_
19#define GAZEBO_GUI_MODEL_MODELEDITORPALETTE_HH_
39 class ModelEditorPalettePrivate;
61 const std::string &_category =
"Other");
66 public:
void InsertWidget(
const unsigned int _index, QWidget *_widget);
86 private slots:
void OnCylinder();
89 private slots:
void OnSphere();
92 private slots:
void OnBox();
95 private slots:
void OnCustom();
98 private slots:
void OnLinkAdded();
102 private: std::unique_ptr<ModelEditorPalettePrivate> dataPtr;
common
Definition FuelModelDatabase.hh:37
gui
Definition KeyEventHandler.hh:29
Generic description of a keyboard event.
Definition KeyEvent.hh:33
Create and manage 3D visuals of a model with links, nested models and joints.
Definition ModelCreator.hh:61
A palette of model items which can be added to the editor.
Definition ModelEditorPalette.hh:47
void RemoveWidget(QWidget *_widget)
Remove a widget from the model editor palette widget.
gui::ModelCreator * ModelCreator()
Get the model creator.
void InsertWidget(const unsigned int _index, QWidget *_widget)
Add a widget inside the model editor palette widget.
ModelEditorPalette(QWidget *_parent=0)
Constructor.
~ModelEditorPalette()
Destructor.
void AddItem(QWidget *_item, const std::string &_category="Other")
Add an item to the model editor palette.
void CreateJoint(const std::string &_type)
Add a joint to the model.
Forward declarations for the common classes.
Definition Animation.hh:27