Re: [QGIS-Developer] What are "Key/value" and "List" widgets in attributes form?

2018-04-03 Thread Patrick Valsecchi
Hi Good analysis and sorry for my slow response. The widgets are not directly tied to PG. They will work as long as the providers support QVariant::List or QVariant::Map datatypes. The spatialite provider supports QVariant::List, encoded as JSON:

Re: [QGIS-Developer] What are "Key/value" and "List" widgets in attributes form?

2018-03-29 Thread DelazJ
Hi, Thanks Nyall. Indeed, these are PG provider tools. I dug a bit and found out that list is designed for array field type while key/value refers to hstore field type. Doc is updated (might be light but better than nothing imho). Harrissou 2018-03-24 1:18 GMT+01:00 Nyall Dawson

Re: [QGIS-Developer] What are "Key/value" and "List" widgets in attributes form?

2018-03-23 Thread Nyall Dawson
On 23 March 2018 at 00:07, DelazJ wrote: > Hi all, > > In the vector layer properties dialog, Attributes form tab, I fail to > understand/find what enables those two widgets, hence what they are supposed > to do and how they could work. > > If someone has some information,

[QGIS-Developer] What are "Key/value" and "List" widgets in attributes form?

2018-03-22 Thread DelazJ
Hi all, In the vector layer properties dialog, Attributes form tab, I fail to understand/find what enables those two widgets, hence what they are supposed to do and how they could work. If someone has some information, thanks for sharing. Documenting this section is blocked by these information