Dialog for configuring a building level. More...
#include <LevelInspectorDialog.hh>
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... | |
Dialog for configuring a building level.
gazebo::gui::LevelInspectorDialog::LevelInspectorDialog | ( | QWidget * | _parent = 0 | ) |
Constructor.
[in] | _parent | Parent QWidget. |
gazebo::gui::LevelInspectorDialog::~LevelInspectorDialog | ( | ) |
Destructor.
double gazebo::gui::LevelInspectorDialog::Height | ( | ) | const |
Get the height of the level.
std::string gazebo::gui::LevelInspectorDialog::LevelName | ( | ) | const |
Get the name of the level.
void gazebo::gui::LevelInspectorDialog::SetHeight | ( | const double | _height | ) |
Set the height of the level.
[in] | _height | Level height in pixels. |
void gazebo::gui::LevelInspectorDialog::SetLevelName | ( | const std::string & | _levelName | ) |
Set the name of the level.
[in] | _levelName | New level name. |
void gazebo::gui::LevelInspectorDialog::ShowFloorWidget | ( | const bool | _show | ) |
Show or hide the floor widget.
[in] | _show | True to show the widget, false to hide. |