##

BuildingEditor Class Reference

`#include <BuildingEditor.hh>`

Inherits Editor.

## Public Member Functions

| BuildingEditor (MainWindow *_mainWindow)
| Constuctor. More...
virtual | ~BuildingEditor ()
| Destuctor. More...

## Protected Member Functions

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

## Protected Attributes

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...

## Constructor & Destructor Documentation

## BuildingEditor()

BuildingEditor | ( | MainWindow * | _mainWindow | ) |

explicit

Constuctor.

Parameters

  [in] | _mainWindow | Pointer to the mainwindow.

## ~BuildingEditor()

virtual ~BuildingEditor | ( |  | ) |

virtual

Destuctor.

## Member Function Documentation

## Init()

void Init | ( | const std::string & | _objName,
|  | const std::string & | _tabLabel,
|  | QWidget * | _widget,
|  | QWidget * | _cornerWidget = `NULL`
| ) |  |

protected inherited

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.
  [in] | _cornerWidget | Optional widget to go on the top right corner.

## Member Data Documentation

## connections

std::vector<event::ConnectionPtr> connections

protected inherited

List of Event based connections.

## mainWindow

MainWindow* mainWindow

protected inherited

Pointer to the main window.

## tabWidget

QTabWidget* tabWidget

protected inherited

The tab widget that holds the editor's set of buttons.

The documentation for this class was generated from the following file:

- BuildingEditor.hh