[Qgis-developer] Saving plugin's user data/settings
Alexandre Neto
senhor.neto at gmail.com
Mon Aug 31 05:39:40 PDT 2015
Hello all,
At a plugin project we have, a metadata editor, we save user recent files
and a contact list as json files in a folder, inside the plugin folder. It
works ok, until we update or reinstall the plugin, that wipes that
information.
Can someone provide information on how to (or where to) save plugin's user
data (like settings, last used files, etc...), so it doesn't vanish on
plugin updates or re-instalation?
I found this:
http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/settings.html
But not sure if we can use it for what we need.
Thanks,
Alexandre Neto
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150831/888b451f/attachment.html>
More information about the Qgis-developer
mailing list