mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-26 00:02:08 -05:00
47 lines
1.7 KiB
Plaintext
47 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, bool asynchronous = false );
|
|
%Docstring
|
|
Construct map canvas snapping utils object
|
|
|
|
:param canvas: map canvas
|
|
:param parent: parent object
|
|
:param asynchronous: if ``True`` snapping cache index will be non blocking and done in another thread,
|
|
if ``False`` it will block until indexing is done
|
|
%End
|
|
|
|
};
|
|
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgsmapcanvassnappingutils.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|