Base class for editors, such as BuildingEditor and TerrainEditor.
More...
#include <Editor.hh>
|
void | Init (const std::string &_objName, const std::string &_tabLabel, QWidget *_widget) |
| Initialize the editor. More...
|
|
Base class for editors, such as BuildingEditor and TerrainEditor.
gazebo::gui::Editor::Editor |
( |
MainWindow * |
_mainWindow | ) |
|
Constuctor.
- Parameters
-
[in] | _mainWindow | Pointer to the main window. |
virtual gazebo::gui::Editor::~Editor |
( |
| ) |
|
|
virtual |
void gazebo::gui::Editor::Init |
( |
const std::string & |
_objName, |
|
|
const std::string & |
_tabLabel, |
|
|
QWidget * |
_widget |
|
) |
| |
|
protected |
Initialize the editor.
Each child class should call this function on construction.
- Parameters
-
[in] | _objName | Name of the object, which can be used in the style sheet. |
[in] | _tabLabel | String used for the tab label. |
[in] | _widget | Widget that is put inside the tab. |
List of Event based connections.
Pointer to the main window.
QTabWidget* gazebo::gui::Editor::tabWidget |
|
protected |
The tab widget that holds the editor's set of buttons.
The documentation for this class was generated from the following file: