|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef ESEVENTADDARC_H
19 #define ESEVENTADDARC_H
25 class QGraphicsSceneMouseEvent;
51 #endif // ESEVENTADDARC_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
bool mouseMoveEvent(QGraphicsSceneMouseEvent *event) override
ESEventAddArc::mouseMoveEvent.
Definition: eseventaddarc.cpp:86
~ESEventAddArc() override
ESEventAddArc::~ESEventAddArc.
Definition: eseventaddarc.cpp:38
void setStartAngle(const int &start_angle) override
AbstractPartEllipse::setStartAngle Sets the start angle for an ellipse segment to angle,...
Definition: partarc.h:60
PartArc * m_arc
Definition: eseventaddarc.h:46
QIcon PartArc
Definition: qeticons.cpp:127
The ESEventAddArc class This ESEvent manage creation of arc in an ElementScene.
Definition: eseventaddarc.h:32
QETElementEditor * m_editor
Definition: eseventinterface.h:52
bool mouseReleaseEvent(QGraphicsSceneMouseEvent *event) override
ESEventAddArc::mouseReleaseEvent.
Definition: eseventaddarc.cpp:101
The PartArc class This class represents an elliptical arc primitive which may be used to compose the ...
Definition: partarc.h:32
ESEventAddArc(ElementScene *scene)
ESEventAddArc::ESEventAddArc.
Definition: eseventaddarc.cpp:29
QPointF m_mouse_pos
Definition: eseventaddarc.h:47
void updateHelpCross(const QPointF &p)
Definition: eseventinterface.cpp:110
bool m_inverted
Definition: eseventaddarc.h:48
QRectF rect
Definition: abstractpartellipse.h:44
bool m_running
Definition: eseventinterface.h:54
ElementScene * m_scene
Definition: eseventinterface.h:51
void updateArc()
ESEventAddArc::updateArc Redraw the arc with curent value.
Definition: eseventaddarc.cpp:129
bool mousePressEvent(QGraphicsSceneMouseEvent *event) override
ESEventAddPolygon::mousePressEvent.
Definition: eseventaddarc.cpp:48
The ElementScene class This class is the canvas allowing the visual edition of an electrial element....
Definition: elementscene.h:40
QPointF m_origin
Definition: eseventaddarc.h:47
virtual bool keyPressEvent(QKeyEvent *event)
ESEventInterface::keyPressEvent By default, press escape key abort the curent action.
Definition: eseventinterface.cpp:88
QIcon tr
Definition: qeticons.cpp:206
bool keyPressEvent(QKeyEvent *event) override
ESEventAddArc::keyPressEvent.
Definition: eseventaddarc.cpp:115
Definition: eseventinterface.h:30
Definition: editorcommands.h:125