18#ifndef DVEVENTINTERFACE_H
19#define DVEVENTINTERFACE_H
The DVEventInterface class This class is the main interface for manage event of a Diagram View....
Definition dveventinterface.h:43
virtual bool KeyReleaseEvent(QKeyEvent *event)
Definition dveventinterface.cpp:81
bool m_running
Definition dveventinterface.h:69
~DVEventInterface() override=0
Definition dveventinterface.cpp:33
virtual bool keyPressEvent(QKeyEvent *event)
DVEventInterface::keyPressEvent By default, press escape key abort the current action....
Definition dveventinterface.cpp:69
void finish()
finish emitted when the interface finishes its job
virtual bool isFinish() const
Definition dveventinterface.cpp:91
bool m_abort
Definition dveventinterface.h:70
virtual bool mouseDoubleClickEvent(QMouseEvent *event)
Definition dveventinterface.cpp:37
Diagram * m_diagram
Definition dveventinterface.h:68
virtual bool isRunning() const
Definition dveventinterface.cpp:86
virtual bool wheelEvent(QWheelEvent *event)
Definition dveventinterface.cpp:57
virtual bool mousePressEvent(QMouseEvent *event)
Definition dveventinterface.cpp:42
DiagramView * m_dv
Definition dveventinterface.h:67
virtual bool mouseMoveEvent(QMouseEvent *event)
Definition dveventinterface.cpp:47
virtual bool mouseReleaseEvent(QMouseEvent *event)
Definition dveventinterface.cpp:52
The Diagram class This class represents an electric diagram. It manages its various child elements,...
Definition diagram.h:56
Definition diagramview.h:39