[QGIS-Developer] What is the way to get all items of a QgsLayout?

Song Wendong swdmike at hotmail.com
Fri Nov 16 22:56:52 PST 2018


We want to make a function that send all items (mainly labels) to browser and let user set the cotent, then send it back to server and export as pdf.
I can only find itemById<https://qgis.org/pyqgis/master/core/Layout/QgsLayout.html#qgis.core.QgsLayout.itemById>and itemByUuid<https://qgis.org/pyqgis/master/core/Layout/QgsLayout.html#qgis.core.QgsLayout.itemByUuid>, but there are all kinds of layouts.
Is there a way to get all items and their ids?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20181117/56e5ee29/attachment.html>


More information about the QGIS-Developer mailing list