[Qgis-developer] Getting the current QgsComposerView in an expression builder user function
Nyall Dawson
nyall.dawson at gmail.com
Sat Aug 30 14:54:35 PDT 2014
On 29/08/2014 9:05 pm, "Alexandre Neto" <senhor.neto at gmail.com> wrote:
>
> It gives me a list of QgsComposerView, that I can select by the list
index. But how can I know the position of the QgsComposerView in which I'm
using the function (by using it in a label)?
>
It's not currently possible -expressions have no way of knowing the context
in which they are being used. See:
http://hub.qgis.org/issues/9546
Nyall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140831/22b0f974/attachment.html>
More information about the Qgis-developer
mailing list