18 #ifndef CANVAS_GESTURE_H
19 #define CANVAS_GESTURE_H
21 #include "scribusapi.h"
22 #include "canvasmode.h"
24 class QDragEnterEvent;
26 class QDragLeaveEvent;
29 class QInputMethodEvent;
55 virtual void enterEvent(QEvent * e) { m_delegate->enterEvent(e); }
56 virtual void leaveEvent(QEvent * e) { m_delegate->leaveEvent(e); }
58 virtual void dragEnterEvent(QDragEnterEvent *e) { m_delegate->dragEnterEvent(e); }
59 virtual void dragMoveEvent(QDragMoveEvent *e) { m_delegate->dragMoveEvent(e); }
60 virtual void dragLeaveEvent(QDragLeaveEvent *e) { m_delegate->dragLeaveEvent(e); }
61 virtual void dropEvent(QDropEvent *e) { m_delegate->dropEvent(e); }
63 virtual void mouseDoubleClickEvent(QMouseEvent *m) { m_delegate->mouseDoubleClickEvent(m); }
64 virtual void mouseReleaseEvent(QMouseEvent *m) { m_delegate->mouseReleaseEvent(m); }
65 virtual void mouseMoveEvent(QMouseEvent *m) { m_delegate->mouseMoveEvent(m); }
66 virtual void mousePressEvent(QMouseEvent *m) { m_delegate->mousePressEvent(m); }
68 virtual void keyPressEvent(QKeyEvent *e) { m_delegate->keyPressEvent(e); }
69 virtual void keyReleaseEvent(QKeyEvent *e) { m_delegate->keyReleaseEvent(e); }
70 virtual void inputMethodEvent(QInputMethodEvent *e) { m_delegate->inputMethodEvent(e); }
virtual CanvasMode * delegate()
Definition: canvasmode.h:145
the Document Class
Definition: scribusdoc.h:90
Definition: canvasmode.h:72
Definition: canvasgesture.h:47
CanvasMode * delegate()
Definition: canvasgesture.h:72
Definition: scribusview.h:87