19 #include "qgsconfig.h"
27 #include <QGestureEvent>
40 class QAbstractButton;
59 virtual void canvasMoveEvent( QMouseEvent * e );
62 virtual void canvasDoubleClickEvent( QMouseEvent * e );
65 virtual void canvasPressEvent( QMouseEvent * e );
68 virtual void canvasReleaseEvent( QMouseEvent * e );
71 virtual void wheelEvent( QWheelEvent* e );
74 virtual void keyPressEvent( QKeyEvent* e );
77 virtual void keyReleaseEvent( QKeyEvent* e );
81 virtual bool gestureEvent( QGestureEvent* e );
86 Q_DECL_DEPRECATED
virtual void renderComplete();
93 void setAction( QAction* action );
100 void setButton( QAbstractButton* button );
103 QAbstractButton* button();
106 virtual void setCursor( QCursor cursor );
111 virtual bool isTransient();
116 virtual bool isEditTool();
119 virtual void activate();
122 virtual void deactivate();
135 static double searchRadiusMM();
152 void messageDiscarded();
162 void actionDestroyed();
170 QgsPoint toMapCoordinates(
const QPoint& point );
185 QPoint toCanvasCoordinates(
const QgsPoint& point );