Any takers for this one? I'd like to render the active symbol for a layer as a QPixmap in a dialog.
I have got this far:
s = layer().rendererV2()
key = s.rootRule().findRuleByKey(s.rootRule().ruleKey())
This tells me the active rule key to be rendered but how to get the image data?
Perhaps I am barking up the wrong tree here?
Thanks
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer
