Go to the documentation of this file.
17 #ifndef _GAZEBO_GUI_BUILDING_WINDOWDOORINSPECTORDIALOG_HH_
18 #define _GAZEBO_GUI_BUILDING_WINDOWDOORINSPECTORDIALOG_HH_
22 #include <ignition/math/Vector2.hh>
34 class WindowDoorInspectorDialogPrivate;
59 QWidget *_parent = 0);
66 public:
double Width()
const;
70 public:
double Height()
const;
74 public:
double Depth()
const;
78 public: ignition::math::Vector2d Position()
const;
82 public:
double Elevation()
const;
86 public: std::string Type()
const;
90 public:
void SetName(
const std::string &_name);
94 public:
void SetWidth(
const double _width);
98 public:
void SetHeight(
const double _height);
102 public:
void SetDepth(
const double _depth);
106 public:
void SetPosition(
const ignition::math::Vector2d &_pos);
110 public:
void SetElevation(
const double _elevation);
114 public:
void SetType(
const std::string &_type);
118 private: std::unique_ptr<WindowDoorInspectorDialogPrivate> dataPtr;
void SetName(const std::string &_name)
Set the item name.
~WindowDoorInspectorDialog()
Destructor.
Forward declarations for the common classes.
Definition: Animation.hh:26
WindowDoorInspectorDialog(int _mode=WINDOW, QWidget *_parent=0)
Constructor.
ignition::math::Vector2d Position() const
Get the item position.
double Elevation() const
Get the item elevation.
void SetWidth(const double _width)
Set the item width.
void SetElevation(const double _elevation)
Set the item elevation.
void SetHeight(const double _height)
Set the item height.
void SetDepth(const double _depth)
Set the item depth.
Base Dialog for a specific inspector dialog.
Definition: BaseInspectorDialog.hh:39
void SetType(const std::string &_type)
Set the item type.
std::string Type() const
Get the item type.
void SetPosition(const ignition::math::Vector2d &_pos)
Set the item scene position.
@ DOOR
Door mode.
Definition: WindowDoorInspectorDialog.hh:53
@ WINDOW
Window mode.
Definition: WindowDoorInspectorDialog.hh:50
mode
Dialog modes.
Definition: WindowDoorInspectorDialog.hh:47
gui
Definition: KeyEventHandler.hh:29
double Depth() const
Get the item depth.
Dialog for configuring a window or door item.
Definition: WindowDoorInspectorDialog.hh:41
double Height() const
Get the item height.
double Width() const
Get the item width.