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...
 
QColor GetColor () const
 Get the color of the staircase. 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...
 
QString GetTexture () const
 Get the texture of the staircase. More...
 
double GetWidth () const
 Get the width the staircase. More...
 
void SetColor (const QColor _color)
 Set the color of 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 SetTexture (const QString _texture)
 Set the texture of the staircase. More...
 
void SetWidth (double _width)
 Set the width of the staircase. 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.

QColor gazebo::gui::StairsInspectorDialog::GetColor ( ) const

Get the color of the staircase.

Returns
Stairs color.
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.
QString gazebo::gui::StairsInspectorDialog::GetTexture ( ) const

Get the texture of the staircase.

Returns
Texture.
double gazebo::gui::StairsInspectorDialog::GetWidth ( ) const

Get the width the staircase.

Returns
Staircase width in pixels.
void gazebo::gui::StairsInspectorDialog::SetColor ( const QColor  _color)

Set the color of the staircase.

Parameters
[in]_colorColor.
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::SetTexture ( const QString  _texture)

Set the texture of the staircase.

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