18 #ifndef ESEVENTADDPOLYGON_H 19 #define ESEVENTADDPOLYGON_H 25 class QGraphicsSceneMouseEvent;
46 #endif // ESEVENTADDPOLYGON_H
ESEventAddPolygon(ElementScene *scene)
ESEventAddPolygon::ESEventAddPolygon.
The ESEventAddPolygon class This ESEvent manage creation of polygon in an ElementScene.
bool mousePressEvent(QGraphicsSceneMouseEvent *event) override
ESEventAddPolygon::mousePressEvent.
bool mouseMoveEvent(QGraphicsSceneMouseEvent *event) override
ESEventAddPolygon::mouseMoveEvent.
~ESEventAddPolygon() override
ESEventAddPolygon::~ESEventAddPolygon.
bool mouseReleaseEvent(QGraphicsSceneMouseEvent *event) override
ESEventAddPolygon::mouseReleaseEvent.
The PartPolygon class This class represents a polygon primitive which may be used to compose the draw...
bool mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event) override
ESEventAddPolygon::mouseDoubleClickEvent.