[Qgis-developer] [WIP] project snapping settings

John Layt jlayt at kde.org
Fri Sep 2 05:13:26 PDT 2016


On 2 September 2016 at 12:51,  <gam17 at 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.


More information about the Qgis-developer mailing list