Interface to the terrain editor. More...
#include <gui/gui.hh>

Public Member Functions | |
| ModelEditor (MainWindow *_mainWindow) | |
| Constuctor. More... | |
| virtual | ~ModelEditor () |
| Destuctor. More... | |
| void | AddEntity (sdf::ElementPtr _sdf) |
| Add an entity to the editor. More... | |
| void | AddItemToPalette (QWidget *_item, const std::string &_category="") |
| Add an item to palette. More... | |
Public Member Functions inherited from gazebo::gui::Editor | |
| Editor (MainWindow *_mainWindow) | |
| Constuctor. More... | |
| virtual | ~Editor () |
| Destuctor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from gazebo::gui::Editor | |
| void | Init (const std::string &_objName, const std::string &_tabLabel, QWidget *_widget, QWidget *_cornerWidget=NULL) |
| Initialize the editor. More... | |
Protected Attributes inherited from gazebo::gui::Editor | |
| std::vector< event::ConnectionPtr > | connections |
| List of Event based connections. More... | |
| MainWindow * | mainWindow |
| Pointer to the main window. More... | |
| QTabWidget * | tabWidget |
| The tab widget that holds the editor's set of buttons. More... | |
Interface to the terrain editor.
| gazebo::gui::ModelEditor::ModelEditor | ( | MainWindow * | _mainWindow | ) |
Constuctor.
| [in] | _mainWindow | Pointer to the mainwindow. |
|
virtual |
Destuctor.
| void gazebo::gui::ModelEditor::AddEntity | ( | sdf::ElementPtr | _sdf | ) |
Add an entity to the editor.
| [in] | _sdf | SDF describing the entity. |
| void gazebo::gui::ModelEditor::AddItemToPalette | ( | QWidget * | _item, |
| const std::string & | _category = "" |
||
| ) |
Add an item to palette.
| [in] | _Item | item to add. |
| [in] | _category | Category to add the item too. |