Dialog for configuring a wall item.
More...
#include <WallInspectorDialog.hh>
Inherits BaseInspectorDialog.
|
void | Applied () |
| Qt signal emitted to indicate that changes should be applied.
|
|
|
| WallInspectorDialog (QWidget *_parent=0) |
| Constructor.
|
|
| ~WallInspectorDialog () |
| Destructor.
|
|
ignition::math::Color | Color () const |
| Get the color.
|
|
ignition::math::Vector2d | EndPosition () const |
| Get the end position of the wall segment.
|
|
double | Height () const |
| Get the height of the wall.
|
|
void | InitColorComboBox () |
| Initiate color combo box.
|
|
void | InitTextureComboBox () |
| Initiate texture combo box.
|
|
double | Length () const |
| Get the length the wall segment.
|
|
void | SetColor (const ignition::math::Color &_color) |
| Set the color.
|
|
void | SetEndPosition (const ignition::math::Vector2d &_pos) |
| Set the end position of the wall segment.
|
|
void | SetHeight (const double _height) |
| Set the height of the wall.
|
|
void | SetLength (const double _length) |
| Set the length of the wall segment.
|
|
void | SetName (const std::string &_name) |
| Set the name of the wall.
|
|
void | SetStartPosition (const ignition::math::Vector2d &_pos) |
| Set the start position of the wall segment.
|
|
void | SetTexture (const std::string &_texture) |
| Set the texture.
|
|
void | SetThickness (const double _thickness) |
| Set the thickness of the wall.
|
|
ignition::math::Vector2d | StartPosition () const |
| Get the start position of the wall segment.
|
|
std::string | Texture () const |
| Get the texture.
|
|
double | Thickness () const |
| Get the thickness of the wall.
|
|
|
void | OnApply () |
| Qt callback when the Apply button is pressed.
|
|
void | OnCancel () |
| Qt callback when the Cancel button is pressed.
|
|
void | OnOK () |
| Qt callback when the Ok button is pressed.
|
|
Dialog for configuring a wall item.
◆ WallInspectorDialog()
Constructor.
- Parameters
-
[in] | _parent | Parent QWidget. |
◆ ~WallInspectorDialog()
◆ Applied
Qt signal emitted to indicate that changes should be applied.
◆ Color()
ignition::math::Color Color |
( |
| ) |
const |
|
inherited |
Get the color.
- Returns
- Color.
◆ EndPosition()
ignition::math::Vector2d EndPosition |
( |
| ) |
const |
Get the end position of the wall segment.
- Returns
- Wall segment end position in pixel coordinates.
◆ Height()
Get the height of the wall.
- Returns
- Wall height in pixels.
◆ InitColorComboBox()
void InitColorComboBox |
( |
| ) |
|
|
inherited |
Initiate color combo box.
◆ InitTextureComboBox()
void InitTextureComboBox |
( |
| ) |
|
|
inherited |
Initiate texture combo box.
◆ Length()
Get the length the wall segment.
- Returns
- Wall segment length in pixels.
◆ 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()
void SetColor |
( |
const ignition::math::Color & | _color | ) |
|
|
inherited |
Set the color.
- Parameters
-
◆ SetEndPosition()
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. |
◆ SetHeight()
void SetHeight |
( |
const double | _height | ) |
|
Set the height of the wall.
- Parameters
-
[in] | _height | Height of wall in pixels. |
◆ SetLength()
void SetLength |
( |
const double | _length | ) |
|
Set the length of the wall segment.
- Parameters
-
[in] | _length | Length of the wall segment in pixels. |
◆ SetName()
void SetName |
( |
const std::string & | _name | ) |
|
Set the name of the wall.
- Parameters
-
[in] | _name | Name to set the wall to. |
◆ SetStartPosition()
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. |
◆ SetTexture()
void SetTexture |
( |
const std::string & | _texture | ) |
|
|
inherited |
Set the texture.
- Parameters
-
◆ SetThickness()
void SetThickness |
( |
const double | _thickness | ) |
|
Set the thickness of the wall.
- Parameters
-
[in] | _thickness | Thickness of wall in pixels. |
◆ StartPosition()
ignition::math::Vector2d StartPosition |
( |
| ) |
const |
Get the start position of the wall segment.
- Returns
- Wall segment start position in pixel coordinates.
◆ Texture()
std::string Texture |
( |
| ) |
const |
|
inherited |
Get the texture.
- Returns
- Texture.
◆ Thickness()
double Thickness |
( |
| ) |
const |
Get the thickness of the wall.
- Returns
- Wall thickness 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: