[QGIS-Developer] QgsComposition in QGIS3

KOHLMANN Hannes H.KOHLMANN at ove.at
Thu Mar 15 04:28:06 PDT 2018


Hello everyone!

I have a short question concerning print composition, as I want to do that via PyQgis in QGIS3:
I stumbled across the QgsComposition class (http://kartoza.com/en/blog/how-to-create-a-qgis-pdf-report-with-a-few-lines-of-python)
I cannot find this class in the Qgis3 API. Usuallly, the Python console in QGIS will suggest me available classes as soon as I type the initials, but all Qgis shows me are some QgsCompound... classes
Since nothing is mentioned in the backwards incompatible changes (https://qgis.org/api/api_break.html) I wanted to ask here, maybe I have just overseen something or am searching for a wrong class (?)


QGIS-Version


3.0.0-Girona


QGIS-Codeversion


001c80b0c3<https://github.com/qgis/QGIS/commit/001c80b0c3>


Kompiliert gegen Qt


5.9.2


Laufendes Qt


5.9.2


Kompiliert mit GDAL/OGR


2.2.3


Läuft mit GDAL/OGR


2.2.3


Kompiliert mit GEOS


3.5.0-CAPI-1.9.0


Läuft mit GEOS


3.5.0-CAPI-1.9.0 r4084


PostgreSQL-Client-Version


9.2.4


SpatiaLite-Version


4.3.0


QWT-Version


6.1.3


QScintilla2-Version


2.10.1


PROJ.4-Version


493


Thanks for help! :)

Best regards,
Hannes K.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20180315/d7199eab/attachment.html>


More information about the QGIS-Developer mailing list