[Qgis-developer] Virtual Fields - Allow adding fields out of edit mode

Matthias Kuhn matthias.kuhn at gmx.ch
Tue Oct 7 06:07:19 PDT 2014


Hi
On 07.10.2014 14:56, Bernhard Ströbl wrote:
>
>> I think if the user wants to add a permanent field with the help of an
>> expression the current solution with the field calculator is fine. I
>> don't see any benefit that the "add field" dialog would have over that.
>
> it does not really have any, but I was wondering why I can use an
> expression for virtual fields and not for permanent fields
>
>> On the other hand defining the virtual fields in the field calculator
>> (and removing them from "add field") could make things more coherent.
>
> +1, this would make the expression thing in the "add field" dialog
> needless
> add/remove field would be only for working on the data structure; the
> layer must be in editing mode, which makes your original question
> obolete :) or now it is applicable to the calculator

Remove field would still be available out of edit mode to remove virtual
fields.
Add field would only be available in edit mode. But the field calculator
instead available out of edit mode.


Best
Matthias


More information about the Qgis-developer mailing list