28 mCursor = QCursor( Qt::CrossCursor );
36 QList<IdentifyResult> results;
48 if ( e->key() == Qt::Key_Escape )
Map canvas is a class for displaying all GIS data types on a canvas.
void unsetMapTool(QgsMapTool *mapTool)
Unset the current map tool or last non zoom tool.
const QgsMapToPixel * getCoordinateTransform()
Gets the current coordinate transform.
A QgsMapMouseEvent is the result of a user interaction with the mouse on a QgsMapCanvas.
QgsPointXY toMapCoordinates(int x, int y) const
Transform device coordinates to map (world) coordinates.
A class to represent a 2D point.
Represents a vector layer which manages a vector based data sets.