[Qgis-developer] Getting the current QgsComposerView in an expression builder user function

Alexandre Neto senhor.neto at gmail.com
Sat Aug 30 15:02:54 PDT 2014


Thanks Nyall, this way I will just stop looking for it.

Alexandre Neto
Em 30/08/2014 22:54, "Nyall Dawson" <nyall.dawson at gmail.com> escreveu:

>
> 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/20140830/cf12ebc9/attachment.html>


More information about the Qgis-developer mailing list