|
QElectroTech
0.8-dev
|
Go to the documentation of this file.
18 #ifndef ESEVENTINTERFACE_H
19 #define ESEVENTINTERFACE_H
21 class QGraphicsSceneMouseEvent;
22 class QGraphicsSceneWheelEvent;
26 class QGraphicsLineItem;
41 virtual bool wheelEvent (QGraphicsSceneWheelEvent *event);
57 #endif // ESEVENTINTERFACE_H
bool m_abort
Definition: eseventinterface.h:54
void init()
ESEventInterface::init Init this event interface.
Definition: eseventinterface.cpp:38
void slot_setNoDragToView()
Definition: qetelementeditor.cpp:602
virtual ~ESEventInterface()
ESEventInterface::~ESEventInterface Destructor.
Definition: eseventinterface.cpp:48
QETElementEditor * m_editor
Definition: eseventinterface.h:52
virtual bool isFinish() const
Definition: eseventinterface.cpp:106
virtual bool KeyReleaseEvent(QKeyEvent *event)
Definition: eseventinterface.cpp:97
void slot_setRubberBandToView()
Definition: qetelementeditor.cpp:595
virtual bool wheelEvent(QGraphicsSceneWheelEvent *event)
Definition: eseventinterface.cpp:77
void updateHelpCross(const QPointF &p)
Definition: eseventinterface.cpp:110
QGraphicsLineItem * m_help_horiz
Definition: eseventinterface.h:53
ESEventInterface(ElementScene *scene)
Definition: eseventinterface.cpp:23
bool m_running
Definition: eseventinterface.h:54
ElementScene * m_scene
Definition: eseventinterface.h:51
virtual bool isRunning() const
Definition: eseventinterface.cpp:102
void setBehavior(ElementScene::Behavior)
ElementScene::setBehavior Modify the current behavior of this scene.
Definition: elementscene.cpp:348
virtual bool mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Definition: eseventinterface.cpp:72
virtual bool mousePressEvent(QGraphicsSceneMouseEvent *event)
Definition: eseventinterface.cpp:62
virtual bool mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
Definition: eseventinterface.cpp:57
The ElementScene class This class is the canvas allowing the visual edition of an electrial element....
Definition: elementscene.h:40
virtual bool mouseMoveEvent(QGraphicsSceneMouseEvent *event)
Definition: eseventinterface.cpp:67
virtual bool keyPressEvent(QKeyEvent *event)
ESEventInterface::keyPressEvent By default, press escape key abort the curent action.
Definition: eseventinterface.cpp:88
QGraphicsLineItem * m_help_verti
Definition: eseventinterface.h:53
Definition: qetelementeditor.h:33
Definition: eseventinterface.h:30