Dialog for configuring a wall item.
More...
#include <WallInspectorDialog.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 wall item.
Constructor.
- Parameters
-
[in] | _parent | Parent QWidget. |
Qt signal emitted to indicate that changes should be applied.
Get the color.
- Returns
- Color.
ignition::math::Vector2d EndPosition |
( |
| ) |
const |
Get the end position of the wall segment.
- Returns
- Wall segment end position in pixel coordinates.
Get the height of the wall.
- Returns
- Wall height in pixels.
void InitColorComboBox |
( |
| ) |
|
|
inherited |
Initiate color combo box.
void InitTextureComboBox |
( |
| ) |
|
|
inherited |
Initiate texture combo box.
Get the length the wall segment.
- Returns
- Wall segment length in pixels.
Qt callback when the Apply button is pressed.
Qt callback when the Cancel button is pressed.
Qt callback when the Ok button is pressed.
Set the color.
- Parameters
-
void SetEndPosition |
( |
const ignition::math::Vector2d & |
_pos | ) |
|
Set the end position of the wall segment.
- Parameters
-
[in] | _pos | end position of the wall segment in pixel coordinates. |
void SetHeight |
( |
const double |
_height | ) |
|
Set the height of the wall.
- Parameters
-
[in] | _height | Height of wall in pixels. |
void SetLength |
( |
const double |
_length | ) |
|
Set the length of the wall segment.
- Parameters
-
[in] | _length | Length of the wall segment in pixels. |
void SetName |
( |
const std::string & |
_name | ) |
|
Set the name of the wall.
- Parameters
-
[in] | _name | Name to set the wall to. |
void SetStartPosition |
( |
const ignition::math::Vector2d & |
_pos | ) |
|
Set the start position of the wall segment.
- Parameters
-
[in] | _pos | Start position of the wall segment in pixel coordinates. |
void SetTexture |
( |
const std::string & |
_texture | ) |
|
|
inherited |
Set the texture.
- Parameters
-
void SetThickness |
( |
const double |
_thickness | ) |
|
Set the thickness of the wall.
- Parameters
-
[in] | _thickness | Thickness of wall in pixels. |
ignition::math::Vector2d StartPosition |
( |
| ) |
const |
Get the start position of the wall segment.
- Returns
- Wall segment start position in pixel coordinates.
std::string Texture |
( |
| ) |
const |
|
inherited |
Get the texture.
- Returns
- Texture.
double Thickness |
( |
| ) |
const |
Get the thickness of the wall.
- Returns
- Wall thickness in pixels.
Combo box for selecting the color.
QComboBox* textureComboBox |
|
protectedinherited |
Combo box for selecting the texture.
The documentation for this class was generated from the following file: