28 mCursor = QCursor( Qt::CrossCursor );
34 const QgsPointXY point =
mCanvas->getCoordinateTransform()->toMapCoordinates( e->x(), e->y() );
36 QList<IdentifyResult> results;
50 if ( e->key() == Qt::Key_Escape )
Map canvas is a class for displaying all GIS data types on a canvas.
A QgsMapMouseEvent is the result of a user interaction with the mouse on a QgsMapCanvas.
A class to represent a 2D point.
Represents a vector layer which manages a vector based data sets.
#define Q_NOWARN_DEPRECATED_POP
#define Q_NOWARN_DEPRECATED_PUSH