684 Commits

Author SHA1 Message Date
timlinux
3ce06533a3 Removed references to deprecated signal handlers
git-svn-id: http://svn.osgeo.org/qgis/trunk@894 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:45:46 +00:00
timlinux
f6be42f116 Fixes for add vector layer signal
git-svn-id: http://svn.osgeo.org/qgis/trunk@893 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:43:27 +00:00
timlinux
6dce119e36 Fixed call to add vector layer. Other minor bugfixes
git-svn-id: http://svn.osgeo.org/qgis/trunk@892 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:38:09 +00:00
gsherman
8c78c443e0 simplified global replace of template parameters
git-svn-id: http://svn.osgeo.org/qgis/trunk@891 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:18:22 +00:00
timlinux
2b505d4c8f Added readme for plugin template dir. Fixed improperly names Gui instance.
git-svn-id: http://svn.osgeo.org/qgis/trunk@890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 08:11:29 +00:00
gsherman
5c9752585d fixed typo in a comment
git-svn-id: http://svn.osgeo.org/qgis/trunk@889 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 06:54:47 +00:00
gsherman
182d989a86 fixed bug that prevented project files from loading when selected via the open project toolbar button
git-svn-id: http://svn.osgeo.org/qgis/trunk@888 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 06:54:07 +00:00
gsherman
4ef1a496e4 fixed a couple of typos
git-svn-id: http://svn.osgeo.org/qgis/trunk@887 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 03:54:10 +00:00
gsherman
d2269ff58e removed shell script
git-svn-id: http://svn.osgeo.org/qgis/trunk@886 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 03:53:10 +00:00
gsherman
3bf75127e5 perl script to build a new plugin source tree and add the appropriate lines to the build system
git-svn-id: http://svn.osgeo.org/qgis/trunk@885 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 03:52:23 +00:00
timlinux
a816e590b0 Changed singleband raster gray & pseudocolor to draw transparent on values of 0 _or_ no_data pending resolution to gdal problem where no_data vals show up as 0.
git-svn-id: http://svn.osgeo.org/qgis/trunk@884 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 01:50:13 +00:00
timlinux
784fb77791 Fixed incorrect header ref.
git-svn-id: http://svn.osgeo.org/qgis/trunk@883 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-22 01:45:01 +00:00
timlinux
d536cb1ae7 First stab at a bash script to automate creation of a new plugin from the template. Not working yet :-(
git-svn-id: http://svn.osgeo.org/qgis/trunk@882 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 23:55:06 +00:00
timlinux
ff7ec71bd2 This is the initial commit for the qgis plugin template. The template consists of:
class Plugin (a subclass of QgisPlugin)
class PluginGuiBase (supplied as a simple qdialog ui)
class PluginGui (the subclass of PluginGuiBase)

The only thing the user would need to change in the makefile is the name of the .so
so you just copy the plugin template dir to a new dir under plugins, change the .so name in the makefile add the plugin dir the configure.in and the plugin dir makefile.

I will be adding a bash script file soon that automates the above process. This template development is in progress.


git-svn-id: http://svn.osgeo.org/qgis/trunk@881 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 22:28:45 +00:00
gsherman
511274d7fa changes to support project loading from command line, plus fix that prevented ogr layers from loading at all from command line
git-svn-id: http://svn.osgeo.org/qgis/trunk@880 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 20:54:26 +00:00
gsherman
7ca45080b6 added iostream include
git-svn-id: http://svn.osgeo.org/qgis/trunk@879 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 07:02:43 +00:00
mcoletti
ba833cdfbb - fixed command line raster layer bug
main.cpp :

 - greatly simplified main()

 - now will try to load a command line argument first as raster, then
   vector; if it succeeds at the first, it won't try the second

qgisapp.{h,cpp} :

 - added addLayer(QFileInfo const &) [0]

 - added addRasterLayer(QFileInfo const &) [0]

 - do a little better checking for null pointers and freeing up
   resources when an error occurs

Notes:

Also, multiple rasters and vectors should be able to be specified on
the command line without problems.

[0] These will return true if successfully loaded the given file,
otherwise false.


git-svn-id: http://svn.osgeo.org/qgis/trunk@878 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 06:27:11 +00:00
gsherman
e37224d201 removed fix for bug 882424 since it clobbers raster display. Will fix post-0.1 release
git-svn-id: http://svn.osgeo.org/qgis/trunk@877 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 03:26:04 +00:00
gsherman
fb10f49539 fixed some memory leaks -- many more left to find
git-svn-id: http://svn.osgeo.org/qgis/trunk@876 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-21 03:01:39 +00:00
gsherman
02bb2837ad Fixed Partial map displayed after window resize bug [882424 ]
git-svn-id: http://svn.osgeo.org/qgis/trunk@875 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 20:53:26 +00:00
stevehalasz
611a3a5672 fix for appropriately enabling/disabling vector specific toolbar buttons
(bug #900676)


git-svn-id: http://svn.osgeo.org/qgis/trunk@874 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 18:44:47 +00:00
gsherman
f5337a7d69 changed #ifdef DEBUG to #ifdef QGISDEBUG to fix rh/fedora problem
git-svn-id: http://svn.osgeo.org/qgis/trunk@873 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 17:17:36 +00:00
gsherman
79ee83d007 added line to strip the qgis binary after make
git-svn-id: http://svn.osgeo.org/qgis/trunk@872 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 17:13:30 +00:00
gsherman
a0cb1da653 changed debug define from DEBUG to QGISDEBUG
git-svn-id: http://svn.osgeo.org/qgis/trunk@871 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 17:10:57 +00:00
gsherman
441b473645 added debug message to destructor
git-svn-id: http://svn.osgeo.org/qgis/trunk@870 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 05:13:29 +00:00
gsherman
8e2f8eec60 Plugged a few memory leaks
git-svn-id: http://svn.osgeo.org/qgis/trunk@869 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 05:12:38 +00:00
gsherman
d37964d411 Bumped version to 0.1pre2
git-svn-id: http://svn.osgeo.org/qgis/trunk@868 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 02:17:00 +00:00
gsherman
2f27e0382c fixed path to help contents (changed to <prefix>/share/qgis/doc)
git-svn-id: http://svn.osgeo.org/qgis/trunk@867 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-20 01:53:36 +00:00
stevehalasz
54abcbe001 don't dirty canvas right after rendering. fix for unnesessary repaints (bug #889466)
git-svn-id: http://svn.osgeo.org/qgis/trunk@866 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-19 21:37:49 +00:00
timlinux
b7a9e60a93 Added addRasterLayer to the plugin interface.
git-svn-id: http://svn.osgeo.org/qgis/trunk@865 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-19 16:21:31 +00:00
gsherman
4be3a931e7 Added port to the new connection dialog. Port is used in connecting to PostgreSQL. If port is not specified, the default of 5432 is used.
git-svn-id: http://svn.osgeo.org/qgis/trunk@864 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-19 06:55:25 +00:00
jobi
4fdd09e5fd added spec-file for rpm builds
added makefiles to doc/* paths to get a better overview


git-svn-id: http://svn.osgeo.org/qgis/trunk@863 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-18 18:49:54 +00:00
gsherman
e650e8232f added asPolygon function to return the rectangle as a set of polyogn coordinates
git-svn-id: http://svn.osgeo.org/qgis/trunk@862 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-16 22:44:47 +00:00
gsherman
8023114140 Fixed compile problem under Qt 3.1.2 related to GDAL driver detection code. Qt 3.1.2 does not support the case sensitive argument to QString::startsWith and QString::endsWith. Removed the second argument. This needs to be revisited if case insensitve detection is truly required.
git-svn-id: http://svn.osgeo.org/qgis/trunk@861 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-16 18:21:51 +00:00
gsherman
8ea53c210d Fixed compile problem under Qt 3.1.2 related to GDAL driver detection code. Qt 3.1.2 does not support the case sensitive argument to QString::startsWith and QString::endsWith
git-svn-id: http://svn.osgeo.org/qgis/trunk@860 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-16 15:47:10 +00:00
jobi
5a10886620 - fixed --with-gdal
- it can now be turned off, because you can also work only with postgis
  - spit is only enable if gdal and postgresql are both available
  - error if gdal and postgresql are both not available
  - changed --with_pg to --with_postgresql to make it more clearly
- fixed small bugbaby in Makefile.am


git-svn-id: http://svn.osgeo.org/qgis/trunk@859 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-15 12:23:30 +00:00
mcoletti
73d0a81cbc - fixed bug whereby GDAL drivers with unspecified metadata file
extensions wouldn't show up in open dialog filter list; now these
  drivers show up with the "All (*.*)" category, but only using their
  driver short names to prevent that filter line from getting too long

- compensated for GDAL bug whereby USGS ASCII DEM's use "*.dem" file
  extension, but the GDAL metadata doesn't reflect that; now the file
  filter for the open raster dialog properly displays a filter for
  USGS ASCII DEM instead of putting it into the "catch-all" (*.*) file
  filter  (Reported this GDAL bug, too.)


git-svn-id: http://svn.osgeo.org/qgis/trunk@858 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 22:51:46 +00:00
gsherman
393b335bb9 latest spit changes
git-svn-id: http://svn.osgeo.org/qgis/trunk@857 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 18:01:56 +00:00
jobi
2b4c42d03f Added make release, what creats a tar.gz and a tar.bz2
git-svn-id: http://svn.osgeo.org/qgis/trunk@855 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 17:28:18 +00:00
gsherman
dd54568947 icon for spit
git-svn-id: http://svn.osgeo.org/qgis/trunk@852 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 16:53:04 +00:00
gsherman
cd57a85d56 latest fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk@851 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 16:44:16 +00:00
gsherman
8a86ae4b0e lars fix for crash when trying to buffer a raster
git-svn-id: http://svn.osgeo.org/qgis/trunk@850 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 16:34:36 +00:00
stevehalasz
8baf0de757 fix for multiple repaints when adding multiple rasters (bug #891870)
git-svn-id: http://svn.osgeo.org/qgis/trunk@849 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 15:38:50 +00:00
gsherman
28c8418817 updated changelog for 0.1pre1
git-svn-id: http://svn.osgeo.org/qgis/trunk@842 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 02:12:51 +00:00
gsherman
b445357a66 Update readme for 0.1pre1
git-svn-id: http://svn.osgeo.org/qgis/trunk@841 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-14 02:11:27 +00:00
timlinux
c488b28687 Substituted QT_DEBUG with DEBUG for ifdefs.
git-svn-id: http://svn.osgeo.org/qgis/trunk@836 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 23:21:37 +00:00
gsherman
a4675f56df added debug to the layer name beautification code
git-svn-id: http://svn.osgeo.org/qgis/trunk@834 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 22:49:17 +00:00
mcoletti
5ff54e4af6 Fixed bug whereby some supported raster formats weren't getting
included in the open raster layer file dialog filter list.


git-svn-id: http://svn.osgeo.org/qgis/trunk@833 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 22:32:26 +00:00
mcoletti
d6fe92ad51 TODO #13 completed, with bonus of remembering previous working
directories, too.


git-svn-id: http://svn.osgeo.org/qgis/trunk@832 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 22:15:30 +00:00
mcoletti
a4c578646b - open file dialogs now use previous file filters and working
directories unless, of course, the open file dialogs are invoked for
  the first time for opening a raster or vector layer


git-svn-id: http://svn.osgeo.org/qgis/trunk@831 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-02-13 22:13:52 +00:00