821 Commits

Author SHA1 Message Date
gsherman
8ea97250ab Changed parsing/splitting to use regular expressions. This allows special
characters such as tab (\t) to be specified.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1093 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 05:54:17 +00:00
gsherman
2685d713b3 Added qgsfield.cpp to libqgis_la_SOURCES so it gets built into the library.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1092 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 04:45:34 +00:00
timlinux
4a0b04c8bb Changed wkt entry box to a combo and coded the wkt projections into code itself. Various other minor changes
git-svn-id: http://svn.osgeo.org/qgis/trunk@1091 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-26 01:17:59 +00:00
mcoletti
c8445d7b44 qgisapp.cpp :
- moved #include <qgsconfig.h> to header

qgisapp.h :

 - #include <qgsconfig.h> moved here because otherwise addDataBaseLayer() not
    declared

qgisappbase.ui.h :

 - added debug statement for when QgisAppBase::addDatabaseLayer() invoked
   instead of QgisApp::addDataBaseLayer()

qgsvectorlayer.h

 - deleted extra #include <map>


git-svn-id: http://svn.osgeo.org/qgis/trunk@1090 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-25 22:18:58 +00:00
mcoletti
5a45049672 This file, too, was inadvertantly commited to CVS and has been restored to its
prior version.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1089 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-25 21:13:54 +00:00
mcoletti
ddb6377a85 While making changes for the new plug-in library and Makefile.am structure, I
inadvertantly made changes to this file that apparently broke dependent
files.  This restores the ui file to the previous, working version.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1088 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-25 20:49:03 +00:00
timlinux
74379d89b4 Disabled standalone build profile for now
git-svn-id: http://svn.osgeo.org/qgis/trunk@1083 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 23:44:24 +00:00
timlinux
02214f006e Replaced image of gps and set grid layout for form.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1082 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 21:57:55 +00:00
timlinux
4e4537598c Added missing list.cpp file
git-svn-id: http://svn.osgeo.org/qgis/trunk@1081 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 16:13:24 +00:00
mhugent
1915e39a32 added pointers to the two paint devices (used for double buffering) in QgsMapLayer::draw(...). The idea is, that, if it takes a long time to paint a layer, the layer has the possibility, to copy the buffer image to the canvas before drawing is complete. Like this, it is more interesting for a user to wait as he can observe the progresses of the drawing process. I changed QgsVectorLayer::draw such that after drawing 1000 features to the background buffer, a bitBlt is made. The additional computing time due to these additional bitBlts seem to be very small. I did a few performance tests (times in milliseconds) with a dataset containing over 9000 features (5 paints for each configuration to get a good average). ctour1.shp without additional bitBlts[ms]: 4424 / 5189 / 5060 / 5070 / 5071. ctour1.shp with bitBlt every 1000 elements (9 additional bitBlts) [ms]: 4528 / 5243 / 5104 / 5102 / 5104. ctour1.shp with bitBlt every 500 elements (18 additional bitBlts) [ms]: 4751 / 5127 / 5087 / 5094 / 5113
git-svn-id: http://svn.osgeo.org/qgis/trunk@1080 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 10:18:43 +00:00
timlinux
0f6a5c57c5 Forgot to add this file...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1079 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 09:25:18 +00:00
timlinux
ad0d5933d7 Removed default values in constructor.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1078 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:39:51 +00:00
timlinux
6babb2b61e Removed calls to om _log global
git-svn-id: http://svn.osgeo.org/qgis/trunk@1077 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:38:59 +00:00
timlinux
fe79a25819 Updated to build standalone om gui too - still not working properly yet though methinks...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1075 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:36:31 +00:00
timlinux
071101805d Removed these files as having them there in the first place was a nasty hack. With didges new install system, only headers that are not installed during openmodeller make install need to be copied into this plugind dir.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1074 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:15:41 +00:00
timlinux
408ed3290c Removed these files as having them there in the first place was a nasty hack. With didges new install system, only headers that are not installed during openmodeller make install need to be copied into this plugind dir.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1073 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-24 08:08:50 +00:00
timlinux
c230f50481 Changed include from config.h to qgsconfig.h
git-svn-id: http://svn.osgeo.org/qgis/trunk@1072 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 15:06:22 +00:00
mhugent
24d46b5144 made several methods of QgsPoints inline and added Method to QgsCoordinateTransform which takes a pointer to a QgsPoint (thus no QgsPoint objects have to be copied). Changed QgsVectorlayer::draw to use the new method of QgsCoordinateTransform
git-svn-id: http://svn.osgeo.org/qgis/trunk@1071 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 14:41:55 +00:00
mhugent
875b165fb6 minor refactoring of QgsRenderItem and QgsRangeRenderItem
git-svn-id: http://svn.osgeo.org/qgis/trunk@1070 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 13:31:50 +00:00
gsherman
89f0dfae98 Removed unneeded BINDIR from AM_CXXFLAGS
git-svn-id: http://svn.osgeo.org/qgis/trunk@1069 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 06:49:20 +00:00
gsherman
b07a723ec8 Added tools/qgis_config/Makefile to AC_CONFIG_FILES. The qgis_config program is patterned almost exactly after pg_config (PostgreSQL) and can be used to determine the prefix, lib, include, and bin directories of a QGIS install.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1068 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 06:21:15 +00:00
gsherman
13d7711a5b Added qgis_config which is patterned almost exactly after pg_config (PostgreSQL) and can be used to determine the prefix, lib, include, and bin directories of a QGIS install.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1067 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 06:17:59 +00:00
gsherman
6ad2f8250f Added snapshots for plugin documentation
git-svn-id: http://svn.osgeo.org/qgis/trunk@1066 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 04:40:20 +00:00
timlinux
8db24974d5 Null detection for labels and got rid of the fprintf stuff that caused raised eyebrows and stern disapproval from Mcoletti
git-svn-id: http://svn.osgeo.org/qgis/trunk@1065 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:37:31 +00:00
timlinux
b19df29e5e Gui clean up to detect incorrect input file, and to allow hand entered file names. Layer now displays properly in gui after importing.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1064 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:36:19 +00:00
timlinux
cee9e1c371 Backdated changelog comments I forgot to commit
git-svn-id: http://svn.osgeo.org/qgis/trunk@1063 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:02:28 +00:00
timlinux
46eafcefe6 Updated version no
git-svn-id: http://svn.osgeo.org/qgis/trunk@1062 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 01:01:51 +00:00
timlinux
55fb9812b0 Make cancel button work...
git-svn-id: http://svn.osgeo.org/qgis/trunk@1061 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 00:44:31 +00:00
timlinux
6a46156643 This is a sample garmin dump file kindly provided by Shuyler for testing....
git-svn-id: http://svn.osgeo.org/qgis/trunk@1060 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-23 00:05:29 +00:00
timlinux
7201f8a922 Added gps_importer to make process
git-svn-id: http://svn.osgeo.org/qgis/trunk@1059 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-22 23:59:11 +00:00
timlinux
713079c76c This is a c++ first draft of a port of a perl script by Schuyler to import Garmin gps dump files as a shapefile. The resulting imported file will be displayed in the map view. At the moment it only generates a point layer of the waypoints but a future version will generate polylines and perhaps polygons too using similar logic to that used by Shuylers perl stuff. Note this plugin is still under construction and I am commiting it mainly so that other developers can assist me when I get stuck. Also note that the plugins Makefile builds a standalone app based on the plugin gui that can be run separately from qgis.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1058 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-22 23:38:26 +00:00
mcoletti
0b7fc7b2ac Version 0.1.0devel8
git-svn-id: http://svn.osgeo.org/qgis/trunk@1057 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-22 20:04:56 +00:00
mcoletti
27740e4155 - s/config.h/qgsconfig.h [0]
- qgsconfig.h now has header sentinals

- now will install headers in $(prefix)/qgis/include and libqis.* library in
  $(prefix)/lib [1]

- "src/Makefile" no longer relies on explicit dependencies and uses better
  naming scheme for created source files [2]

Notes:

[0] To eliminate any file namespace collisions.  Unfortunately there will
    still be some macro name collisions.  These are harmless, though annoying.
    What needs to happen is that all header file references to "qgsconfig.h"
    be moved to implementation files, thus breaking any include dependencies
    for external software.

[1] There currently does not exist a way to make this optional; these will
    always install.  In the future, this might be something toggleable by a
    configure script option.  Moreover, there does not currently exist a
    "qgis-config" script for getting command line options for external,
    dependant software; there might be one in a future release.

    I decided to err on including too many header files; almost certainly some
    of the header files that are currently installed can be culled from the
    "to install" list.

    The new make file has two targets: the old qgis application target, and a
    second one for the library.  As plug-ins are developed, there may be a
    need to add more source files to the library to link against.  I just
    added in the bare minimum for the current set of plug-ins.  If more
    sources need to be added, just add them to libqgis_la_SOURCES, near the
    bottom of  "src/Makefile.am".

[2] All *.ui files will create corresponding *.uic.h and *.uic.cpp files.
    Since these also need MOC files, *.moc.uic.cpp files are also
    automatically created.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1056 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-22 20:00:55 +00:00
timlinux
9e7c4fd98e Updated for kdevelop 3 and to not use qmake stuff anymore.
git-svn-id: http://svn.osgeo.org/qgis/trunk@1055 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-21 20:24:53 +00:00
timlinux
241d6f2b1b Added thumbnail preview of raster to raster props dialog.
Added drawThumbnail method to rasterlayer.cpp
   Split (overloaded) draw method in rasterlayer.cpp so that some parts of
   the original draw method could be used by drawThumbnail method too.

Fixed a bug in the drawing of pseudocolor single band grayscale images that
   prevented all class breaks being displayed.


git-svn-id: http://svn.osgeo.org/qgis/trunk@1054 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-21 20:24:00 +00:00
mhugent
2461bb69cf bugfix related to single marker
git-svn-id: http://svn.osgeo.org/qgis/trunk@1053 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-21 18:05:27 +00:00
mhugent
24f611d793 added possibility to save and load markers
git-svn-id: http://svn.osgeo.org/qgis/trunk@1052 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-21 15:35:37 +00:00
mhugent
e6a76d923a added caption to the dialog for chosing pictures
git-svn-id: http://svn.osgeo.org/qgis/trunk@1051 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-20 16:43:24 +00:00
mhugent
00cb5d1b8a small change to update the svg pixmap on button in case the scale factor has changed
git-svn-id: http://svn.osgeo.org/qgis/trunk@1050 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-20 15:31:25 +00:00
mhugent
94c248f235 added displaying of the chosen svg image to the button
git-svn-id: http://svn.osgeo.org/qgis/trunk@1049 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-20 10:12:09 +00:00
stevehalasz
724247682f a couple of compile fixes
git-svn-id: http://svn.osgeo.org/qgis/trunk@1048 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-19 16:45:29 +00:00
mhugent
d2d1f7b3e5 added default scale factor for single marker renderer
git-svn-id: http://svn.osgeo.org/qgis/trunk@1047 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-19 15:41:06 +00:00
mhugent
9890b5dc03 added displaying of SVG symbol to the pixmap displayed in the legend item
git-svn-id: http://svn.osgeo.org/qgis/trunk@1046 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-19 10:53:31 +00:00
gsherman
bedc81ce32 Added qgssymbol.cpp to Makefile.am. An unknown change in the symbology
code apparently added qgssymbol as a dependency. Without it, the plugins
do not load but rather faile with unknown symbol error (QgsSymbol::setColor)


git-svn-id: http://svn.osgeo.org/qgis/trunk@1045 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-19 01:25:56 +00:00
mhugent
5b2434fe96 single marker renderer now draws svg on the canvas. Code is still messy and incomplete
git-svn-id: http://svn.osgeo.org/qgis/trunk@1044 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-18 14:06:01 +00:00
gsherman
6d68661e47 Fixed dependency for qgsattributetablebase.h (file was incorrectly
specified as gsattributetablebase.h)


git-svn-id: http://svn.osgeo.org/qgis/trunk@1043 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-17 22:21:10 +00:00
mhugent
4a79ad1bdc code for marker symbols. Still does not work, but slow progresses
git-svn-id: http://svn.osgeo.org/qgis/trunk@1042 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-16 16:20:57 +00:00
mhugent
644b5f0a38 various changings prior to the marker renderer
git-svn-id: http://svn.osgeo.org/qgis/trunk@1041 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-16 07:03:45 +00:00
mhugent
7ca9cd95de change to Makefile.am to include the single marker renderer
git-svn-id: http://svn.osgeo.org/qgis/trunk@1040 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-15 07:25:44 +00:00
mhugent
ff39e6bd1a single marker renderer
git-svn-id: http://svn.osgeo.org/qgis/trunk@1039 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-03-15 07:14:33 +00:00