[Qgis-developer] obtain QgisApplication instance reference inside python plugin?

ASAHI Kosuke asahi at hcc.co.jp
Tue Apr 3 05:15:14 EDT 2012


Hi Giovanni.

If you want to get some information from QgisApplication, just type like 
"QgsApplication.showSettings()".
But I'm not sure you can control some aspects of the application....

(2012/04/03 17:19), G. Allegri wrote:
> Is there a way to reach the QgisApplication reference from a python
> plugin? The iface object is exposed by the application object, but afaik
> it doesn't expose it.
> I need to control some aspects of the application lifecycle, but I fear
> the plugin system is designed to not allow it...
>
> giovanni
>
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-- 
ASAHI Kosuke



More information about the Qgis-developer mailing list