Dialog for configuring a staircase item.
More...
#include <StairsInspectorDialog.hh>
Inherits BaseInspectorDialog.
|
| void | Applied () |
| | Qt signal emitted to indicate that changes should be applied. More...
|
| |
|
| 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...
|
| |
Dialog for configuring a staircase item.
§ StairsInspectorDialog()
Constructor.
- Parameters
-
| [in] | _parent | Parent QWidget. |
§ ~StairsInspectorDialog()
§ Applied
Qt signal emitted to indicate that changes should be applied.
§ Color()
Get the color.
- Returns
- Color.
§ Depth()
Get the depth the staircase.
- Returns
- Staircase depth in pixels.
§ Height()
Get the height the staircase.
- Returns
- Staircase height in pixels.
§ InitColorComboBox()
| void InitColorComboBox |
( |
| ) |
|
|
inherited |
Initiate color combo box.
§ InitTextureComboBox()
| void InitTextureComboBox |
( |
| ) |
|
|
inherited |
Initiate texture combo box.
§ OnApply
Qt callback when the Apply button is pressed.
§ OnCancel
Qt callback when the Cancel button is pressed.
§ OnOK
Qt callback when the Ok button is pressed.
§ SetColor()
Set the color.
- Parameters
-
§ SetDepth()
| void SetDepth |
( |
const double |
_depth | ) |
|
Set the depth of the staircase.
- Parameters
-
| [in] | _depth | Depth in pixels. |
§ SetHeight()
| void SetHeight |
( |
const double |
_height | ) |
|
Set the height of the staircase.
- Parameters
-
| [in] | _height | Height in pixels. |
§ SetName()
| void SetName |
( |
const std::string & |
_name | ) |
|
Set the name of the staircase.
- Parameters
-
§ SetStartPosition()
| void SetStartPosition |
( |
const ignition::math::Vector2d & |
_pos | ) |
|
Set the start position of the staircase.
- Parameters
-
| [in] | _pos | Start position in pixel coordinates. |
§ SetSteps()
| void SetSteps |
( |
const int |
_steps | ) |
|
Set the number of steps in the staircase.
- Parameters
-
| [in] | _steps | Number of steps. |
§ SetTexture()
| void SetTexture |
( |
const std::string & |
_texture | ) |
|
|
inherited |
Set the texture.
- Parameters
-
§ SetWidth()
| void SetWidth |
( |
const double |
_width | ) |
|
Set the width of the staircase.
- Parameters
-
| [in] | _width | Width in pixels. |
§ StartPosition()
| ignition::math::Vector2d StartPosition |
( |
| ) |
const |
Get start position (bottom-end) of the staircase.
- Returns
- The start position of the staircase in pixel coordinates.
§ Steps()
Get the number of steps in the staircase.
- Returns
- Number of steps in the staircase.
§ Texture()
| std::string Texture |
( |
| ) |
const |
|
inherited |
Get the texture.
- Returns
- Texture.
§ Width()
Get the width the staircase.
- Returns
- Staircase width in pixels.
§ colorComboBox
Combo box for selecting the color.
§ textureComboBox
| QComboBox* textureComboBox |
|
protectedinherited |
Combo box for selecting the texture.
The documentation for this class was generated from the following file: