QElectroTech 0.100.0-dev
|
The ESEventAddTerminal class This ESEvent manage creation of terminal in an ElementScene. More...
#include <eseventaddterminal.h>
Public Member Functions | |
ESEventAddTerminal (ElementScene *scene) | |
ESEventAddTerminal::ESEventAddTerminal. | |
~ESEventAddTerminal () override | |
ESEventAddTerminal::~ESEventAddTerminal. | |
bool | mouseMoveEvent (QGraphicsSceneMouseEvent *event) override |
ESEventAddTerminal::mouseMoveEvent. | |
bool | mouseReleaseEvent (QGraphicsSceneMouseEvent *event) override |
ESEventAddTerminal::mouseReleaseEvent. | |
bool | keyPressEvent (QKeyEvent *event) override |
ESEventAddTerminal::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 | mousePressEvent (QGraphicsSceneMouseEvent *event) |
virtual bool | wheelEvent (QGraphicsSceneWheelEvent *event) |
virtual bool | KeyReleaseEvent (QKeyEvent *event) |
virtual bool | isRunning () const |
virtual bool | isFinish () const |
Private Attributes | |
PartTerminal * | m_terminal |
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 ESEventAddTerminal class This ESEvent manage creation of terminal in an ElementScene.
ESEventAddTerminal::ESEventAddTerminal | ( | ElementScene * | scene | ) |
ESEventAddTerminal::ESEventAddTerminal.
scene |
|
override |
|
overridevirtual |
ESEventAddTerminal::keyPressEvent.
event |
Reimplemented from ESEventInterface.
|
overridevirtual |
ESEventAddTerminal::mouseMoveEvent.
event |
Reimplemented from ESEventInterface.
|
overridevirtual |
ESEventAddTerminal::mouseReleaseEvent.
event |
Reimplemented from ESEventInterface.
|
private |