Dialog for configuring a window or door item.
More...
#include <WindowDoorInspectorDialog.hh>
Dialog for configuring a window or door item.
Dialog modes.
Enumerator |
---|
WINDOW |
Window mode.
|
DOOR |
Door mode.
|
gazebo::gui::WindowDoorInspectorDialog::WindowDoorInspectorDialog |
( |
int |
_mode = WINDOW , |
|
|
QWidget * |
_parent = 0 |
|
) |
| |
Constructor.
- Parameters
-
[in] | _mode | Dialog mode |
[in] | _parent | Parent QWidget. |
gazebo::gui::WindowDoorInspectorDialog::~WindowDoorInspectorDialog |
( |
| ) |
|
double gazebo::gui::WindowDoorInspectorDialog::Depth |
( |
| ) |
const |
Get the item depth.
- Returns
- Depth in pixels.
double gazebo::gui::WindowDoorInspectorDialog::Elevation |
( |
| ) |
const |
Get the item elevation.
- Returns
- Item elevation in pixels.
double gazebo::gui::WindowDoorInspectorDialog::Height |
( |
| ) |
const |
Get the item height.
- Returns
- Height in pixels.
ignition::math::Vector2d gazebo::gui::WindowDoorInspectorDialog::Position |
( |
| ) |
const |
Get the item position.
- Returns
- Item position in pixel coordinates.
void gazebo::gui::WindowDoorInspectorDialog::SetDepth |
( |
const double |
_depth | ) |
|
Set the item depth.
- Parameters
-
[in] | _depth | Depth in pixels. |
void gazebo::gui::WindowDoorInspectorDialog::SetElevation |
( |
const double |
_elevation | ) |
|
Set the item elevation.
- Parameters
-
[in] | _elevation | Item elevation in pixels. |
void gazebo::gui::WindowDoorInspectorDialog::SetHeight |
( |
const double |
_height | ) |
|
Set the item height.
- Parameters
-
[in] | _height | Height in pixels. |
void gazebo::gui::WindowDoorInspectorDialog::SetName |
( |
const std::string & |
_name | ) |
|
Set the item name.
- Parameters
-
void gazebo::gui::WindowDoorInspectorDialog::SetPosition |
( |
const ignition::math::Vector2d & |
_pos | ) |
|
Set the item scene position.
- Parameters
-
[in] | _pos | Position in pixel coordinates. |
void gazebo::gui::WindowDoorInspectorDialog::SetType |
( |
const std::string & |
_type | ) |
|
Set the item type.
- Parameters
-
void gazebo::gui::WindowDoorInspectorDialog::SetWidth |
( |
const double |
_width | ) |
|
Set the item width.
- Parameters
-
[in] | _width | Width in pixels. |
std::string gazebo::gui::WindowDoorInspectorDialog::Type |
( |
| ) |
const |
Get the item type.
- Returns
- Item type.
double gazebo::gui::WindowDoorInspectorDialog::Width |
( |
| ) |
const |
Get the item width.
- Returns
- Width in pixels.
The documentation for this class was generated from the following file: