mirror of
https://github.com/qgis/QGIS.git
synced 2025-11-29 00:06:58 -05:00
Fix documentation
This commit is contained in:
parent
c699ab5eb9
commit
57aec1f4af
@ -23,7 +23,16 @@ Snapping utils instance that is connected to a canvas and updates the configurat
|
|||||||
#include "qgsmapcanvassnappingutils.h"
|
#include "qgsmapcanvassnappingutils.h"
|
||||||
%End
|
%End
|
||||||
public:
|
public:
|
||||||
|
|
||||||
QgsMapCanvasSnappingUtils( QgsMapCanvas *canvas, QObject *parent = 0, bool asynchronous = false );
|
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
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -34,6 +34,15 @@ class GUI_EXPORT QgsMapCanvasSnappingUtils : public QgsSnappingUtils
|
|||||||
{
|
{
|
||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
public:
|
public:
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 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
|
||||||
|
*/
|
||||||
QgsMapCanvasSnappingUtils( QgsMapCanvas *canvas, QObject *parent = nullptr, bool asynchronous = false );
|
QgsMapCanvasSnappingUtils( QgsMapCanvas *canvas, QObject *parent = nullptr, bool asynchronous = false );
|
||||||
|
|
||||||
private slots:
|
private slots:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user