27 Commits

Author SHA1 Message Date
timlinux
6b1f74b69b Applied following patches:
1293255 SPIT: bugfix for "no fields" problem
1293069 2 bugfixes regarding extent calculation
1292938 added panning to overview
1253211 patch for PostGIS provider
1253027 patch for querybuilder


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3919 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-17 09:51:12 +00:00
morb_au
e893c8c1e8 More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3904 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-12 22:01:36 +00:00
g_j_m
3c40292773 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/qgis@3232 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-04-27 05:21:34 +00:00
mcoletti
79aba2e52d The interface class now allows QgisApp access via app().
This was necessary to allow plug-ins to connect() to various QgisApp slots and
signals.  Since this somewhat short-circuits the need for the QgisInterface
classes, this might indicate the need for design refactoring.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2267 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-11-17 16:27:02 +00:00
gsherman
96a0e85577 * Fixed bug that caused qgis to crash when a plugin was unloaded. All plugins
must now have a QAction member pointer that is created when the GUI is
  initialized in initGui(). This pointer is used in the unload() method to
  remove the QAction and associated icon from the plugins toolbar.

* Updated splash for upcoming 0.5 release


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1956 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-30 00:53:35 +00:00
timlinux
97c1cfcc17 Created a single toolbar that plugins can (optionally) load icons into to save screen real estate lost by sepearaters between many small toolbars
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1950 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-08-28 00:50:40 +00:00
timlinux
e0dc6e8867 Interface changes to allow forcing view to update when a raster layer is added via a plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1738 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-07-08 20:26:53 +00:00
larsl
85255638d6 ** More preparation for GPS upload code
** New function in QgisInterface - getLayerRegistry()


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1588 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 22:37:38 +00:00
timlinux
901f42c58d Added capability for plugins to clear the current project ignoring the project dirty flag (ie force new project).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1583 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 11:00:52 +00:00
timlinux
bafe559bac Added addRasterLayer(QgsRasterLayer *) to the plugin interface. This allows plugins to construct their own raster object, set its symbolisation and the pass it over to the app to be loaded into the canvas.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1578 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-14 00:08:46 +00:00
gsherman
dd8b8a7f89 Massive changes to provide Windows support. This is a work in progress but
has been tested and it compiles under unix. Future changes to the code must
be aware of multiplatform issues.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1563 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-06-12 18:27:11 +00:00
timlinux
e26e2bde18 Minor changes to plugin interface to make load raster and load vector functions void
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1397 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-14 00:37:26 +00:00
timlinux
2878bff763 Added qgisApp->addProject(QString) to the plugin interface.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1369 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-11 15:21:57 +00:00
mcoletti
21003fd673 This fixes adding and deleting legend item layers. Not only are legend items
properly deleted on the canvas, but selection of remaining layers is now more
intelligent.  Now uses signal/slot mechanism to add/delete layers.  (We should
explore propogating this model further to other classes.)

Made some class members const correct and deleted a few deprecated/superfluous
members.

QgsMapCanvas now has an implementation struct a la the Handle/Envelope design
pattern.  Implementation changes will now only incur a single file
re-compilation penalty; and this hides implementation details.

Did some re-formatting via "indent" and added a bit of white space to make
source easier to read.

CVS was whining about some files not ending on a blank line, so added them to
files necessary files.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1332 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-06 19:39:46 +00:00
timlinux
e1f82e6211 qgisApp->mapCanvas is now exposed through the plugin interface.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1296 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-05-03 23:18:51 +00:00
gsherman
6d59b6e91c Plugin menus now install under the top-level Plugin menu in the menu bar.
Menus are not sorted but appear in the  order they are loaded. This will
be refined in a later version.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1253 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-04-23 16:19:54 +00:00
gsherman
cec74d6a94 Added functions to return menu ids by name and menu name by id.
These were added to the interface classes for use by plugins
NOTE - The utility of these functions is questionable and they
       may be removed in the future


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@1031 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-12 16:53:12 +00:00
timlinux
e8c8dac821 Removal of getInt method.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@905 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-23 06:49:34 +00:00
gsherman
90e6ba84bd changed #ifdef DEBUG to #ifdef QGISDEBUG to fix rh/fedora problem
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@873 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 17:17:36 +00:00
timlinux
a4fe9a1a3f Added addRasterLayer to the plugin interface.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@865 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-19 16:21:31 +00:00
gsherman
a4c1a04ac2 fixed GPL header and/or added CVS Id keyword expansion
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@816 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 07:36:15 +00:00
gsherman
b3a9725ab3 indented source
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@804 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-12 05:45:27 +00:00
gsherman
867bedf9ce added hooks for opening url relative to the documentation base directory or an absolute url
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@742 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-07 23:32:47 +00:00
gsherman
d32d11a504 added interface for positioning menu items from plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@711 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-06 07:04:05 +00:00
gsherman
fa8bc0d55d changes to support plugin architecture
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@558 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-22 06:56:32 +00:00
gsherman
453da4da36 changes to plugin interface api
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@212 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-05-14 02:25:36 +00:00
gsherman
b4520d713e plugin api tweaks
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@208 c8812cc2-4d05-0410-92ff-de0c093fc19c
2003-03-16 03:52:29 +00:00