Signals | Public Member Functions | Public Attributes | List of all members
gazebo::gui::LevelInspectorDialog Class Reference

Dialog for configuring a building level. More...

#include <LevelInspectorDialog.hh>

Inheritance diagram for gazebo::gui::LevelInspectorDialog:
Inheritance graph
[legend]

Signals

void Applied ()
 Qt signal emitted to indicate that changes should be applied. More...
 

Public Member Functions

 LevelInspectorDialog (QWidget *_parent=0)
 Constructor. More...
 
 ~LevelInspectorDialog ()
 Destructor. More...
 
double GetHeight () const
 Get the height of the level. More...
 
std::string GetLevelName () const
 Get the name of the level. More...
 
void SetHeight (double _height)
 Set the height of the level. More...
 
void SetLevelName (const std::string &_levelName)
 Set the name of the level. More...
 
- Public Member Functions inherited from gazebo::gui::BaseInspectorDialog
 BaseInspectorDialog (QWidget *_parent)
 Constructor. More...
 
 ~BaseInspectorDialog ()
 Destructor. More...
 
QColor GetColor () const
 Get the color. More...
 
QString GetTexture () const
 Get the texture. More...
 
void InitColorComboBox ()
 Initiate color combo box. More...
 
void InitTextureComboBox ()
 Initiate texture combo box. More...
 
void SetColor (const QColor _color)
 Set the color. More...
 
void SetTexture (const QString _texture)
 Set the texture. More...
 

Public Attributes

QWidget * floorWidget
 Widget containing the floor specs. More...
 
- Public Attributes inherited from gazebo::gui::BaseInspectorDialog
QComboBox * colorComboBox
 Combo box for selecting the color. More...
 
std::vector< QColor > colorList
 Vector of color options. More...
 
QComboBox * textureComboBox
 Combo box for selecting the texture. More...
 
std::vector< QString > textureList
 Vector of texture options. More...
 

Detailed Description

Dialog for configuring a building level.

Constructor & Destructor Documentation

gazebo::gui::LevelInspectorDialog::LevelInspectorDialog ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent QWidget.
gazebo::gui::LevelInspectorDialog::~LevelInspectorDialog ( )

Destructor.

Member Function Documentation

void gazebo::gui::LevelInspectorDialog::Applied ( )
signal

Qt signal emitted to indicate that changes should be applied.

double gazebo::gui::LevelInspectorDialog::GetHeight ( ) const

Get the height of the level.

Returns
The level height in pixels.
std::string gazebo::gui::LevelInspectorDialog::GetLevelName ( ) const

Get the name of the level.

Returns
The level name.
void gazebo::gui::LevelInspectorDialog::SetHeight ( double  _height)

Set the height of the level.

Parameters
[in]_heightLevel height in pixels.
void gazebo::gui::LevelInspectorDialog::SetLevelName ( const std::string &  _levelName)

Set the name of the level.

Parameters
[in]_levelNameNew level name.

Member Data Documentation

QWidget* gazebo::gui::LevelInspectorDialog::floorWidget

Widget containing the floor specs.


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