gsherman
0bf40b3e43
fixed bug with creating buffer in postgres 7.3.x
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@627 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-29 00:14:13 +00:00
mhugent
c5571d9b52
fixed some problems due to changes in the vectorlayerproperties and in the renderer dialogs
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@626 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 15:11:51 +00:00
mhugent
1fcf66125e
New mechanism that speeds up the selection of legend type by storing objects of renderer, renderer dialog and qpixmap in qgsvectorlayerproperties and applying it only if the ok-button or the apply button is pressed. Todo: fix various problems, clean up the code, document it propertly
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@625 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 14:01:31 +00:00
timlinux
964e5b9bbf
This is a major replumbing job of the calculate stats routines. Basically before we used band names to reference any band, but there is a pro
...
blem with this in that I have discovered that multiband imagery can have more than one band of the same name. Consequently I am reworking eve
rything to reference bands by there number. THere are also numerous other bugfixes here. This commit has been tested to work with single band
grayscale imagery and paletted images, but not with multiband images (there is still some work to do on this). Also the properties dialog cu
rrently scans stats for each band - this inefficient, I know about this and will submit a fix for this over the next day or two. I expect the
multiband support to be commintted in the next couple of days too. Lastly, this patch includes a merge of any other commits not made by myse
lf over the previous few days.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@624 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 09:05:05 +00:00
timlinux
bd7d7d47ae
This is a major replumbing job of the calculate stats routines. Basically before we used band names to reference any band, but there is a problem with this in that I have discovered that multiband imagery can have more than one band of the same name. Consequently I am reworking everything to reference bands by there number. THere are also numerous other bugfixes here. This commit has been tested to work with single band grayscale imagery and paletted images, but not with multiband images (there is still some work to do on this). Also the properties dialog currently scans stats for each band - this inefficient, I know about this and will submit a fix for this over the next day or two. I expect the multiband support to be commintted in the next couple of days too. Lastly, this patch includes a merge of any other commits not made by myself over the previous few days.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@623 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 09:04:28 +00:00
timlinux
6f5540f71a
Added DEM to dem. Added 'other' filter which shows all files and is useful for testing to see if other GDAL supported files will work prior to creating a specific filter for them.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@622 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 08:41:42 +00:00
gsherman
2385b802e6
logic for tracking state of the project/map canvas so user can be prompted to save prior to exiting, closing, opening, or creating a new project file
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@621 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 05:55:27 +00:00
gsherman
a8406b4bdf
added pixmaps to fill style buttons
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@620 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 05:53:30 +00:00
gsherman
417ce8b2ce
Updated TODO list
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@619 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 04:53:14 +00:00
gsherman
2d9fee994d
Made addVectorLayer function public so it can be used from other dialogs
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@616 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 02:10:24 +00:00
gsherman
e05e6157a0
Changed name of setlayerName function to setLayerName
...
Added internalName to store the name of the datasource used at load time. This allows mangling of the display name without affecting the name needed to access the layer via its datasource.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@615 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 02:09:10 +00:00
gsherman
1d2043e9fd
Changed name of setlayerName function to setLayerName
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@614 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 02:07:56 +00:00
gsherman
c472bc3cf7
Tweaked display name to capitalize the first letter from name of layer
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@613 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 02:05:06 +00:00
gsherman
3e4c3f423f
Tweaked display name to capitalize the first letter and strip schema/geometry column from name of PG layers
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@612 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 02:03:52 +00:00
gsherman
6b0ffddfc7
Added ability to load a layer by double clicking on it in the list of PG layers
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@611 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 01:58:52 +00:00
gsherman
24ed42eef5
Updated status of existing todo items
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@610 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 01:53:27 +00:00
timlinux
b1ee3a70de
Added *.DEM extension for usgs dem file filter. It aint pretty but we need some way to manage upper case extensions....
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@609 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-27 10:02:48 +00:00
mhugent
f75e905aad
removed a bug related to loading of symbology
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@608 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-27 07:56:23 +00:00
gsherman
cba3a373d5
Updated TODO list
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@607 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-27 07:10:15 +00:00
gsherman
f6a0b64ad2
removed setModal(true) from the dialog to prevent Qt 3.1 compilation error
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@606 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-27 06:14:09 +00:00
gsherman
b7de74df4f
fix to plugin installation location
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@605 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-27 06:09:44 +00:00
gsherman
4104df9cd2
fix to plugin installation and detection code. Also solve qt 3.1 compile problems
...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@604 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-27 06:08:44 +00:00
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