18 #ifndef _WALL_SEGMENT_ITEM_HH_
19 #define _WALL_SEGMENT_ITEM_HH_
33 class WallInspectorDialog;
50 const double _height);
57 public:
double GetHeight()
const;
61 public:
void SetHeight(
double _height);
68 public:
void Update();
71 public:
void WallSegmentChanged();
74 public:
void UpdateInspector();
77 public:
void SetHighlighted(
bool _highlighted);
80 protected:
void SegmentUpdated();
84 private:
void contextMenuEvent(QGraphicsSceneContextMenuEvent *_event);
88 private:
void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *
94 private: QVariant itemChange(GraphicsItemChange _change,
95 const QVariant &_value);
98 private slots:
void OnApply();
101 private slots:
void OnOpenInspector();
104 private slots:
void OnDeleteItem();
107 private:
double wallThickness;
110 private:
double wallHeight;
116 private: QAction *openInspectorAct;
119 private: QAction *deleteItemAct;
Measurement lines and values.
Definition: MeasureItem.hh:36
2D line segment.
Definition: SegmentItem.hh:38
Base class of a items that have building level properties such as the level number and level height...
Definition: BuildingItem.hh:33
Dialog for configuring a wall item.
Definition: WallInspectorDialog.hh:35
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48
2D representation of a wall.
Definition: WallSegmentItem.hh:40