Hi, <br><br>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.<br>
<br>Regards, <br><br>Germán<br><br>--------<br>[1] <a href="http://geotux.tuxfamily.org/index.php?option=com_myblog&show=cargando-plugins-de-quantum-gis-en-el-visor-de-pyqgis.html&Itemid=59">http://geotux.tuxfamily.org/index.php?option=com_myblog&show=cargando-plugins-de-quantum-gis-en-el-visor-de-pyqgis.html&Itemid=59</a><br>
[2] <a href="http://geotux.tuxfamily.org/index.php?option=com_myblog&task=view&id=278&Itemid=59&lang=en">http://geotux.tuxfamily.org/index.php?option=com_myblog&task=view&id=278&Itemid=59&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"><<a href="mailto:sunilraj.kiran@kcubeconsulting.com">sunilraj.kiran@kcubeconsulting.com</a>></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>(:>__)(<br> |/ <br><br>Soluciones Geoinformáticas Libres <br><a href="http://geotux.tuxfamily.org/">http://geotux.tuxfamily.org/</a><br>