[Qgis-developer] question on Adding plugin to qgis

nitin quick quick.nitin at gmail.com
Mon May 29 04:18:12 EDT 2006


Hello Everybody,
I am currently using qgis0.7.9 downloaded from svn installed on FC4.
I need to add plugin to qgis which will display direction of wind.
NorthArrow Plugin provides similar functionality. So i did make copy of that
code put my Cock.png file path in place of north_arrow in a new folder named
Cock in src/plugins/. I changed the code a bit ( north_arrow to Cock , just
change of name). and addition in configure script similar o existing code.
Now my questions are:
i). Am i doing correect for adding a new plugin? Is it good way or there is
scope of improvement which i think will be?
ii) Is it required to compile Qgis fully to make my plugin functionable . Is
there any way where i can only compile new plugin code and link it
dynamiclly.
iii)For adding plugin menu to GUI we are using code ..

    qGisInterface->addPluginMenu(tr("&Decoration"),myQActionPointer);
  what does "&Decoration" signify here.

Any suggestions on any study material or tutorial which will help me in
designing plugin are welcome. I am currently reading  source code to do so.

cya
nitin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/qgis-developer/attachments/20060529/5cdc5cfc/attachment.html


More information about the Qgis-developer mailing list