Hi,

it's possible! Take a look at [1] (in Spanish). I have also implemented that
in the pgAdmin's PostGIS viewer [2] (in English), where you can find a zip
file [3] with the code. Basically you need to expose your application's
functionality through a QgisInterface class. I've created another class
called Plugins to read and load existing plugins from a specific directory.

Regards,

Germán

--------
[1]
http://geotux.tuxfamily.org/index.php?option=com_myblog&show=cargando-plugins-de-quantum-gis-en-el-visor-de-pyqgis.html&Itemid=59
[2]
http://geotux.tuxfamily.org/index.php?option=com_myblog&task=view&id=278&Itemid=59&lang=en
[3]
http://downloads.tuxfamily.org/tuxgis/geoblogs/visor_postgis_pgadmin_3/postgis_viewer.zip

2011/6/20 Sunilrajkiran <[email protected]>

> Hello All,****
>
> ** **
>
>                 Can we use a QGIS plugin in a custom application? If so can
> you please give me  Code example for that ? ****
>
> ** **
>
> Regards,****
>
> Sunil ****
>
> _______________________________________________
> Qgis-developer mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>


-- 
-----------
   |\__
(:>__)(
   |/

Soluciones Geoinformáticas Libres
http://geotux.tuxfamily.org/
_______________________________________________
Qgis-developer mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to