[Qgis-user] Customised attributes form

Matthias Kuhn matthias.kuhn at gmx.ch
Thu Mar 12 03:32:02 PDT 2015


The d'n'd designer is about grouping, positioning and layouting
different fields on a form.

If I understand you correctly, you have 1 single attribute that contains
a list of values.
For that, the linked example is the way to go.

In "setValue" you take 1 value (which is a list of values) and highlight
the appropriate ones on your tree

In "value" you inspect the (user modified) tree and generate a value
from it to save back to the attribute.

This tree widget can then be positioned with the d'n'd designer (or a
QtDesigner form if you like) together with other attributes this layer has.

Matthias

On 03/12/2015 11:21 AM, emmexx wrote:
> Il 03/12/2015 10:46 AM, emmexx scrisse:
>> I want to use a custom interface - I need to organize attributes better
>> than the qgis form can - but I don't understand if, and how, I can mix a
>> custom interface, custom widgets and custo validation. Is that possible?
>
> I overlooked the Drag and drop designer option. Is that the right path
> to accomplish what I want?
>
> thanks
>     maxx
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user




More information about the Qgis-user mailing list