1695 Commits

Author SHA1 Message Date
mhugent
f88041c1a0 moved start editing/ stop editing stuff up to QgsVectorDataProvider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2177 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-26 20:40:14 +00:00
mcoletti
2fb77fe376 Reading and writing of project title now restored.
Note that we still need to decide if the project title is stored as an
attribute of <qgis> or as a separate text node in <title>.  Currently
redundantly storing project title in both for backward compatibility, but only
relying on <title> for reading.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2176 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-26 19:03:00 +00:00
mcoletti
71b0638251 qgsgrassedit.h:
- added include for <vector>

qgis.h:

  - added WKBUnknown to enumerated list to be used as error state

qgisapp.cpp:

  - fixed a for loop

qgisapp.h, qgisiface.h, qgslegend.h, qgslegenditem.h, qgsmapcanvs.h, qgsvectorlayer.h:

  - made copy ctor and assignment operator private since we won't be copying
    any of these

qgsattributetable.cpp, qgsrasterlayer.cpp, qgssymbologyutils.cpp:

  - functions that say they return something should actually return something

*renderer.h:

  - made dtors virtual

qgscoordinatetransform.h:

  - added initializer for xMax

qgsgeomtypedialog.cpp:

  - added return of WKBUnknown when given bad data

qgslabel.cpp, qgslabeldialog.cpp:

  - used static_cast to stomp compiler warning

qgsmapcanvas.cpp:

  - made CanvasProperties a class form struct, partly to find work-around for
    gcc bug and partly to ensure that ctor and assignment operator were
    disabled

  - ensured that members were in the same order in initializer list as they
    were declared

  - now use QgsScaleCalculator::units

qgsproject.cpp:

  - now read and write map units; still need to tie it in with more code

qgsprojectproperties.cpp:

  - now use canonical map units stored in QgsProject singleton object

qgsscalecalculator:

  - now prefer to use QgsScaleCalculator::units instead of int


And many minor formatting changes.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2175 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-26 17:28:03 +00:00
stevehalasz
2d744bd80e Make the alt-accelators unique in the file menu. Fixes Debian bug #275611.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2174 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-26 03:00:16 +00:00
jobi
18d2eeb41f - version detection for geos
- display versions of geos, gdal and postgresql


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2173 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-25 20:44:53 +00:00
gsherman
0789b767b3 Makefile.am - Added qgsacetatelines.h/cpp
qgsacetatelines - Acetate layer made up of a collection of lines (this can be
                  used to persist lines on the canvas while digitizing)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2172 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-24 17:31:45 +00:00
gsherman
14ae0c6b4e Makefile.am - added qgsline.h/.cpp
qgisappbase.ui -   Removed empty Menu item that continually creeps in -- Developers
                   please make sure you aren't committing qgisappbase.ui with an
                   empty menu item.
qgsacetateobject - Modified constructor to create an object without an origin
                   point.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2171 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-24 16:56:40 +00:00
gsherman
2c166e6d19 New class to represent a simple line composed of two points.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2170 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-24 16:48:21 +00:00
larsl
7346f14a79 Added some missing connections
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2169 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-24 00:23:48 +00:00
mhugent
90545b9560 inserted the 'new vector layer' item again (in the layer menu). A dummy feature is not necessary anymore (but a dummy attribute)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2168 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-22 20:41:05 +00:00
mcoletti
75eb100c2c synced initializer order with declaration order
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2167 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-22 19:04:03 +00:00
mcoletti
e661c7eab5 removed overlyqualified names
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2166 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-22 19:01:45 +00:00
mcoletti
a5d3f7fdf0 may destroctor virtual
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2165 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-22 19:01:06 +00:00
gsherman
c8003e87ce Added snapshots back into the install for delimited text plugin
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2164 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-22 18:14:13 +00:00
larsl
4643079b39 ** Removed more unused code in the GPS plugin, changed the GPS plugin source
to follow the coding standards better


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2163 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-22 13:16:58 +00:00
gsherman
a8a4a9bdf9 Fix for layer name not being saved to project file (bug 1047556) --
Thanks Gavin...


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2162 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-22 03:27:26 +00:00
larsl
42a35cdc97 Should maybe add the new files too
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2161 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 22:30:56 +00:00
larsl
f07dbe64e4 Fixed broken ChangeLog
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2160 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 22:29:06 +00:00
larsl
6e5014e866 ** Some changes in the GPS plugin:
* Changed the tooltip of the action from "GPS Importer" to "GPS Tools"
   * Removed some old unused code
   * Made the upload/download tools much more flexible by letting users
     specifying "devices" with upload and download commands
   * Remember the last used device and port for uploads and downloads
   * Remember the last directory that a GPX file was loaded from


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2159 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 22:24:31 +00:00
mcoletti
f2abc684db removed extra toolbar menu item accidentally added during edit session
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2158 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 18:53:39 +00:00
mcoletti
c84e6aae6c Merged in qgsproject-branch changes.
Also made QgsRasterLayer more robust in light of files with poor "no data" and
"min/max" value information.

Note that this hasn't been tested with windows versions.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2156 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-21 17:27:38 +00:00
larsl
21543d843b Cleaned upp attribute handling and feature fetching in the GPX provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2155 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 12:26:52 +00:00
larsl
643ba619bd Committing ChangeLog and configure.in manually
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2154 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 11:51:43 +00:00
larsl
6a1dd36df6 ** Changed GPX attribute names from three letter abbreviations to more
userfriendly whole words


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2153 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 11:51:06 +00:00
larsl
8058dbfb2c And committing ChangeLog and configure.in manually...
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2152 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 11:17:50 +00:00
larsl
910c3a2331 ** Changed mFeatureType in qgsgpxprovider.cpp from a QString to an enum to
avoid unnecessary string comparisons


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2151 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 11:17:17 +00:00
gsherman
f547cbf112 Update of change log and increment of extra_version in configure.in
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2150 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 05:16:56 +00:00
gsherman
3cb2c42a26 Added Display tab to vector layers dialog
Stubbed in members/methods in preparation for implmenting scale dependent rendering


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2149 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 05:04:55 +00:00
gsherman
6659aaef5f Added test for GEOS to acinclude
Included GEOS in configure.in


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2148 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 05:03:44 +00:00
gsherman
c2b7276c1e Changes for geos in Makefile.am
Reset ogr spatial filter in qgsshapefileprovider


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2147 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-19 05:03:03 +00:00
larsl
f06f147ff4 Looks like qgiscommit doesn't commit ChangeLog and configure.in if you run it from a subdirectory - committing them manually
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2146 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 18:55:26 +00:00
larsl
b60e7a87c0 ** Removed duplicate code, added bounds calculation for digitized features in the GPX provider
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2145 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 18:53:24 +00:00
gsherman
d7c11f14fc Quick hack to add -lgeos flag to link. Need add detection code for geos to
configure for a permanent solution


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2144 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 16:15:22 +00:00
gsherman
9136eb2600 French translation from lroubeyrie at limair.asso.fr
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2143 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 15:29:55 +00:00
larsl
eff586cac9 ** Changes to the GPX provider:
* Implemented isEditable(), isModified(), commitChanges(), and rollBack()
   * Removed the useless lat and lon attributes in waypoint features
   * Cleaned up the attribute parsing in addFeature()
   GPX editing should now work again.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2142 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 14:33:22 +00:00
gsherman
4c79351992 Update changelog and bumped extra_version in configure.in
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2141 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 05:36:30 +00:00
gsherman
b080e37504 Added editable flag (someday we might actually be able to digitize
features :))


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2140 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 05:17:19 +00:00
gsherman
99a6dba77b Implemented identify/selection using GEOS to return the proper features
rather than any feature falling within the minumum bounding rectangle
(MBR). QGIS now required GEOS. This works with GEOS 2.x, needs to be
tested at GEOS 1.x


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2139 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-18 05:16:10 +00:00
mhugent
7cf0782112 fix for bug 1044242 symbology bug on where claused PostGIS tables
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2138 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-16 23:26:28 +00:00
mhugent
575a52aae1 added extra parameter to getNextFeature(std::list<int>,bool), give not commited features id -1 to prevent conflicts (selection via table) with commited features
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2137 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-16 22:49:15 +00:00
gsherman
eec81638bb Updated copyright and RCS keyword
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2136 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-16 21:59:14 +00:00
gsherman
e1117cfb55 Update copyright and RCS keyword
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2135 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-16 21:17:33 +00:00
gsherman
6f599ad593 Updated changelog
Bumped extra_version in configure.in to 3


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2134 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-16 17:09:45 +00:00
gsherman
f58122d50d qgisapp.cpp: Fixed OGR filters (snagged fix from qgsproject-branch)
qgisappbase.ui: Changed images to XPM instead of PNG
qgsvectordataprovider.h: Added mEditable as a private member rather than having child
classes declare it


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2133 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-16 17:06:33 +00:00
mhugent
066bc2b7bc added a dialog to enter and change attribute values when digitizing features
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2132 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-16 15:35:13 +00:00
gsherman
6cd714e5e3 .pro - Fix to get win32 version to build
qgisappbase.ui - downgraded qt version string  to 3.1
qgsuvalmadialog.cpp - added win32 ifdef


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2131 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-15 21:47:19 +00:00
gsherman
25ac8fd420 Applied patch from Gavin that fixes bug 1045894.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2130 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-15 05:05:19 +00:00
mhugent
da8fce8702 Added a Menu item to create new empty shapefiles. Unfortunately, a dummy feature is inserted into each new layer (coordinates 0/0). Without the dummy features, a segfault in OGR would happen when opening the .dbf file. I will do more investigations to figure out if there is a way such that there is no need for dummy features.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2129 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-14 22:54:24 +00:00
gsherman
74c42d09fe Sorted and reformatted dependency lists
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2119 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-12 02:18:58 +00:00
gsherman
523e35ae42 Added man page for qgis
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2118 c8812cc2-4d05-0410-92ff-de0c093fc19c
2004-10-11 21:08:52 +00:00