Dialog for configuring a building level. More...
#include <LevelInspectorDialog.hh>
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... | |
Dialog for configuring a building level.
gazebo::gui::LevelInspectorDialog::LevelInspectorDialog | ( | QWidget * | _parent = 0 | ) |
Constructor.
[in] | _parent | Parent QWidget. |
gazebo::gui::LevelInspectorDialog::~LevelInspectorDialog | ( | ) |
Destructor.
|
signal |
Qt signal emitted to indicate that changes should be applied.
double gazebo::gui::LevelInspectorDialog::GetHeight | ( | ) | const |
Get the height of the level.
std::string gazebo::gui::LevelInspectorDialog::GetLevelName | ( | ) | const |
Get the name of the level.
void gazebo::gui::LevelInspectorDialog::SetHeight | ( | 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. |
QWidget* gazebo::gui::LevelInspectorDialog::floorWidget |
Widget containing the floor specs.