How to get a composition name in Qgis python console?

المشرف العام

Administrator
طاقم الإدارة
In Qgis python console: I want to populate a list with compositions names, like in Composer Manager, but I can't figure out how to get the names (titles).

So far:

composerlist = self.iface.activeComposers() And I get a list of QgsComposerView objects.

Now I want something like that:

for item in composerlist: print item.title()


Thank you.



أكثر...
 
أعلى