mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-02 00:02:12 -05:00
Add missing docstrings
This commit is contained in:
parent
256876eb45
commit
1d6d4cb11c
@ -2235,12 +2235,42 @@ Test if an edit command is active
|
|||||||
.. versionadded:: 3.0
|
.. versionadded:: 3.0
|
||||||
%End
|
%End
|
||||||
|
|
||||||
|
|
||||||
bool removeDuplicateNodes() const;
|
bool removeDuplicateNodes() const;
|
||||||
|
%Docstring
|
||||||
|
If the `removeDuplicateNodes` property is set on a layer, whenever a new feature enters
|
||||||
|
the edit buffer or the geometry of an existing feature is changed, duplicate nodes will
|
||||||
|
automatically be removed without any user intervention.
|
||||||
|
|
||||||
|
.. versionadded:: 3.4
|
||||||
|
%End
|
||||||
|
|
||||||
void setRemoveDuplicateNodes( bool removeDuplicateNodes );
|
void setRemoveDuplicateNodes( bool removeDuplicateNodes );
|
||||||
|
%Docstring
|
||||||
|
If the `removeDuplicateNodes` property is set on a layer, whenever a new feature enters
|
||||||
|
the edit buffer or the geometry of an existing feature is changed, duplicate nodes will
|
||||||
|
automatically be removed without any user intervention.
|
||||||
|
|
||||||
|
.. versionadded:: 3.4
|
||||||
|
%End
|
||||||
|
|
||||||
|
|
||||||
double geometryPrecision() const;
|
double geometryPrecision() const;
|
||||||
|
%Docstring
|
||||||
|
The `geometryPrecision` property of a layer will enable an automatic snap to grid operation
|
||||||
|
on a layer whenever a new feature is added or the geometry of an existing feature is changed.
|
||||||
|
If it is set to 0.0, this feature is disabled.
|
||||||
|
|
||||||
|
.. versionadded:: 3.4
|
||||||
|
%End
|
||||||
|
|
||||||
void setGeometryPrecision( double geometryPrecision );
|
void setGeometryPrecision( double geometryPrecision );
|
||||||
|
%Docstring
|
||||||
|
The `geometryPrecision` property of a layer will enable an automatic snap to grid
|
||||||
|
on a layer whenever a new feature is added or the geometry of an existing feature is changed.
|
||||||
|
If it is set to 0.0, this feature is disabled.
|
||||||
|
|
||||||
|
.. versionadded:: 3.4
|
||||||
|
%End
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
|
||||||
|
@ -2018,11 +2018,41 @@ class CORE_EXPORT QgsVectorLayer : public QgsMapLayer, public QgsExpressionConte
|
|||||||
*/
|
*/
|
||||||
bool isEditCommandActive() const { return mEditCommandActive; }
|
bool isEditCommandActive() const { return mEditCommandActive; }
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If the `removeDuplicateNodes` property is set on a layer, whenever a new feature enters
|
||||||
|
* the edit buffer or the geometry of an existing feature is changed, duplicate nodes will
|
||||||
|
* automatically be removed without any user intervention.
|
||||||
|
*
|
||||||
|
* \since QGIS 3.4
|
||||||
|
*/
|
||||||
bool removeDuplicateNodes() const;
|
bool removeDuplicateNodes() const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* If the `removeDuplicateNodes` property is set on a layer, whenever a new feature enters
|
||||||
|
* the edit buffer or the geometry of an existing feature is changed, duplicate nodes will
|
||||||
|
* automatically be removed without any user intervention.
|
||||||
|
*
|
||||||
|
* \since QGIS 3.4
|
||||||
|
*/
|
||||||
void setRemoveDuplicateNodes( bool removeDuplicateNodes );
|
void setRemoveDuplicateNodes( bool removeDuplicateNodes );
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The `geometryPrecision` property of a layer will enable an automatic snap to grid operation
|
||||||
|
* on a layer whenever a new feature is added or the geometry of an existing feature is changed.
|
||||||
|
* If it is set to 0.0, this feature is disabled.
|
||||||
|
*
|
||||||
|
* \since QGIS 3.4
|
||||||
|
*/
|
||||||
double geometryPrecision() const;
|
double geometryPrecision() const;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The `geometryPrecision` property of a layer will enable an automatic snap to grid
|
||||||
|
* on a layer whenever a new feature is added or the geometry of an existing feature is changed.
|
||||||
|
* If it is set to 0.0, this feature is disabled.
|
||||||
|
*
|
||||||
|
* \since QGIS 3.4
|
||||||
|
*/
|
||||||
void setGeometryPrecision( double geometryPrecision );
|
void setGeometryPrecision( double geometryPrecision );
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user