mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-24 00:47:57 -05:00
sip doesn't support the docstring directive for structs (only classes), so patch these back in via sipify magic
7 lines
605 B
Python
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"""
|