Dialog for configuring a staircase item.
More...
#include <StairsInspectorDialog.hh>
|
void | Applied () |
| Qt signal emitted to indicate that changes should be applied. More...
|
|
Dialog for configuring a staircase item.
gazebo::gui::StairsInspectorDialog::StairsInspectorDialog |
( |
QWidget * |
_parent = 0 | ) |
|
Constructor.
- Parameters
-
[in] | _parent | Parent QWidget. |
gazebo::gui::StairsInspectorDialog::~StairsInspectorDialog |
( |
| ) |
|
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] | _depth | Depth in pixels. |
void gazebo::gui::StairsInspectorDialog::SetHeight |
( |
double |
_height | ) |
|
Set the height of the staircase.
- Parameters
-
[in] | _height | Height in pixels. |
void gazebo::gui::StairsInspectorDialog::SetName |
( |
const std::string & |
_name | ) |
|
Set the name of the staircase.
- Parameters
-
void gazebo::gui::StairsInspectorDialog::SetStartPosition |
( |
const QPointF & |
_pos | ) |
|
Set the start position of the staircase.
- Parameters
-
[in] | _pos | Start position in pixel coordinates. |
void gazebo::gui::StairsInspectorDialog::SetSteps |
( |
int |
_steps | ) |
|
Set the number of steps in the staircase.
- Parameters
-
[in] | _steps | Number of steps. |
void gazebo::gui::StairsInspectorDialog::SetWidth |
( |
double |
_width | ) |
|
Set the width of the staircase.
- Parameters
-
[in] | _width | Width in pixels. |
The documentation for this class was generated from the following file: