18 #ifndef _GAZEBO_GUI_BUILDING_WALLSEGMENTITEM_HH_
19 #define _GAZEBO_GUI_BUILDING_WALLSEGMENTITEM_HH_
33 class WallSegmentItemPrivate;
49 const double _height);
56 public:
double GetHeight()
const;
60 public:
void SetHeight(
double _height);
67 public:
void Update();
70 public:
void WallSegmentChanged();
73 public:
void UpdateInspector();
76 public:
void SetHighlighted(
bool _highlighted);
79 protected:
void SegmentUpdated();
83 private:
void contextMenuEvent(QGraphicsSceneContextMenuEvent *_event);
87 private:
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *_event);
92 private: QVariant itemChange(GraphicsItemChange _change,
93 const QVariant &_value);
96 private slots:
void OnApply();
99 private slots:
void OnOpenInspector();
102 private slots:
void OnDeleteItem();
106 private: std::unique_ptr<WallSegmentItemPrivate> dataPtr;
#define GZ_GUI_VISIBLE
Definition: system.hh:284
2D line segment.
Definition: SegmentItem.hh:43
2D representation of a wall.
Definition: WallSegmentItem.hh:40