On 09/02/2016 02:13 PM, John Layt wrote: > On 2 September 2016 at 12:51, <ga...@riseup.net> wrote: >>> Hi all, >>> >>> Just to let you know, I am working on a new design to handle snapping >>> settings. >>> >>> Settings are now handled in a core class attached to the project, >>> similarly to QgsRelationManager. It will provide a nice API to deal with >>> the settings and some useful signals. >>> >>> This means one will no longer have to change the project settings >>> manually and take care of emitting the proper signal. >>> >>> Besides, there will be a new widget to define the settings. It will be >>> quite flexible and can be shown in the status bar, tool bar, dock or >>> dialog. Per layer config will use the legend layer tree. >>> >>> >>> If the old snapper class is removed in the mean time, it will save me >>> some time ;) > Hi, > > I've been working on something similar as a plugin, which is almost ready, > see: > > http://ark.lparchaeology.com/wiki/index.php/QGIS#ARK_Snapping > https://github.com/lparchaeology/libarkqgis/blob/master/snapping.py > > Feel free to borrow any ideas / code :-) > > John. > _______________________________________________ > Hi John,
This is quite close from what I'm doing! Good job, I might get some inspiration ;) Whenever this is in core, it might make your plugin redundant. If you want to keep it alive, so you'll have to update your plugin to still work with plugin settings. That will be in 3.0 anyway, so not in a very close future. Cheers, Denis _______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer