[Qgis-developer] PyQGIS: how to set "Enable snapping on intersection" option?

Jakob Lanstorp jlanstorp at gmail.com
Fri Mar 21 02:16:16 PDT 2014


Looks like this setting is not exposed in the API of QgsSnapper or QSettings:

http://qgis.org/api/2.2/classQgsSnapper.html#addd2b16ecac193e56f7bdedd6b78ac59
<http://qgis.org/api/2.2/classQgsSnapper.html#addd2b16ecac193e56f7bdedd6b78ac59>  

and

from PyQt4.QtCore import QSettings
print QSettings().allKeys()




-----
Jakob Lanstorp
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/PyQGIS-how-to-set-Enable-snapping-on-intersection-option-tp5130203p5130271.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.


More information about the Qgis-developer mailing list