494 Commits

Author SHA1 Message Date
gsherman
41c6c9ee00 fixed QgsProjectIo so right-click context menus are connected when loading a saved project
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@603 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-27 03:01:11 +00:00
mcoletti
0037c8be89 Trivial clean-up of QGisApp::addRasterLayer() :
- s/Erdas/ERDAS/

- s/Usgs/USGS/

- s/Sdts/SDTS/

- s/Lyr/Layer/

- use QStringList::empty() instead of QStringList::length() == 0

- now unfreeze mapCanvas if user didn't select files

- use more intuitive and safer for() instead of while()

- prettified code

- added XXX comment regarding possible initContextMenu() invocation
  even if layer is invalid


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@602 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 22:48:53 +00:00
stevehalasz
75c6fb6ca3 Show legend text as white for grayscale layers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@601 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 21:33:22 +00:00
stevehalasz
6b140c911c Set drawingStyle for Undefined raster bands to SINGLE_BAND_GRAY by default. Lack of default was preventing these layers from being displayed at all.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@600 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 21:12:22 +00:00
stevehalasz
8da5e6ce94 update() mapLegend after render()ing mapCanvas in addRasterLayer(). This prevents multiple repaints. Don't know why, just doing same as addLayer()
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@599 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 20:39:53 +00:00
mcoletti
39be93ed70 Added GDAL compiler flags.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@598 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 19:06:30 +00:00
mhugent
4c00774f85 saving and loading of symbology
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@597 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 17:25:22 +00:00
timlinux
52142c549b Added some additional things that need doing as dicussed with Gary on irc.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@596 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 08:42:38 +00:00
gsherman
7408f6dbb4 added toolbar with buffer button
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@595 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 07:27:05 +00:00
gsherman
f3bf07233b changes to support compilation under Qt 3.1.x
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@594 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 03:00:49 +00:00
gsherman
645dd5bed0 changed detection logic for qt share libs and qt multi-threaded lib
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@593 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 01:03:32 +00:00
mhugent
8a61ce4e81 various changes (downtime of sf)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@592 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 08:05:16 +00:00
gsherman
d60680544c added validity checking at the data provider level. Modified logging in postgres provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@591 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:41:36 +00:00
gsherman
1f67699939 changed font in plugin list
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@590 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:37:38 +00:00
gsherman
32df8e279d changed detection method of layer type when reading a project file
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@589 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:37:00 +00:00
gsherman
620a1bd04c cleaned up memory management of postgresql queries and connection objects
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@588 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:36:21 +00:00
gsherman
a0cbd35b5b added validity checking prior to adding vector layer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@587 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:34:28 +00:00
gsherman
09c3ab7774 added validity checking for a layer
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@586 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:32:40 +00:00
gsherman
6072276ca1 removed message box prior to adding new layer, commented out include for matrix1.xpm since it isn't used by the plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@585 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:29:51 +00:00
timlinux
9129f60d18 Changed pan icon for one provided by rawbytes.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@584 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 03:18:46 +00:00
timlinux
0e161470d9 Rawbytes' improved pan icon
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@583 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 03:05:47 +00:00
timlinux
b1be4decac Updated toolbar icons based on (mostly taken directly from) Everaldos Crystal icon theme.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@582 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 01:23:52 +00:00
timlinux
94217352c0 Popup context menu and removal of draw signal.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@581 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 01:16:08 +00:00
timlinux
28101bb307 Fixed hotspots in new cursors.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@580 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 01:15:11 +00:00
timlinux
976621a347 Changed icons to crystal look and minor alterations to toolbar icon order.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@579 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 01:10:43 +00:00
timlinux
13ca3331bd Context menu support and implemented handlers for multiband gray and pseudocolour rendering.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@578 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 01:07:04 +00:00
timlinux
f9035de1e8 Moved popMenu declaration up to qgsmaplayer.h
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@577 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 01:02:49 +00:00
timlinux
028a210857 Replaced manual detection of the associated raster layer type with calls to getRasterLayerType.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@576 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 00:56:11 +00:00
timlinux
8f74153347 Moved context menu stuff from vector layer to maplayer. Methods are declared pure virtual so any subclass of maplayer (ie. raster, vector and postgis layers) must implement context menu.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@575 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 00:53:45 +00:00
timlinux
d851201159 Identify cursor update. Legend bug fixed that prevented raster legends being drawn on file load. Popup menu support for raster layers.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@574 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-24 21:51:56 +00:00
gsherman
d8a353ad0b added geoprocessing subdir to Makefile.am
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@572 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-24 16:50:33 +00:00
gsherman
ce81617bba added Makefile for geoprocessing plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@571 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-24 16:48:00 +00:00
gsherman
31f3b1e480 First fully functional version of the buffer (geoprocessing) plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@570 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-24 16:44:01 +00:00
mhugent
becf944850 several things (because sf was down a while), e.g. work prior to save/ load symbology
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@569 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-23 15:19:11 +00:00
timlinux
f49e0c2420 Updated with a fatter 'i'. Still needs to be incorporated into qgisapp.cpp
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@568 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-23 08:27:03 +00:00
timlinux
1ba2e5ad26 New cursors with white edging so they dont get lost in black backgrounds.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@567 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-23 07:43:09 +00:00
timlinux
a1126b5d71 Added placeholder functions for multiband draw as gray and multiband draw as pseudocolor.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@566 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-23 07:39:00 +00:00
gsherman
704e140675 more progress towards a buffer function
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@565 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-23 07:37:32 +00:00
timlinux
ac6d2fd412 Replaced map cursors with ones that wont get lost over dark images.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@564 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-23 07:33:18 +00:00
stevehalasz
0a31eee5c4 call contentsMousePressEvent() of parent object after setting QgsLegendView specific vars rather than before. When hiding a layer contentsMouseReleaseEvent() was being called before contentsMousePressEvent() had returned. This was causing layers to enter drag mode after being hidden/unhidden. This fixes that.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@563 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-22 20:58:39 +00:00
timlinux
ae0c9ee30f Updated legend pixmap display in legend area. Improved drawingStyle detection. Rewrote legend pixmap generators to be more efficient. Numerous other small changes.
http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_legend_gray_sidebar_inverted.png
http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_legend_gray_sidebar.png
http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_legend_paletted_sidebar.png
http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_legend_pseudocar_sidebar_inverted.png
http://tim.suttonfamily.co.uk/cgi-bin/ids/index.cgi?mode=image&album=/qgis&image=raster_legend_pseudocar_sidebar.png


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@562 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-22 19:37:48 +00:00
mhugent
b4cb955e79 inline functions for the coordinate transform
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@561 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-22 07:28:17 +00:00
gsherman
0eb0e307c5 updated TODO list for 0.1 release
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@560 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-22 07:12:13 +00:00
mhugent
99ff029a07 made some functions of QgsRect inline
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@559 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-22 06:56:41 +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
875f4f4331 initial checkin of postgresql geoprocessing plugin (non-functional)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@557 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-22 05:39:09 +00:00
stevehalasz
84db615b64 Set movingItem to NULL before emitting zOrderChanged(). This prevents mouse movement from moving layers after mouse is released and before layers have re-rendered.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@556 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-22 02:31:14 +00:00
timlinux
d0131e146d Transparency slider now working (allows up to full transparency). Percentage display of slider also working.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@555 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-21 22:20:41 +00:00
timlinux
77c5af3678 Added signal handler for transparency slider. Added label to display percentage of transparency slider. Increased max on transparency slider so that images can be completely transparent.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@554 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-21 21:48:08 +00:00
timlinux
4e8f719a22 Sorted out items 8 (move all to top of raster filters list in load dialog) and 9 (remove .adf from all filter in raster load) in todo list. Updated todo list accordingly.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@553 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-21 21:30:34 +00:00