7 Commits

Author SHA1 Message Date
g_j_m
ccae8d965a Altered the way in which plugins add items to the plugin menu. Old way
still supported for the moment. New way allows different plugins to use the
same submenu (e.g. Decorations for copyright and north arrow)


git-svn-id: http://svn.osgeo.org/qgis/trunk@3232 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 05:21:34 +00:00
g_j_m
e3f307e610 Fix for bug 1077196 (plugin icons incorrect on first load). A tricky one.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3198 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-23 11:45:27 +00:00
timlinux
c7ba33f0f2 Implemented state handling via qgsproject for copyright label.
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@2238 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-12 13:55:19 +00:00
timlinux
5f9c0e9041 Class member naming now adheres to qgis coding standards.
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@2237 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-12 12:59:38 +00:00
mcoletti
2e54ed8648 - Promoted name, description, version, and type strings to QgisPlugin base
class.

- Type now a formal enumerated typedef

- Propogated changes forward to existing plug-ins


git-svn-id: http://svn.osgeo.org/qgis/trunk@994 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-08 23:50:05 +00:00
timlinux
6dce119e36 Fixed call to add vector layer. Other minor bugfixes
git-svn-id: http://svn.osgeo.org/qgis/trunk@892 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:38:09 +00:00
timlinux
ff7ec71bd2 This is the initial commit for the qgis plugin template. The template consists of:
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@881 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 22:28:45 +00:00