18 #ifndef CANVAS_GESTURE_RECTSELECT_H
19 #define CANVAS_GESTURE_RECTSELECT_H
23 #include "scribusapi.h"
24 #include "canvasgesture.h"
25 #include "canvasmode.h"
27 class QDragEnterEvent;
29 class QDragLeaveEvent;
32 class QInputMethodEvent;
54 void prepare(QPoint globalStartPos);
57 virtual void enterEvent(QEvent * e);
58 virtual void leaveEvent(QEvent * e);
62 virtual void mouseReleaseEvent(QMouseEvent *m);
63 virtual void mouseMoveEvent(QMouseEvent *m);
67 virtual void mousePressEvent(QMouseEvent *m);
70 QRectF result()
const ;
72 void setStart(QPoint globalPos);
73 void setEnd(QPoint globalPos);
virtual void deactivate(bool forGesture)
Definition: canvasmode.h:91
virtual void drawControls(QPainter *p)
Definition: canvasmode.h:121
Definition: selectionrubberband.h:9
Definition: canvasmode.h:72
Definition: canvasgesture.h:47
Definition: canvasgesture_rectselect.h:48
virtual void activate(bool fromGesture)
Definition: canvasmode.h:86