I would like to load new composers from template files (*.pqt) when I open my plugin.
I managed to do it using this helpfull post Programmatically import new composer from template to project using pyQgis
But as explain in QGIS API doc, when using createNewComposer, the composer window will be shown and activated.
Is there a way to automatically close the composer window, then loading template would be 'transparent' for plugin user ?
Thanks in advance
أكثر...
I managed to do it using this helpfull post Programmatically import new composer from template to project using pyQgis
But as explain in QGIS API doc, when using createNewComposer, the composer window will be shown and activated.
Is there a way to automatically close the composer window, then loading template would be 'transparent' for plugin user ?
Thanks in advance
أكثر...