18 #ifndef _GAZEBO_GUI_BUILDING_DOORITEM_HH_
19 #define _GAZEBO_GUI_BUILDING_DOORITEM_HH_
33 class DoorItemPrivate;
51 public:
virtual QVector3D GetSize()
const;
54 public:
virtual QVector3D GetScenePosition()
const;
57 public:
virtual double GetSceneRotation()
const;
60 private:
virtual void paint(QPainter *_painter,
61 const QStyleOptionGraphicsItem *_option, QWidget *_widget);
64 private:
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *_event);
67 private slots:
void OnApply();
70 private slots:
void OnOpenInspector();
73 private slots:
void OnDeleteItem();
76 public:
void DoorChanged();
79 private:
void SizeChanged();
83 private: std::unique_ptr<DoorItemPrivate> dataPtr;
#define GZ_GUI_VISIBLE
Definition: system.hh:284
2D representation of a door
Definition: DoorItem.hh:40
2D rectangle.
Definition: RectItem.hh:45