[Qgis-developer] [PyQGIS] QgsComposerItem.dataDefinedProperty doesn't return anything
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 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] [PyQGIS] QgsComposerItem.dataDefinedProperty doesn't return anything
Solved. It must be called on QgsCompomerHtml instead of (a child) QgsComposerFrame. giovanni 2015-02-23 13:40 GMT+01:00 G. Allegri gioha...@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 ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer