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

Dialog for configuring a staircase item. More...

#include <StairsInspectorDialog.hh>

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

Signals

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

Public Member Functions

 StairsInspectorDialog (QWidget *_parent=0)
 Constructor. More...
 
 ~StairsInspectorDialog ()
 Destructor. More...
 
double GetDepth () const
 Get the depth the staircase. More...
 
double GetHeight () const
 Get the height the staircase. More...
 
QPointF GetStartPosition () const
 Get start position (bottom-end) of the staircase. More...
 
int GetSteps () const
 Get the number of steps in the staircase. More...
 
double GetWidth () const
 Get the width the staircase. More...
 
void SetDepth (double _depth)
 Set the depth of the staircase. More...
 
void SetHeight (double _height)
 Set the height of the staircase. More...
 
void SetName (const std::string &_name)
 Set the name of the staircase. More...
 
void SetStartPosition (const QPointF &_pos)
 Set the start position of the staircase. More...
 
void SetSteps (int _steps)
 Set the number of steps in the staircase. More...
 
void SetWidth (double _width)
 Set the width of the staircase. 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...
 

Additional Inherited Members

- 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 staircase item.

Constructor & Destructor Documentation

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

Constructor.

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

Destructor.

Member Function Documentation

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

Qt signal emitted to indicate that changes should be applied.

double gazebo::gui::StairsInspectorDialog::GetDepth ( ) const

Get the depth the staircase.

Returns
Staircase depth in pixels.
double gazebo::gui::StairsInspectorDialog::GetHeight ( ) const

Get the height the staircase.

Returns
Staircase height in pixels.
QPointF gazebo::gui::StairsInspectorDialog::GetStartPosition ( ) const

Get start position (bottom-end) of the staircase.

Returns
The start position of the staircase in pixel coordinates.
int gazebo::gui::StairsInspectorDialog::GetSteps ( ) const

Get the number of steps in the staircase.

Returns
Number of steps in the staircase.
double gazebo::gui::StairsInspectorDialog::GetWidth ( ) const

Get the width the staircase.

Returns
Staircase width in pixels.
void gazebo::gui::StairsInspectorDialog::SetDepth ( double  _depth)

Set the depth of the staircase.

Parameters
[in]_depthDepth in pixels.
void gazebo::gui::StairsInspectorDialog::SetHeight ( double  _height)

Set the height of the staircase.

Parameters
[in]_heightHeight in pixels.
void gazebo::gui::StairsInspectorDialog::SetName ( const std::string &  _name)

Set the name of the staircase.

Parameters
[in]_nameName to set to.
void gazebo::gui::StairsInspectorDialog::SetStartPosition ( const QPointF &  _pos)

Set the start position of the staircase.

Parameters
[in]_posStart position in pixel coordinates.
void gazebo::gui::StairsInspectorDialog::SetSteps ( int  _steps)

Set the number of steps in the staircase.

Parameters
[in]_stepsNumber of steps.
void gazebo::gui::StairsInspectorDialog::SetWidth ( double  _width)

Set the width of the staircase.

Parameters
[in]_widthWidth in pixels.

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