25#include <QGestureEvent>
76 sipType = sipType_QgsMapToolZoom;
78 sipType = sipType_QgsMapToolPan;
80 sipType = sipType_QgsMapToolEmitPoint;
82 sipType = sipType_QgsMapToolExtent;
84 sipType = sipType_QgsMapToolIdentifyFeature;
86 sipType = sipType_QgsMapToolIdentify;
88 sipType = sipType_QgsMapToolDigitizeFeature;
90 sipType = sipType_QgsMapToolCapture;
92 sipType = sipType_QgsMapToolAdvancedDigitizing;
94 sipType = sipType_QgsMapToolEdit;
95 else if ( sipCpp->inherits(
"QgsMapTool" ) )
96 sipType = sipType_QgsMapTool;
137 virtual void wheelEvent( QWheelEvent *e );
140 virtual void keyPressEvent( QKeyEvent *e );
143 virtual void keyReleaseEvent( QKeyEvent *e );
146 virtual bool gestureEvent( QGestureEvent *e );
153 virtual bool canvasToolTipEvent( QHelpEvent *e );
162 virtual bool shortcutEvent( QKeyEvent *e );
170 void setAction( QAction *action );
179 bool isActive()
const;
185 void setButton( QAbstractButton *button );
188 QAbstractButton *button();
191 virtual void setCursor(
const QCursor &cursor );
194 virtual void activate();
197 virtual void deactivate();
205 virtual void reactivate();
208 virtual void clean();
224 static double searchRadiusMM();
252 virtual void populateContextMenu( QMenu *menu );
272 virtual bool populateContextMenuWithEvent( QMenu *menu,
QgsMapMouseEvent *event );
316 void actionDestroyed();
MessageLevel
Level for messages This will be used both for message log and message bar in application.
@ Info
Information message.
Map canvas is a class for displaying all GIS data types on a canvas.
Base class for all map layer types.
A mouse event which is the result of a user interaction with a QgsMapCanvas.
Point geometry type, with support for z-dimension and m-values.
A rectangle specified with double values.
Contains information about the context of a rendering operation.
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)
#define SIP_ENUM_BASETYPE(type)