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
QETElementEditor * m_editor
virtual ~ESEventInterface()
ESEventInterface::~ESEventInterface Destructor.
virtual bool wheelEvent(QGraphicsSceneWheelEvent *event)
void init()
ESEventInterface::init Init this event interface.
QGraphicsLineItem * m_help_horiz
virtual bool mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
void updateHelpCross(const QPointF &p)
virtual bool KeyReleaseEvent(QKeyEvent *event)
virtual bool mousePressEvent(QGraphicsSceneMouseEvent *event)
QGraphicsLineItem * m_help_verti
virtual bool keyPressEvent(QKeyEvent *event)
ESEventInterface::keyPressEvent By default, press escape key abort the curent action.
ESEventInterface(ElementScene *scene)
virtual bool isFinish() const
virtual bool isRunning() const
virtual bool mouseMoveEvent(QGraphicsSceneMouseEvent *event)
virtual bool mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)