All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gazebo::gui::Editor Class Reference

Base class for editors, such as BuildingEditor and TerrainEditor. More...

#include <Editor.hh>

Inheritance diagram for gazebo::gui::Editor:
Inheritance graph
[legend]
Collaboration diagram for gazebo::gui::Editor:
Collaboration graph
[legend]

Public Member Functions

 Editor (MainWindow *_mainWindow)
 Constuctor. More...
 
virtual ~Editor ()
 Destuctor. More...
 

Protected Member Functions

void Init (const std::string &_objName, const std::string &_tabLabel, QWidget *_widget)
 Initialize the editor. More...
 

Protected Attributes

std::vector< event::ConnectionPtrconnections
 List of Event based connections. More...
 
MainWindowmainWindow
 Pointer to the main window. More...
 
QTabWidget * tabWidget
 The tab widget that holds the editor's set of buttons. More...
 

Detailed Description

Base class for editors, such as BuildingEditor and TerrainEditor.

Constructor & Destructor Documentation

gazebo::gui::Editor::Editor ( MainWindow _mainWindow)

Constuctor.

Parameters
[in]_mainWindowPointer to the main window.
virtual gazebo::gui::Editor::~Editor ( )
virtual

Destuctor.

Member Function Documentation

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]_objNameName of the object, which can be used in the style sheet.
[in]_tabLabelString used for the tab label.
[in]_widgetWidget that is put inside the tab.

Member Data Documentation

std::vector<event::ConnectionPtr> gazebo::gui::Editor::connections
protected

List of Event based connections.

MainWindow* gazebo::gui::Editor::mainWindow
protected

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: