File: qgssnappingutils.py

package info (click to toggle)
qgis 3.40.11%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,183,800 kB
  • sloc: cpp: 1,595,841; python: 372,637; xml: 23,474; sh: 3,761; perl: 3,664; ansic: 2,257; sql: 2,137; yacc: 1,068; lex: 577; javascript: 540; lisp: 411; makefile: 154
file content (15 lines) | stat: -rw-r--r-- 1,155 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# The following has been generated automatically from src/core/qgssnappingutils.h
QgsSnappingUtils.IndexAlwaysFull = QgsSnappingUtils.IndexingStrategy.IndexAlwaysFull
QgsSnappingUtils.IndexNeverFull = QgsSnappingUtils.IndexingStrategy.IndexNeverFull
QgsSnappingUtils.IndexHybrid = QgsSnappingUtils.IndexingStrategy.IndexHybrid
QgsSnappingUtils.IndexExtent = QgsSnappingUtils.IndexingStrategy.IndexExtent
try:
    QgsSnappingUtils.LayerConfig.__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.'}
    QgsSnappingUtils.LayerConfig.__doc__ = """Configures how a certain layer should be handled in a snapping operation"""
except (NameError, AttributeError):
    pass
try:
    QgsSnappingUtils.__attribute_docs__ = {'configChanged': 'Emitted when the snapping settings object changes.\n'}
    QgsSnappingUtils.__signal_arguments__ = {'configChanged': ['snappingConfig: QgsSnappingConfig']}
except (NameError, AttributeError):
    pass