565 Commits

Author SHA1 Message Date
mcoletti
165580a25d Labelled to do #7 as done.
git-svn-id: http://svn.osgeo.org/qgis/trunk@808 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-12 21:30:22 +00:00
mcoletti
3c84c5f891 - addLayer() and addRasterLayer now take QStringList const references [0]
- now only provides file filters for supported qgis subset of GDAL
  drivers

- disabled SDTS and GML vector format file filters as they're not yet
  currently supported in qgis

Notes:

  [0] thus saving unnecessary copying of string list arguments


git-svn-id: http://svn.osgeo.org/qgis/trunk@807 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-12 21:16:06 +00:00
timlinux
eaeba5a726 Conditional display of metadat tab based on state of DEBUG flag.
git-svn-id: http://svn.osgeo.org/qgis/trunk@806 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-12 05:47:44 +00:00
gsherman
10f623bb2f added version function to return version without instantiating the plugin object
git-svn-id: http://svn.osgeo.org/qgis/trunk@805 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-12 05:46:44 +00:00
gsherman
bf70f9f4f4 indented source
git-svn-id: http://svn.osgeo.org/qgis/trunk@804 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-12 05:45:27 +00:00
gsherman
8c0f0b589e added icons for the remainder of menu options. added qgis web page and qgis sf page to help menu
git-svn-id: http://svn.osgeo.org/qgis/trunk@803 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-12 05:44:57 +00:00
gsherman
1916666abf added qgis webpage and qgis sf page slots
git-svn-id: http://svn.osgeo.org/qgis/trunk@802 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-12 05:43:57 +00:00
gsherman
948df749ae added marco to mug shot. added lars to list of contributors
git-svn-id: http://svn.osgeo.org/qgis/trunk@801 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-12 05:42:44 +00:00
gsherman
6b93880572 added version number to plugin display. removed type for this release
git-svn-id: http://svn.osgeo.org/qgis/trunk@800 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-12 05:39:51 +00:00
gsherman
e0c49ccbef changed indents to 2 spaces, no tabs
git-svn-id: http://svn.osgeo.org/qgis/trunk@799 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-12 05:38:48 +00:00
mcoletti
7069e5b385 - now dynamically builds the open vector layer dialog based on
available OGR drivers

- corrected some typos and cleaned up the openRasterLayer() a bit

Notes:

OGR lacks the nifty GDAL driver metadata facility for getting file
name extensions for each driver, so we have to manually map file name
extensions to a given driver name.  I've only done so for Shapefiles,
GML, and for SDTS drivers.  Iff they're encountered during program
execution, only those drivers will get corresponding file filters in
the vector layer open dialog.  (That is, it's possible that the
Shapefile, GML, or SDTS drivers are not loaded for whatever reason, in
which case the file filter for that driver won't be emitted to the
file filters string.)  File extensions for the other OGR drivers will
need to be added; check the "XXX" comments for stubs on where to put
them.  However, it'd probably be best to vet each driver's capabilitys
with regards to qgis before permanently adding explicit support for it
in the vector layer open dialog.


git-svn-id: http://svn.osgeo.org/qgis/trunk@798 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 17:48:36 +00:00
mhugent
077109ef20 put #ifdef DEBUG around some qWarnings
git-svn-id: http://svn.osgeo.org/qgis/trunk@797 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 14:42:30 +00:00
timlinux
38a5b8450b Added a new method : getMetadata() which obtains metadata from GDAL for current raster layer.
git-svn-id: http://svn.osgeo.org/qgis/trunk@796 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 08:07:24 +00:00
timlinux
cc3741a432 Added metadata tab to raster properties box. This will be probably be DEBUG ifdeffed out for 0.1 release unless I have time to remake screenies. I need to metadata to debug some problems I am having with reading ArcInfo ASCII grid files.
git-svn-id: http://svn.osgeo.org/qgis/trunk@795 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 08:06:10 +00:00
gsherman
fc16905031 changes to build system
git-svn-id: http://svn.osgeo.org/qgis/trunk@794 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 06:20:13 +00:00
gsherman
ce56966edc updated authors
git-svn-id: http://svn.osgeo.org/qgis/trunk@793 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 06:12:39 +00:00
gsherman
ec75d3d8c1 change to qgis plugin/provider lib
git-svn-id: http://svn.osgeo.org/qgis/trunk@792 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 06:10:12 +00:00
gsherman
c8f5d61a88 changes to build system
git-svn-id: http://svn.osgeo.org/qgis/trunk@791 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 05:47:36 +00:00
gsherman
f9949caa33 fixes to meta table handling and other bugs
git-svn-id: http://svn.osgeo.org/qgis/trunk@790 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 05:46:39 +00:00
gsherman
c240bc89f6 change to build system
git-svn-id: http://svn.osgeo.org/qgis/trunk@789 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 05:45:46 +00:00
gsherman
95d7a06c66 minor change to indent standard
git-svn-id: http://svn.osgeo.org/qgis/trunk@788 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 05:44:45 +00:00
gsherman
019cd46a7d indented code
git-svn-id: http://svn.osgeo.org/qgis/trunk@787 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 05:43:51 +00:00
gsherman
caa721a876 changed location of qgis libs (plugins)
git-svn-id: http://svn.osgeo.org/qgis/trunk@786 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 05:37:59 +00:00
gsherman
77dcbb238c changes to build system
git-svn-id: http://svn.osgeo.org/qgis/trunk@785 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 05:34:11 +00:00
mcoletti
681f21e0c0 - now dynamically builds the file filter list for the raster dialog
based on the currently available GDAL drivers [0]

- now register GDAL drivers when app is instantiated not when a raster
  layer is opened [1]

Notes:

[0] However, there exist drivers that have no corresponding file name
extension in their driver metadata, and so do not get appropriate
filters populated in the raster dialog.  Presumably the user can use
the default "All (*.*)" filter to load datasets of those types; this
probably should be tested.  Grep for appropriate "XXX" comments for
place to catch these types of raster drivers in
buildSupportedrasterFileFilter_().

[1] After all, it doesn't make sense to reload the drivers every time
a raster layer is opened.  Presumably these drivers are loaded once
and then remain static.

The vector layer dialog file filters aren't similarly dynamically
built.  (Yet.)


git-svn-id: http://svn.osgeo.org/qgis/trunk@784 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-11 04:19:13 +00:00
timlinux
54ccec06c0 Upper cased button label first letters
git-svn-id: http://svn.osgeo.org/qgis/trunk@783 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-10 13:28:24 +00:00
timlinux
64bc304453 Changed field label from 'Classification Variable' to 'Classification Field'
git-svn-id: http://svn.osgeo.org/qgis/trunk@782 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-10 13:26:49 +00:00
mhugent
4127388d63 attribute names and graduated symbol modes upper case
git-svn-id: http://svn.osgeo.org/qgis/trunk@781 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-10 13:21:04 +00:00
timlinux
7839ca10a4 Constrain height of widgets to 20.
git-svn-id: http://svn.osgeo.org/qgis/trunk@780 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-10 12:21:34 +00:00
mhugent
4260af0cc7 fixed bug in QgsProjectIo
git-svn-id: http://svn.osgeo.org/qgis/trunk@774 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-10 07:52:10 +00:00
mhugent
6f562854f5 nobrush button
git-svn-id: http://svn.osgeo.org/qgis/trunk@773 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-10 07:44:14 +00:00
gsherman
91e664f426 reformatted code
git-svn-id: http://svn.osgeo.org/qgis/trunk@770 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-10 04:35:50 +00:00
gsherman
acf9572df8 added a NoPen button
git-svn-id: http://svn.osgeo.org/qgis/trunk@769 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-10 04:19:50 +00:00
gsherman
76a729925e updated back and reload buttons
git-svn-id: http://svn.osgeo.org/qgis/trunk@768 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-10 04:18:30 +00:00
gsherman
86c1e5e755 added a nopen button
git-svn-id: http://svn.osgeo.org/qgis/trunk@767 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-10 04:12:29 +00:00
gsherman
e8481ae675 didge updates to gnu build configuration
git-svn-id: http://svn.osgeo.org/qgis/trunk@766 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-10 03:56:45 +00:00
timlinux
9e4307c255 More gui cleanups.
git-svn-id: http://svn.osgeo.org/qgis/trunk@764 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-09 08:41:43 +00:00
timlinux
76190521cc Gui clean ups - set min height on all controls to 20 rather than 30.
git-svn-id: http://svn.osgeo.org/qgis/trunk@762 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-09 06:40:41 +00:00
gsherman
b05469431b changed function for setting check box to maintain qt 3.1.2 compatibility
git-svn-id: http://svn.osgeo.org/qgis/trunk@759 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-08 22:13:25 +00:00
gsherman
96b9613d49 updated exit, plugin manager, and help contents icons
git-svn-id: http://svn.osgeo.org/qgis/trunk@758 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-08 22:11:42 +00:00
gsherman
2b999b7a26 removed second arg from endsWith function to retain compatibility with qt 3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk@751 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-08 15:57:50 +00:00
timlinux
a9499db3f6 Gui clean up for graduated symbol multiline widtget so that horizontal scrolling is not required.
git-svn-id: http://svn.osgeo.org/qgis/trunk@750 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-08 12:30:32 +00:00
timlinux
3ebfd0686b Ifdef'd std:cerr messages.
git-svn-id: http://svn.osgeo.org/qgis/trunk@749 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-08 11:35:12 +00:00
timlinux
92d66e4bde Wrapped qWarnings in #ifdef DEBUG statements to prevent extraneous stdout messages when built with debug=false.
git-svn-id: http://svn.osgeo.org/qgis/trunk@748 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-08 11:29:55 +00:00
timlinux
2a2d493fcb Bug fix for losing state of rasterlayer drawing style on dialog box reaopen.
git-svn-id: http://svn.osgeo.org/qgis/trunk@747 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-08 04:34:23 +00:00
timlinux
a3076b45b2 Fix for [ 891857 ] Changing gryscale raster to pseudoclr does not update legend
git-svn-id: http://svn.osgeo.org/qgis/trunk@746 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-08 04:08:22 +00:00
gsherman
960086d865 fixed version number to 3.1
git-svn-id: http://svn.osgeo.org/qgis/trunk@745 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-07 23:45:48 +00:00
gsherman
5a699563de added structure for plugin documentation
git-svn-id: http://svn.osgeo.org/qgis/trunk@744 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-07 23:36:54 +00:00
gsherman
6a7dc2cdf0 connected help button on the buffer dialog to display help stored in <prefix>/share/doc/plugins/geoprocessing/buffer
git-svn-id: http://svn.osgeo.org/qgis/trunk@743 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-07 23:33:50 +00:00
gsherman
d64b76cb4b added hooks for opening url relative to the documentation base directory or an absolute url
git-svn-id: http://svn.osgeo.org/qgis/trunk@742 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-07 23:32:47 +00:00