2017-05-23 14:49:24 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsmapcanvassnappingutils.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2018-03-20 19:08:04 +01:00
|
|
|
|
2015-10-21 16:16:35 +02:00
|
|
|
class QgsMapCanvasSnappingUtils : QgsSnappingUtils
|
|
|
|
{
|
2017-05-23 14:49:24 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
Snapping utils instance that is connected to a canvas and updates the configuration
|
|
|
|
(map settings + current layer) whenever that is changed in the canvas.
|
|
|
|
|
2017-05-23 14:49:24 +02:00
|
|
|
.. versionadded:: 2.8
|
|
|
|
%End
|
|
|
|
|
2015-10-21 16:16:35 +02:00
|
|
|
%TypeHeaderCode
|
2017-05-23 14:49:24 +02:00
|
|
|
#include "qgsmapcanvassnappingutils.h"
|
2015-10-21 16:16:35 +02:00
|
|
|
%End
|
|
|
|
public:
|
2019-09-06 13:29:06 +02:00
|
|
|
|
2019-10-17 15:39:42 +02:00
|
|
|
QgsMapCanvasSnappingUtils( QgsMapCanvas *canvas, QObject *parent = 0 );
|
2019-09-06 13:29:06 +02:00
|
|
|
%Docstring
|
|
|
|
Construct map canvas snapping utils object
|
|
|
|
|
|
|
|
:param canvas: map canvas
|
|
|
|
:param parent: parent object
|
|
|
|
if ``False`` it will block until indexing is done
|
|
|
|
%End
|
2019-09-06 11:55:06 +02:00
|
|
|
|
2019-10-17 15:39:42 +02:00
|
|
|
protected:
|
|
|
|
virtual void prepareIndexStarting( int count );
|
|
|
|
|
|
|
|
virtual void prepareIndexProgress( int index );
|
2019-09-06 11:55:06 +02:00
|
|
|
|
2015-10-21 16:16:35 +02:00
|
|
|
|
|
|
|
};
|
2017-05-23 14:49:24 +02:00
|
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsmapcanvassnappingutils.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|