[Qgis-developer] Changing the Renderer Type in PyQGis Application
wonder.sk at gmail.com
Thu Nov 1 06:37:03 PDT 2012
On Thu, Nov 1, 2012 at 12:24 PM, Justin Hubbard <justin at pyrotechsoftware.com
> Can iface be called from a standalone PyQGis application?
In a standalone PyQGIS application, qgis.utils.iface has no object assigned
(it is None). This makes sense because iface is an interface to a running
QGIS application and with standalone PyQGIS app there isn't one.
If you need to (e.g. to support python plugins in your application), you
can implement iface yourself (see QgisInterface class).
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Qgis-developer