QElectroTech
0.8-dev
|
The ESEventAddArc class This ESEvent manage creation of arc in an ElementScene. More...
#include <eseventaddarc.h>
Public Member Functions | |
ESEventAddArc (ElementScene *scene) | |
ESEventAddArc::ESEventAddArc. More... | |
~ESEventAddArc () override | |
ESEventAddArc::~ESEventAddArc. More... | |
bool | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
ESEventAddPolygon::mousePressEvent. More... | |
bool | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
ESEventAddArc::mouseMoveEvent. More... | |
bool | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
ESEventAddArc::mouseReleaseEvent. More... | |
bool | keyPressEvent (QKeyEvent *event) override |
ESEventAddArc::keyPressEvent. More... | |
Public Member Functions inherited from ESEventInterface | |
ESEventInterface (ElementScene *scene) | |
virtual | ~ESEventInterface () |
ESEventInterface::~ESEventInterface Destructor. More... | |
void | init () |
ESEventInterface::init Init this event interface. More... | |
virtual bool | mouseDoubleClickEvent (QGraphicsSceneMouseEvent *event) |
virtual bool | wheelEvent (QGraphicsSceneWheelEvent *event) |
virtual bool | KeyReleaseEvent (QKeyEvent *event) |
virtual bool | isRunning () const |
virtual bool | isFinish () const |
Private Member Functions | |
void | updateArc () |
ESEventAddArc::updateArc Redraw the arc with curent value. More... | |
Private Attributes | |
PartArc * | m_arc |
QPointF | m_origin |
QPointF | m_mouse_pos |
bool | m_inverted |
Additional Inherited Members | |
Protected Member Functions inherited from ESEventInterface | |
void | updateHelpCross (const QPointF &p) |
Protected Attributes inherited from ESEventInterface | |
ElementScene * | m_scene |
QETElementEditor * | m_editor |
QGraphicsLineItem * | m_help_horiz |
QGraphicsLineItem * | m_help_verti |
bool | m_running |
bool | m_abort |
The ESEventAddArc class This ESEvent manage creation of arc in an ElementScene.
ESEventAddArc::ESEventAddArc | ( | ElementScene * | scene | ) |
scene |
|
override |
|
overridevirtual |
event |
Reimplemented from ESEventInterface.
|
overridevirtual |
ESEventAddArc::mouseMoveEvent.
event |
Reimplemented from ESEventInterface.
|
overridevirtual |
ESEventAddPolygon::mousePressEvent.
event |
Reimplemented from ESEventInterface.
|
overridevirtual |
|
private |
ESEventAddArc::updateArc Redraw the arc with curent value.
|
private |
|
private |
|
private |
|
private |