25 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
0719a873a9 Give each plugin gui a unique class name based on the plugin name.
git-svn-id: http://svn.osgeo.org/qgis/trunk@3210 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-24 03:34:36 +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
timlinux
04e51f8fa5 Use the new unified plugins toolbar.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1951 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-28 01:09:46 +00:00
jobi
8784b8c27e ** fixed tims typo with GDAL_LDADD
** cleaned pluginnames


git-svn-id: http://svn.osgeo.org/qgis/trunk@1523 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-04 10:23:47 +00:00
timlinux
92212fc3a2 Added $(GDAL_LADD) to makefile to remove dltest GDALTermProgress error.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1518 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-03 13:06:57 +00:00
timlinux
6087b3519a Standardised GUI layout
git-svn-id: http://svn.osgeo.org/qgis/trunk@1482 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-27 11:09:44 +00:00
timlinux
f62643349b Fixed missing pbnCancel_clicked() declaration.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1315 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-05 10:03:44 +00:00
timlinux
bbbeb46225 Added cancel and ok event handlers
git-svn-id: http://svn.osgeo.org/qgis/trunk@1276 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-27 16:17:26 +00:00
timlinux
27e3ddfbb1 Updated default gui
git-svn-id: http://svn.osgeo.org/qgis/trunk@1275 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-27 16:15:19 +00:00
timlinux
d73cca4d0c Fixed problems preventing internal plugins from building properly.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1274 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-27 15:54:32 +00:00
timlinux
343de89b87 Added empty implementation for help() to unbreak plugins on mac osx
git-svn-id: http://svn.osgeo.org/qgis/trunk@1193 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-11 11:29:51 +00:00
jobi
a1abe6de76 ** fixed strange warning: object 'foo.$(OBJEXT)' created both
with libtool and without
** also cleaned the other Makefiles that way


git-svn-id: http://svn.osgeo.org/qgis/trunk@1127 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-31 22:06:54 +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
a35bff715f Use qgis logo as default icon for new plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk@897 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 09:36:59 +00:00
timlinux
eb171fef7f Fixed connect to vectorlayer slot
git-svn-id: http://svn.osgeo.org/qgis/trunk@895 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:50:28 +00:00
timlinux
3ce06533a3 Removed references to deprecated signal handlers
git-svn-id: http://svn.osgeo.org/qgis/trunk@894 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:45:46 +00:00
timlinux
f6be42f116 Fixes for add vector layer signal
git-svn-id: http://svn.osgeo.org/qgis/trunk@893 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:43:27 +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
2b505d4c8f Added readme for plugin template dir. Fixed improperly names Gui instance.
git-svn-id: http://svn.osgeo.org/qgis/trunk@890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:11:29 +00:00
gsherman
4ef1a496e4 fixed a couple of typos
git-svn-id: http://svn.osgeo.org/qgis/trunk@887 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 03:54:10 +00:00
timlinux
784fb77791 Fixed incorrect header ref.
git-svn-id: http://svn.osgeo.org/qgis/trunk@883 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 01:45:01 +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