Hi Patrick On 08/19/2016 11:49 AM, Patrick Valsecchi wrote: > Hi Nyall, > > On Fri, Aug 19, 2016 at 11:11 AM, Nyall Dawson <[email protected] > <mailto:[email protected]>> wrote: > > Just wondering - why not XML in the database? It's how styles are > stored, so it'd be nice to keep consistency. > > > The widget config is a QMap<QString, QVariant> and it was easier to > convert a JSON into that. But yes, this is a good idea (eventhough I > hate XML).
Isn't the widget config stored in the style anyway? Or is it for a plugin? In this case why not use `import json`? > > OK, switching to that. > > Thanks. > > > _______________________________________________ > Qgis-developer mailing list > [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer > _______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
