QGIS/python/core/auto_additions/qgssnappingutils.py
Nyall Dawson 989e62a80f Handle docstrings for c++ structs
sip doesn't support the docstring directive for structs (only classes),
so patch these back in via sipify magic
2024-08-16 07:28:29 +10:00

7 lines
605 B
Python

# The following has been generated automatically from src/core/qgssnappingutils.h
try:
QgsSnappingUtils.__attribute_docs__ = {'layer': 'The layer to configure.', 'type': 'To which geometry properties of this layers a snapping should happen.', 'tolerance': 'The range around snapping targets in which snapping should occur.', 'unit': 'The units in which the tolerance is specified.', 'configChanged': 'Emitted when the snapping settings object changes.\n'}
except NameError:
pass
QgsSnappingUtils.LayerConfig.__doc__ = """Configures how a certain layer should be handled in a snapping operation"""