I am using the print composer plugin for map composition, I want that whenever a user exports the final map, the corner coordinates , label tittle and other attributes I want to push my database. How to I get access to the export Button ?
You will probably have to create a custom plugin for exporting and writing composer info to db. There are many posts on this form and others for exporting images/pdf, and accessing the map items within the composer. Here are a couple examples:
Accessing composer label eg:
mapItem = qgis.utils.iface.activeComposers().composition() for item in mapItem.items(): if isinstance(item,QgsComposerLabel): # do something more