[Qgis-developer] Enter expressions into spin boxes?

Pedro Venâncio pedrongvenancio at gmail.com
Tue Feb 24 14:39:32 PST 2015


>
> I see what's happening here - I suspect that your field is set to use
> a "text edit" edit widget rather than a "range" widget (check the
> layer properties->fields tab). QGIS only uses spin boxes for the edit
> widget if it's set to a range widget, otherwise they are just standard
> text boxes which don't accept expressions (yet -- I'll try and tackle
> that at some stage).
>
>
You are right Nyall, with the range widget, operations work both in the
attribute table cells and in forms fields!


Thanks!
Pedro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150224/02d4f9cf/attachment.html>


More information about the Qgis-developer mailing list