18 #ifndef _GAZEBO_MODEL_EDITOR_PALETTE_HH_
19 #define _GAZEBO_MODEL_EDITOR_PALETTE_HH_
60 public:
void AddItem(QWidget *_item,
61 const std::string &_category =
"Other");
66 public:
void InsertWidget(
unsigned int _index, QWidget *_widget);
70 public:
void RemoveWidget(QWidget *_widget);
74 public:
void CreateJoint(
const std::string &_type);
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();
101 private: QButtonGroup *linkButtonGroup;
107 private: QVBoxLayout *otherItemsLayout;
110 private: std::map<std::string, QGridLayout *> categories;
113 private: QSplitter *splitter;
A palette of model items which can be added to the editor.
Definition: ModelEditorPalette.hh:46
#define GZ_GUI_VISIBLE
Definition: system.hh:284
Generic description of a keyboard event.
Definition: KeyEvent.hh:32
Create and manage 3D visuals of a model with links and joints.
Definition: ModelCreator.hh:58