Public Member Functions | 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]

Public Member Functions

 LevelInspectorDialog (QWidget *_parent=0)
 Constructor. More...
 
 ~LevelInspectorDialog ()
 Destructor. More...
 
double Height () const
 Get the height of the level. More...
 
std::string LevelName () const
 Get the name of the level. More...
 
void SetHeight (const double _height)
 Set the height of the level. More...
 
void SetLevelName (const std::string &_levelName)
 Set the name of the level. More...
 
void ShowFloorWidget (const bool _show)
 Show or hide the floor widget. More...
 
- Public Member Functions inherited from gazebo::gui::BaseInspectorDialog
 BaseInspectorDialog (QWidget *_parent)
 Constructor. More...
 
 ~BaseInspectorDialog ()
 Destructor. More...
 
common::Color Color () const
 Get the color. More...
 
void InitColorComboBox ()
 Initiate color combo box. More...
 
void InitTextureComboBox ()
 Initiate texture combo box. More...
 
void SetColor (const common::Color &_color)
 Set the color. More...
 
void SetTexture (const std::string &_texture)
 Set the texture. More...
 
std::string Texture () const
 Get the texture. More...
 

Additional Inherited Members

- Signals inherited from gazebo::gui::BaseInspectorDialog
void Applied ()
 Qt signal emitted to indicate that changes should be applied. More...
 
- Protected Slots inherited from gazebo::gui::BaseInspectorDialog
void OnApply ()
 Qt callback when the Apply button is pressed. More...
 
void OnCancel ()
 Qt callback when the Cancel button is pressed. More...
 
void OnOK ()
 Qt callback when the Ok button is pressed. More...
 
- Protected Attributes inherited from gazebo::gui::BaseInspectorDialog
QComboBox * colorComboBox
 Combo box for selecting the color. More...
 
QComboBox * textureComboBox
 Combo box for selecting the texture. 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

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

Get the height of the level.

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

Get the name of the level.

Returns
The level name.
void gazebo::gui::LevelInspectorDialog::SetHeight ( const 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.
void gazebo::gui::LevelInspectorDialog::ShowFloorWidget ( const bool  _show)

Show or hide the floor widget.

Parameters
[in]_showTrue to show the widget, false to hide.

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