18#ifndef _GAZEBO_GUI_BUILDING_WINDOWITEM_HH_
19#define _GAZEBO_GUI_BUILDING_WINDOWITEM_HH_
22#include <ignition/math/Vector3.hh>
34 class WindowItemPrivate;
52 public:
virtual ignition::math::Vector3d
Size()
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();
81 private: std::unique_ptr<WindowItemPrivate> dataPtr;
gui
Definition KeyEventHandler.hh:29
2D rectangle.
Definition RectItem.hh:51
2D representation of a window.
Definition WindowItem.hh:42
virtual double SceneRotation() const
Get the scene rotation of the editor item.
virtual ignition::math::Vector3d ScenePosition() const
Get the scene position of editor item.
void WindowChanged()
Emit window changed Qt signals.
virtual ignition::math::Vector3d Size() const
Get the size of the item in pixels.
Forward declarations for the common classes.
Definition Animation.hh:27