QElectroTech 0.100.0-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. | |
~ESEventAddArc () override | |
ESEventAddArc::~ESEventAddArc. | |
bool | mousePressEvent (QGraphicsSceneMouseEvent *event) override |
ESEventAddPolygon::mousePressEvent. | |
bool | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
ESEventAddArc::mouseMoveEvent. | |
bool | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
ESEventAddArc::mouseReleaseEvent. | |
bool | keyPressEvent (QKeyEvent *event) override |
ESEventAddArc::keyPressEvent. | |
Public Member Functions inherited from ESEventInterface | |
ESEventInterface (ElementScene *scene) | |
virtual | ~ESEventInterface () |
ESEventInterface::~ESEventInterface Destructor. | |
void | init () |
ESEventInterface::init Init this event interface. | |
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 current value. | |
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 current value.
|
private |
|
private |
|
private |
|
private |