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...
 
QColor GetFloorColor () const
 Get the color of this level's floor. More...
 
QString GetFloorTexture () const
 Get the texture of this level's floor. More...
 
double GetHeight () const
 Get the height of the level. More...
 
std::string GetLevelName () const
 Get the name of the level. More...
 
void SetFloorColor (const QColor _color)
 Set the color of this level's floor. More...
 
void SetFloorTexture (const QString _texture)
 Set the texture of this level's floor. 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 Attributes

QWidget * floorWidget
 Widget containing the floor specs. 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.

QColor gazebo::gui::LevelInspectorDialog::GetFloorColor ( ) const

Get the color of this level's floor.

Returns
Floor color.
QString gazebo::gui::LevelInspectorDialog::GetFloorTexture ( ) const

Get the texture of this level's floor.

Returns
Texture.
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::SetFloorColor ( const QColor  _color)

Set the color of this level's floor.

Parameters
[in]_colorColor.
void gazebo::gui::LevelInspectorDialog::SetFloorTexture ( const QString  _texture)

Set the texture of this level's floor.

Parameters
[in]_textureTexture.
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: