18 #ifndef _GAZEBO_GUI_BUILDING_DOORITEM_HH_ 19 #define _GAZEBO_GUI_BUILDING_DOORITEM_HH_ 22 #include <ignition/math/Vector3.hh> 34 class DoorItemPrivate;
52 public:
virtual ignition::math::Vector3d Size()
const;
55 public:
virtual ignition::math::Vector3d ScenePosition()
const;
58 public:
virtual double SceneRotation()
const;
61 private:
virtual void paint(QPainter *_painter,
62 const QStyleOptionGraphicsItem *_option, QWidget *_widget);
65 private:
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *_event);
68 private slots:
void OnApply();
71 private slots:
void OnOpenInspector();
74 private slots:
void OnDeleteItem();
77 public:
void DoorChanged();
80 private:
void SizeChanged();
84 private: std::unique_ptr<DoorItemPrivate> dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:33
2D representation of a door
Definition: DoorItem.hh:41
2D rectangle.
Definition: RectItem.hh:49