mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
52 lines
1.7 KiB
Plaintext
52 lines
1.7 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgsmapcanvassnappingutils.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsMapCanvasSnappingUtils : QgsSnappingUtils
|
|
{
|
|
%Docstring
|
|
Snapping utils instance that is connected to a canvas and updates the configuration
|
|
(map settings + current layer) whenever that is changed in the canvas.
|
|
|
|
.. versionadded:: 2.8
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsmapcanvassnappingutils.h"
|
|
%End
|
|
public:
|
|
|
|
QgsMapCanvasSnappingUtils( QgsMapCanvas *canvas, QObject *parent = 0 );
|
|
%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
|
|
|
|
protected:
|
|
virtual void prepareIndexStarting( int count );
|
|
|
|
virtual void prepareIndexProgress( int index );
|
|
|
|
|
|
};
|
|
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgsmapcanvassnappingutils.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|