416 Commits

Author SHA1 Message Date
timlinux
d367c519be Neatened up layout of dialog.
git-svn-id: http://svn.osgeo.org/qgis/trunk@628 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-29 01:03:39 +00:00
gsherman
1b61f9f496 fixed bug with creating buffer in postgres 7.3.x
git-svn-id: http://svn.osgeo.org/qgis/trunk@627 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-29 00:14:13 +00:00
mhugent
6482e1ab65 fixed some problems due to changes in the vectorlayerproperties and in the renderer dialogs
git-svn-id: http://svn.osgeo.org/qgis/trunk@626 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 15:11:51 +00:00
mhugent
8c91ca4efb 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@625 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 14:01:31 +00:00
timlinux
f7c8931a43 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@624 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 09:05:05 +00:00
timlinux
1adfc7c4e8 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@623 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 09:04:28 +00:00
timlinux
30991df971 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@622 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 08:41:42 +00:00
gsherman
4a546ca8a6 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@621 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 05:55:27 +00:00
gsherman
df14f2695e added pixmaps to fill style buttons
git-svn-id: http://svn.osgeo.org/qgis/trunk@620 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 05:53:30 +00:00
gsherman
891f4ab02c Updated TODO list
git-svn-id: http://svn.osgeo.org/qgis/trunk@619 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 04:53:14 +00:00
gsherman
8aa9ada994 Made addVectorLayer function public so it can be used from other dialogs
git-svn-id: http://svn.osgeo.org/qgis/trunk@616 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 02:10:24 +00:00
gsherman
e29991eed8 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@615 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 02:09:10 +00:00
gsherman
8c520c2369 Changed name of setlayerName function to setLayerName
git-svn-id: http://svn.osgeo.org/qgis/trunk@614 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 02:07:56 +00:00
gsherman
58139133d8 Tweaked display name to capitalize the first letter from name of layer
git-svn-id: http://svn.osgeo.org/qgis/trunk@613 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 02:05:06 +00:00
gsherman
8ca1965c7f 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@612 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 02:03:52 +00:00
gsherman
3a5a61c09d 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@611 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 01:58:52 +00:00
gsherman
c8a3a98644 Updated status of existing todo items
git-svn-id: http://svn.osgeo.org/qgis/trunk@610 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-28 01:53:27 +00:00
timlinux
e798b7c8e3 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@609 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-27 10:02:48 +00:00
mhugent
a80235de6d removed a bug related to loading of symbology
git-svn-id: http://svn.osgeo.org/qgis/trunk@608 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-27 07:56:23 +00:00
gsherman
8052c0a0cd Updated TODO list
git-svn-id: http://svn.osgeo.org/qgis/trunk@607 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-27 07:10:15 +00:00
gsherman
020e92a1a8 removed setModal(true) from the dialog to prevent Qt 3.1 compilation error
git-svn-id: http://svn.osgeo.org/qgis/trunk@606 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-27 06:14:09 +00:00
gsherman
c070be862b fix to plugin installation location
git-svn-id: http://svn.osgeo.org/qgis/trunk@605 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-27 06:09:44 +00:00
gsherman
b54897e15f fix to plugin installation and detection code. Also solve qt 3.1 compile problems
git-svn-id: http://svn.osgeo.org/qgis/trunk@604 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-27 06:08:44 +00:00
gsherman
e1794c5f93 fixed QgsProjectIo so right-click context menus are connected when loading a saved project
git-svn-id: http://svn.osgeo.org/qgis/trunk@603 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-27 03:01:11 +00:00
mcoletti
409d73805f 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@602 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 22:48:53 +00:00
stevehalasz
e8a904f025 Show legend text as white for grayscale layers
git-svn-id: http://svn.osgeo.org/qgis/trunk@601 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 21:33:22 +00:00
stevehalasz
a4e24bc891 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@600 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 21:12:22 +00:00
stevehalasz
e8a29d5455 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@599 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 20:39:53 +00:00
mcoletti
d565d76ba5 Added GDAL compiler flags.
git-svn-id: http://svn.osgeo.org/qgis/trunk@598 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 19:06:30 +00:00
mhugent
57e1623fd9 saving and loading of symbology
git-svn-id: http://svn.osgeo.org/qgis/trunk@597 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 17:25:22 +00:00
timlinux
75460eb95b Added some additional things that need doing as dicussed with Gary on irc.
git-svn-id: http://svn.osgeo.org/qgis/trunk@596 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 08:42:38 +00:00
gsherman
ccbc9e6771 added toolbar with buffer button
git-svn-id: http://svn.osgeo.org/qgis/trunk@595 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 07:27:05 +00:00
gsherman
d3bc661ce2 changes to support compilation under Qt 3.1.x
git-svn-id: http://svn.osgeo.org/qgis/trunk@594 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 03:00:49 +00:00
gsherman
28e366c33f changed detection logic for qt share libs and qt multi-threaded lib
git-svn-id: http://svn.osgeo.org/qgis/trunk@593 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-26 01:03:32 +00:00
mhugent
ad21f8da38 various changes (downtime of sf)
git-svn-id: http://svn.osgeo.org/qgis/trunk@592 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 08:05:16 +00:00
gsherman
f87e2178d4 added validity checking at the data provider level. Modified logging in postgres provider
git-svn-id: http://svn.osgeo.org/qgis/trunk@591 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:41:36 +00:00
gsherman
aa2e7323ce changed font in plugin list
git-svn-id: http://svn.osgeo.org/qgis/trunk@590 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:37:38 +00:00
gsherman
b241d03556 changed detection method of layer type when reading a project file
git-svn-id: http://svn.osgeo.org/qgis/trunk@589 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:37:00 +00:00
gsherman
1ef2673283 cleaned up memory management of postgresql queries and connection objects
git-svn-id: http://svn.osgeo.org/qgis/trunk@588 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:36:21 +00:00
gsherman
249f85df22 added validity checking prior to adding vector layer
git-svn-id: http://svn.osgeo.org/qgis/trunk@587 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:34:28 +00:00
gsherman
6f5652e4ea added validity checking for a layer
git-svn-id: http://svn.osgeo.org/qgis/trunk@586 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:32:40 +00:00
gsherman
25cec50c67 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@585 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 07:29:51 +00:00
timlinux
1b07a31175 Changed pan icon for one provided by rawbytes.
git-svn-id: http://svn.osgeo.org/qgis/trunk@584 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 03:18:46 +00:00
timlinux
c4eff02642 Rawbytes' improved pan icon
git-svn-id: http://svn.osgeo.org/qgis/trunk@583 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 03:05:47 +00:00
timlinux
ca7330bdf3 Updated toolbar icons based on (mostly taken directly from) Everaldos Crystal icon theme.
git-svn-id: http://svn.osgeo.org/qgis/trunk@582 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 01:23:52 +00:00
timlinux
62e70d7cc0 Popup context menu and removal of draw signal.
git-svn-id: http://svn.osgeo.org/qgis/trunk@581 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 01:16:08 +00:00
timlinux
8dfefac6a1 Fixed hotspots in new cursors.
git-svn-id: http://svn.osgeo.org/qgis/trunk@580 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 01:15:11 +00:00
timlinux
8aae00fc16 Changed icons to crystal look and minor alterations to toolbar icon order.
git-svn-id: http://svn.osgeo.org/qgis/trunk@579 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 01:10:43 +00:00
timlinux
6b2b8fc273 Context menu support and implemented handlers for multiband gray and pseudocolour rendering.
git-svn-id: http://svn.osgeo.org/qgis/trunk@578 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 01:07:04 +00:00
timlinux
889420a8b8 Moved popMenu declaration up to qgsmaplayer.h
git-svn-id: http://svn.osgeo.org/qgis/trunk@577 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-01-25 01:02:49 +00:00