18 #ifndef _DOOR_ITEM_HH_
19 #define _DOOR_ITEM_HH_
32 class WindowDoorInspectorDialog;
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 DoorChanged();
79 private:
void SizeChanged();
82 private:
double doorDepth;
85 private:
double doorHeight;
88 private:
double doorWidth;
91 private:
double doorElevation;
94 private: QPointF doorPos;
Definition: WindowDoorInspectorDialog.hh:30
2D representation of a door
Definition: DoorItem.hh:39
2D rectangle.
Definition: RectItem.hh:40
#define GZ_GUI_BUILDING_VISIBLE
Definition: system.hh:393
Base class of a items that have building level properties such as the level number and level height...
Definition: BuildingItem.hh:33