Dialog for configuring a window or door item.
More...
#include <WindowDoorInspectorDialog.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 window or door item.
Dialog modes.
Enumerator |
---|
WINDOW |
Window mode.
|
DOOR |
Door mode.
|
Constructor.
- Parameters
-
[in] | _mode | Dialog mode |
[in] | _parent | Parent QWidget. |
Qt signal emitted to indicate that changes should be applied.
ignition::math::Color Color |
( |
| ) |
const |
|
inherited |
Get the color.
- Returns
- Color.
Get the item depth.
- Returns
- Depth in pixels.
double Elevation |
( |
| ) |
const |
Get the item elevation.
- Returns
- Item elevation in pixels.
Get the item height.
- Returns
- Height in pixels.
void InitColorComboBox |
( |
| ) |
|
|
inherited |
Initiate color combo box.
void InitTextureComboBox |
( |
| ) |
|
|
inherited |
Initiate texture combo box.
Qt callback when the Apply button is pressed.
Qt callback when the Cancel button is pressed.
Qt callback when the Ok button is pressed.
ignition::math::Vector2d Position |
( |
| ) |
const |
Get the item position.
- Returns
- Item position in pixel coordinates.
void SetColor |
( |
const ignition::math::Color & |
_color | ) |
|
|
inherited |
Set the color.
- Parameters
-
void SetDepth |
( |
const double |
_depth | ) |
|
Set the item depth.
- Parameters
-
[in] | _depth | Depth in pixels. |
void SetElevation |
( |
const double |
_elevation | ) |
|
Set the item elevation.
- Parameters
-
[in] | _elevation | Item elevation in pixels. |
void SetHeight |
( |
const double |
_height | ) |
|
Set the item height.
- Parameters
-
[in] | _height | Height in pixels. |
void SetName |
( |
const std::string & |
_name | ) |
|
Set the item name.
- Parameters
-
void SetPosition |
( |
const ignition::math::Vector2d & |
_pos | ) |
|
Set the item scene position.
- Parameters
-
[in] | _pos | Position in pixel coordinates. |
void SetTexture |
( |
const std::string & |
_texture | ) |
|
|
inherited |
Set the texture.
- Parameters
-
void SetType |
( |
const std::string & |
_type | ) |
|
Set the item type.
- Parameters
-
void SetWidth |
( |
const double |
_width | ) |
|
Set the item width.
- Parameters
-
[in] | _width | Width in pixels. |
std::string Texture |
( |
| ) |
const |
|
inherited |
Get the texture.
- Returns
- Texture.
std::string Type |
( |
| ) |
const |
Get the item type.
- Returns
- Item type.
Get the item width.
- Returns
- Width 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: