18 #ifndef _GAZEBO_GUI_BUILDING_WINDOWITEM_HH_
19 #define _GAZEBO_GUI_BUILDING_WINDOWITEM_HH_
33 class WindowItemPrivate;
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 WindowChanged();
80 private: std::unique_ptr<WindowItemPrivate> dataPtr;
#define GZ_GUI_VISIBLE
Definition: system.hh:284
2D representation of a window.
Definition: WindowItem.hh:40
2D rectangle.
Definition: RectItem.hh:45