Updated _all_ plugins so that initGui() is implemented as a slot.
This is required if you wish to use qgsproject for storing and reinstating state in qgis. The reason for this is that the initGui() method is only called once at the moment when qgis starts up. I will be adding a signal to qgisproject 'projectLoaded' that will be emitted when a new project is loaded. I will also be adding connect() for each plugin when its initially loaded in qgisapp so that the initgui slot is called whenever the project loads.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2238 c8812cc2-4d05-0410-92ff-de0c093fc19c
Win ifdefs added
Now in sync with external plugins template (which was more up to date)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2237 c8812cc2-4d05-0410-92ff-de0c093fc19c
class.
- Type now a formal enumerated typedef
- Propogated changes forward to existing plug-ins
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@994 c8812cc2-4d05-0410-92ff-de0c093fc19c
class Plugin (a subclass of QgisPlugin)
class PluginGuiBase (supplied as a simple qdialog ui)
class PluginGui (the subclass of PluginGuiBase)
The only thing the user would need to change in the makefile is the name of the .so
so you just copy the plugin template dir to a new dir under plugins, change the .so name in the makefile add the plugin dir the configure.in and the plugin dir makefile.
I will be adding a bash script file soon that automates the above process. This template development is in progress.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@881 c8812cc2-4d05-0410-92ff-de0c093fc19c