|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef ESEVENTADDELLIPSE_H
19 #define ESEVENTADDELLIPSE_H
26 class QGraphicsSceneMouseEvent;
47 #endif // ESEVENTADDELLIPSE_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
ESEventAddEllipse(ElementScene *scene)
ESEventAddEllipse::ESEventAddEllipse.
Definition: eseventaddellipse.cpp:29
bool mouseReleaseEvent(QGraphicsSceneMouseEvent *event) override
ESEventAddEllipse::mouseReleaseEvent.
Definition: eseventaddellipse.cpp:101
QETElementEditor * m_editor
Definition: eseventinterface.h:52
The ESEventAddEllipse class This ESEvent manage creation of ellpise in an ElementScene.
Definition: eseventaddellipse.h:33
QPointF m_new_pos
Definition: eseventaddellipse.h:44
QPointF m_origin
Definition: eseventaddellipse.h:44
The PartEllipse class This class represents an ellipse primitive which may be used to compose the dra...
Definition: partellipse.h:31
void updateHelpCross(const QPointF &p)
Definition: eseventinterface.cpp:110
QIcon PartEllipse
Definition: qeticons.cpp:129
PartEllipse * m_ellipse
Definition: eseventaddellipse.h:43
bool mousePressEvent(QGraphicsSceneMouseEvent *event) override
ESEventAddEllipse::mousePressEvent.
Definition: eseventaddellipse.cpp:48
bool mouseMoveEvent(QGraphicsSceneMouseEvent *event) override
ESEventAddRect::mouseMoveEvent.
Definition: eseventaddellipse.cpp:79
bool m_running
Definition: eseventinterface.h:54
ElementScene * m_scene
Definition: eseventinterface.h:51
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
~ESEventAddEllipse() override
ESEventAddEllipse::~ESEventAddEllipse.
Definition: eseventaddellipse.cpp:37
Definition: eseventinterface.h:30
Definition: editorcommands.h:125