QElectroTech 0.100.0-dev
|
The ESEventAddText class This ESEvent manage creation of text in an ElementScene. More...
#include <eseventaddtext.h>
Public Member Functions | |
ESEventAddText (ElementScene *scene) | |
ESEventAddText::ESEventAddText. | |
~ESEventAddText () override | |
ESEventAddText::~ESEventAddText. | |
bool | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
ESEventAddText::mouseMoveEvent. | |
bool | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
ESEventAddText::mouseReleaseEvent. | |
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 | mousePressEvent (QGraphicsSceneMouseEvent *event) |
virtual bool | wheelEvent (QGraphicsSceneWheelEvent *event) |
virtual bool | keyPressEvent (QKeyEvent *event) |
ESEventInterface::keyPressEvent By default, press escape key abort the current action. | |
virtual bool | KeyReleaseEvent (QKeyEvent *event) |
virtual bool | isRunning () const |
virtual bool | isFinish () const |
Private Attributes | |
PartText * | m_text |
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 ESEventAddText class This ESEvent manage creation of text in an ElementScene.
ESEventAddText::ESEventAddText | ( | ElementScene * | scene | ) |
ESEventAddText::ESEventAddText.
scene |
|
override |
|
overridevirtual |
ESEventAddText::mouseMoveEvent.
event |
Reimplemented from ESEventInterface.
|
overridevirtual |
|
private |