2017-06-07 16:16:21 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsmaptoolzoom.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-09 02:39:15 +00:00
|
|
|
|
|
|
|
class QgsMapToolZoom : QgsMapTool
|
|
|
|
{
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
A map tool for zooming into the map.
|
|
|
|
|
2017-12-05 20:04:14 -04:00
|
|
|
.. seealso:: :py:class:`QgsMapTool`
|
2007-01-09 02:39:15 +00:00
|
|
|
%End
|
|
|
|
|
2017-06-07 16:16:21 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsmaptoolzoom.h"
|
|
|
|
%End
|
2007-01-09 02:39:15 +00:00
|
|
|
public:
|
2017-05-01 16:42:33 +02:00
|
|
|
QgsMapToolZoom( QgsMapCanvas *canvas, bool zoomOut );
|
2017-06-07 16:16:21 +02:00
|
|
|
%Docstring
|
|
|
|
constructor
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
~QgsMapToolZoom();
|
|
|
|
|
2016-05-30 02:42:12 +10:00
|
|
|
virtual Flags flags() const;
|
2017-05-01 16:42:33 +02:00
|
|
|
virtual void canvasMoveEvent( QgsMapMouseEvent *e );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
virtual void canvasPressEvent( QgsMapMouseEvent *e );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
virtual void canvasReleaseEvent( QgsMapMouseEvent *e );
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
virtual void deactivate();
|
2017-06-07 16:16:21 +02:00
|
|
|
|
2017-12-15 08:57:22 +10:00
|
|
|
|
2017-06-07 16:16:21 +02:00
|
|
|
protected:
|
|
|
|
|
|
|
|
|
|
|
|
|
2007-01-09 02:39:15 +00:00
|
|
|
};
|
|
|
|
|
2017-06-07 16:16:21 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsmaptoolzoom.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|