16 #include <QMouseEvent> 55 if ( e->
key() == Qt::Key_Escape )
void unsetMapTool(QgsMapTool *mapTool)
Unset the current map tool or last non zoom tool.
A QgsMapMouseEvent is the result of a user interaction with the mouse on a QgsMapCanvas.
QgsPoint toMapCoordinates(int x, int y) const
QString tr(const char *sourceText, const char *disambiguation, int n)
Map canvas is a class for displaying all GIS data types on a canvas.
A class to represent a point.
const QgsMapToPixel * getCoordinateTransform()
Get the current coordinate transform.
const char * cross_hair_cursor[]
Represents a vector layer which manages a vector based data sets.