|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef ESEVENTADDPOLYGON_H
19 #define ESEVENTADDPOLYGON_H
25 class QGraphicsSceneMouseEvent;
46 #endif // ESEVENTADDPOLYGON_H
bool m_abort
Definition: eseventinterface.h:54
QPointF snapToGrid(QPointF point)
ElementScene::snapToGrid Rounds the coordinates of the point passed as a parameter so that this point...
Definition: elementscene.cpp:1270
QUndoStack & undoStack()
ElementScene::undoStack.
Definition: elementscene.cpp:603
bool mouseMoveEvent(QGraphicsSceneMouseEvent *event) override
ESEventAddPolygon::mouseMoveEvent.
Definition: eseventaddpolygon.cpp:70
The ESEventAddPolygon class This ESEvent manage creation of polygon in an ElementScene.
Definition: eseventaddpolygon.h:32
QETElementEditor * m_editor
Definition: eseventinterface.h:52
PartPolygon * m_polygon
Definition: eseventaddpolygon.h:43
QPolygonF polygon
Definition: partpolygon.h:38
void removeLastPoint()
PartPolygon::removeLastPoint Remove the last point of polygon.
Definition: partpolygon.cpp:243
The PartPolygon class This class represents a polygon primitive which may be used to compose the draw...
Definition: partpolygon.h:34
~ESEventAddPolygon() override
ESEventAddPolygon::~ESEventAddPolygon.
Definition: eseventaddpolygon.cpp:37
void updateHelpCross(const QPointF &p)
Definition: eseventinterface.cpp:110
bool m_running
Definition: eseventinterface.h:54
ElementScene * m_scene
Definition: eseventinterface.h:51
ESEventAddPolygon(ElementScene *scene)
ESEventAddPolygon::ESEventAddPolygon.
Definition: eseventaddpolygon.cpp:29
bool mousePressEvent(QGraphicsSceneMouseEvent *event) override
ESEventAddPolygon::mousePressEvent.
Definition: eseventaddpolygon.cpp:47
bool mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event) override
ESEventAddPolygon::mouseDoubleClickEvent.
Definition: eseventaddpolygon.cpp:106
QIcon PartPolygon
Definition: qeticons.cpp:131
bool mouseReleaseEvent(QGraphicsSceneMouseEvent *event) override
ESEventAddPolygon::mouseReleaseEvent.
Definition: eseventaddpolygon.cpp:83
The ElementScene class This class is the canvas allowing the visual edition of an electrial element....
Definition: elementscene.h:40
QIcon tr
Definition: qeticons.cpp:206
void setClosed(bool close)
Definition: partpolygon.cpp:252
Definition: eseventinterface.h:30
Definition: editorcommands.h:125