[Qgis-developer] [PyQGIS] QgsComposerItem.dataDefinedProperty doesn't return anything

G. Allegri giohappy at gmail.com
Mon Feb 23 04:55:49 PST 2015


Solved. It must be called on QgsCompomerHtml instead of (a child)
QgsComposerFrame.

giovanni

2015-02-23 13:40 GMT+01:00 G. Allegri <giohappy at gmail.com>:

> I'm trying to obtain the data defined expression for an HTML item but
> myitem.dataDefinedProperty(QgsComposerObject.SourceUrl) doesn't return
> anything.
> What's wrong?
> I'm working on latest master (built half an hour ago).
>
> giovanni
>
> --
> Giovanni Allegri
> http://about.me/giovanniallegri
> Twitter: https://twitter.com/_giohappy_
> blog: http://blog.spaziogis.it
> GEO+ geomatica in Italia http://bit.ly/GEOplus
>



-- 
Giovanni Allegri
http://about.me/giovanniallegri
Twitter: https://twitter.com/_giohappy_
blog: http://blog.spaziogis.it
GEO+ geomatica in Italia http://bit.ly/GEOplus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20150223/b82e089d/attachment.html>


More information about the Qgis-developer mailing list