[QGIS-Developer] Is there a QList/other container for QgsRubberBand?

Nils Nolde nilsnolde at gmail.com
Fri Mar 2 11:42:17 PST 2018


Hi,

playing around for a new plugin release, I tested the pyqgis cookbook
rubber band example. I'd like to be able to access the drawn rubberbands
outside of the calling functions without passing around objects. So some
equivalent to mapCanvas().mapLayers() for rubber bands would be cool. Is
there some container in iface that I can query?

Thanks
Nils
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180302/84805f5e/attachment-0001.html>


More information about the QGIS-Developer mailing list