18 #ifndef _WALL_ITEM_HH_
19 #define _WALL_ITEM_HH_
32 class LineSegmentItem;
34 class WallInspectorDialog;
48 public:
WallItem(
const QPointF &_start,
const QPointF &_end);
55 public:
double GetHeight()
const;
59 public:
void SetHeight(
double _height);
66 public:
void Update();
78 private:
void contextMenuEvent(QGraphicsSceneContextMenuEvent *_event);
86 private slots:
void OnApply();
89 private slots:
void OnOpenInspector();
92 private slots:
void OnDeleteItem();
95 private:
void WallChanged();
101 private:
void SetSegmentSelected(
unsigned int _index,
bool _selected);
104 private:
double wallThickness;
107 private:
double wallHeight;
110 private:
double scale;
116 private: QAction *openInspectorAct;
119 private: QAction *deleteItemAct;
2D polyline.
Definition: PolylineItem.hh:39
2D representation of a wall.
Definition: WallItem.hh:41
2D line segment.
Definition: LineSegmentItem.hh:35
Definition: GrabberHandle.hh:28
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:34
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48