26#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;
 
  112      AllowZoomRect = 1 << 3,   
 
  113      ShowContextMenu = 1 << 4, 
 
 
  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 );
 
  161    void setAction( QAction *action );
 
  170    bool isActive() 
const;
 
  176    void setButton( QAbstractButton *button );
 
  179    QAbstractButton *button();
 
  182    virtual void setCursor( 
const QCursor &cursor );
 
  185    virtual void activate();
 
  188    virtual void deactivate();
 
  196    virtual void reactivate();
 
  199    virtual void clean();
 
  215    static double searchRadiusMM();
 
  243    virtual void populateContextMenu( QMenu *menu );
 
  263    virtual bool populateContextMenuWithEvent( QMenu *menu, 
QgsMapMouseEvent *event );
 
  307    void actionDestroyed();
 
  338    QPoint toCanvasCoordinates( 
const QgsPointXY &point ) 
const;
 
  357    void setToolName( 
const QString &name );
 
  369    QAction *mAction = 
nullptr;
 
  375    QAbstractButton *mButton = 
nullptr;
 
  381    friend class TestQgsMapToolEdit;
 
 
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)
 
Q_DECLARE_OPERATORS_FOR_FLAGS(QgsTextRendererUtils::CurvedTextFlags)