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

<br>Regards, <br><br>Germán<br><br>--------<br>[1] <a href="http://geotux.tuxfamily.org/index.php?option=com_myblog&amp;show=cargando-plugins-de-quantum-gis-en-el-visor-de-pyqgis.html&amp;Itemid=59">http://geotux.tuxfamily.org/index.php?option=com_myblog&amp;show=cargando-plugins-de-quantum-gis-en-el-visor-de-pyqgis.html&amp;Itemid=59</a><br>

[2] <a href="http://geotux.tuxfamily.org/index.php?option=com_myblog&amp;task=view&amp;id=278&amp;Itemid=59&amp;lang=en">http://geotux.tuxfamily.org/index.php?option=com_myblog&amp;task=view&amp;id=278&amp;Itemid=59&amp;lang=en</a><br>

[3] <a href="http://downloads.tuxfamily.org/tuxgis/geoblogs/visor_postgis_pgadmin_3/postgis_viewer.zip">http://downloads.tuxfamily.org/tuxgis/geoblogs/visor_postgis_pgadmin_3/postgis_viewer.zip</a><br><br><div class="gmail_quote">

2011/6/20 Sunilrajkiran <span dir="ltr">&lt;<a href="mailto:sunilraj.kiran@kcubeconsulting.com">sunilraj.kiran@kcubeconsulting.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<div link="blue" vlink="purple" lang="EN-US"><div><p class="MsoNormal">Hello All,<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">                Can we use a QGIS plugin in a custom application? If so can you please give me  Code example for that ? <u></u><u></u></p>

<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Regards,<u></u><u></u></p><p class="MsoNormal">Sunil <u></u><u></u></p></div></div><br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>-----------<br>   |\__  <br>(:&gt;__)(<br>   |/    <br><br>Soluciones Geoinformáticas Libres                            <br><a href="http://geotux.tuxfamily.org/">http://geotux.tuxfamily.org/</a><br>