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