18#ifndef ESEVENTINTERFACE_H
19#define ESEVENTINTERFACE_H
21class QGraphicsSceneMouseEvent;
22class QGraphicsSceneWheelEvent;
26class QGraphicsLineItem;
41 virtual bool wheelEvent (QGraphicsSceneWheelEvent *event);
Definition eseventinterface.h:30
virtual bool mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
Definition eseventinterface.cpp:60
virtual bool mouseMoveEvent(QGraphicsSceneMouseEvent *event)
Definition eseventinterface.cpp:70
void updateHelpCross(const QPointF &p)
Definition eseventinterface.cpp:115
virtual bool wheelEvent(QGraphicsSceneWheelEvent *event)
Definition eseventinterface.cpp:80
virtual bool isFinish() const
Definition eseventinterface.cpp:110
bool m_running
Definition eseventinterface.h:54
QGraphicsLineItem * m_help_verti
Definition eseventinterface.h:53
virtual bool keyPressEvent(QKeyEvent *event)
ESEventInterface::keyPressEvent By default, press escape key abort the current action.
Definition eseventinterface.cpp:91
void init()
ESEventInterface::init Init this event interface.
Definition eseventinterface.cpp:41
virtual bool isRunning() const
Definition eseventinterface.cpp:105
virtual bool mousePressEvent(QGraphicsSceneMouseEvent *event)
Definition eseventinterface.cpp:65
ElementScene * m_scene
Definition eseventinterface.h:51
QETElementEditor * m_editor
Definition eseventinterface.h:52
virtual ~ESEventInterface()
ESEventInterface::~ESEventInterface Destructor.
Definition eseventinterface.cpp:51
virtual bool mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Definition eseventinterface.cpp:75
bool m_abort
Definition eseventinterface.h:54
virtual bool KeyReleaseEvent(QKeyEvent *event)
Definition eseventinterface.cpp:100
QGraphicsLineItem * m_help_horiz
Definition eseventinterface.h:53
The ElementScene class This class is the canvas allowing the visual edition of an electrical element....
Definition elementscene.h:46
Definition qetelementeditor.h:39