2569 Commits

Author SHA1 Message Date
timlinux
aaa93894e3 Apply patch
[ 1274887 ] Added tr()


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3922 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-17 10:15:54 +00:00
timlinux
6b1f74b69b Applied following patches:
1293255 SPIT: bugfix for "no fields" problem
1293069 2 bugfixes regarding extent calculation
1292938 added panning to overview
1253211 patch for PostGIS provider
1253027 patch for querybuilder


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3919 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-17 09:51:12 +00:00
morb_au
bd0d5412fe More changes for Qt4 porting readiness. In theory the process described in http://wiki.qgis.org/qgiswiki/Building_a_Qt3_codebase_with_Qt4 should work now.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3917 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-16 23:35:46 +00:00
morb_au
f8fabcbedf More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3915 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-16 23:30:38 +00:00
morb_au
e68037634a More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3914 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-16 23:08:59 +00:00
morb_au
871860604c More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3912 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-15 22:05:05 +00:00
morb_au
03c5046358 More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3911 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-15 21:33:04 +00:00
morb_au
370350cb7c More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3910 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-15 21:16:10 +00:00
morb_au
b37059bc1c More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3909 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-15 20:35:22 +00:00
mhugent
ece5eb22b6 also applied postgis provider changes to head. Removed a bug in ogrprovider which sometimes caused crashes when selecting
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3907 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-14 15:21:04 +00:00
mhugent
3a422d14ed fixed 'zoom to selection' in head. Changed QgsLegend::currentLayer() such that it also returns a layer if a legend layer is active (and not only if a legend layer file is active)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3906 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-13 17:45:24 +00:00
rabla
627be00353 composer picture
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3905 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-13 09:04:48 +00:00
morb_au
e893c8c1e8 More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3904 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-12 22:01:36 +00:00
morb_au
09185f2d22 More changes for Qt4 porting readiness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3903 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-12 21:46:57 +00:00
timlinux
d7f22f458e Applied patch from Martin Dobias to provide feature searches in attribute table.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3899 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-10 10:34:05 +00:00
rabla
67627f923c slightly modified nviz tool posted by Larissa Junek
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3893 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-07 13:28:43 +00:00
rabla
aebcb395ed fix for enable/disable actions
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3892 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-07 13:05:58 +00:00
rabla
213b300f26 set Select tool before QgsComposerMap constructor
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3891 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-07 12:26:19 +00:00
mhugent
c18520c3b8 functions and icons for adding and removing legend groups
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-09-06 17:09:03 +00:00
mhugent
b2053876b5 some code cleanups
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3869 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-29 19:35:33 +00:00
mhugent
022af7db8b removed a bug in the new legend
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3868 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-28 21:05:57 +00:00
mhugent
89db3212fd add to overview/ remove from overview for the legend layer. Changed QgisApp::setOverviewZOrder(QgsLegend) from private to public. Removed a qWarning line in QgsMaplayerRegistry to get cvs head to compile
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3867 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-28 20:37:03 +00:00
mcoletti
66ebf42cae Since the provider registry will give you the desired data provider, why do it
yourself?  QgsVectorLayer now relies on provider registry to get OGR provider.

Of course even this will probably significantly change Real Soon Now.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3862 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-25 22:20:53 +00:00
mcoletti
228a2a3741 - optimized #includes and forward class declartions in header
- made const functions const

- prefer argument const references to copies

- internal improvements such as not creating empty meta data entries when
  searching for data providers


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3861 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-25 22:19:12 +00:00
mhugent
2491fdb859 tried to make the new legend easier for casual GIS users by showing only the legend layers by default and by adding a right click menu also to the legend layer (not only to the legend layer file)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3860 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-25 21:13:28 +00:00
mhugent
a28e0f184b changed behaviour of the new legend such that all drag functions are with left mouse button pressed
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3851 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-21 19:01:57 +00:00
mcoletti
aa9227ccdf - pass in QStrings to ctor by const reference instead of by value
- made const members const
- added a few comments


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3850 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-19 20:06:09 +00:00
mcoletti
4b60b03574 applied Karl's patch
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3849 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-19 20:03:39 +00:00
morb_au
969fbf24a1 More changes in preparation for building against Qt4:
* src/Makefile.am now has different build instructions for Qt3 vs Qt4.
* qgsprojectionselector more compatible with either Qt3 or Qt4.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3846 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-18 20:25:32 +00:00
morb_au
3ded0daaf7 Improved version of the qgis-qt3to4.pl tool - no longer dependent on the *.pro being correct; provides a porting log per file; keeps better backups for manual comparisons of ports.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3840 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-17 04:32:42 +00:00
rabla
31d186433d patch for editing with dbf driver if user is not PERMANENT owner
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3837 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-16 08:58:53 +00:00
morb_au
59054d1123 Proof of concept for a tool to automatically convert the QGIS Qt3 codebase to Qt4-compatible compilation.
Warning: Run this on a *copy* of your CVS working directory!


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3836 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-15 22:02:34 +00:00
morb_au
309374f2ea Change .ascii()fication to .local8Bit()ification as per an email I received from Tom Elwertowski on 9 August. This is still to ease porting to Qt4 later.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3835 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-15 21:40:56 +00:00
mcoletti
e6f484ab64 Added pure virtual member function layerCount().
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3833 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-12 21:59:30 +00:00
mcoletti
245c8ea475 Added ::subLayerCount(), which is rolled down from QgsDataProvider.
Note that data provider authors will have to properly flesh out these
functions since I do not know how each provider calculates the number of
layer; except for the OGR provider which correctly returns the actual number
of layers.  All other providers have hard-coded to always return "1".
Obviously that will have to be changed.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3832 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-12 21:58:36 +00:00
mhugent
22af3af896 removed some of my bugs in the new legend
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3831 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-12 20:28:17 +00:00
mcoletti
456e3c3164 Brought over fix from 0.7 branch that cures core dump if SDTS vector layer is
loaded.  (Or any dataset that has multiple layers where the first layer
doesn't happen to have geospatial data.)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3830 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-12 00:34:37 +00:00
mhugent
12360aa99e Started implementing drag and drop behaviour in the new legend. By dragging with the left mouse button pressed, items (of the same level) can be reordered. By dragging with the middle mouse button pressen, items can be dragged 'into other ones'. If two layer files are 'symbology compatible' (that means for vector layers the same number and kind of attributes), their legend can be grouped if the legend layer files are in the same legend layer group
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3827 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-11 19:23:50 +00:00
rabla
098cee761c test null value for cat
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3824 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-09 15:45:15 +00:00
morb_au
2a19005b98 Continue the .ascii()fication of debugging messages for Qt4 porting friendliness.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3819 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-08 21:37:04 +00:00
morb_au
5e77a6e1b1 Migrate from implicit casting of QStrings to char*'s to explicit casting using .ascii() or explicit testing using .isEmpty(). This will assist in the porting process later to Qt4 by making these constructs easy to grep and substitute for Qt4 versions.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3813 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-04 21:55:30 +00:00
morb_au
af0eeedab9 Initial conversion of the build system to recognise Qt4.0.0 as a build option. For example, if you've "make install"ed Qt4, you can try using ./configure "--with-qtdir=/usr/local/Trolltech/Qt-4.0.0".
It's HIGHLY RECOMMENDED to build against Qt4 in a *copy* of your CVS working directory as you will still have to run qt3to4 from the qgis root directory (e.g. "/usr/local/Trolltech/Qt-4.0.0/bin/qt3to4 qgis.pro") before you "make", and this change is difficult to undo.

Please continue to commit new code that is Qt3.3 compatible, NOT Qt4 only.

Note that qgis doesn't actually build against Qt4 yet; this is a change to the build system only, not the code.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3809 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-08-02 21:48:54 +00:00
mhugent
cbae906c54 Added a bit more const correctness to QgsSymbol, QgsRenderer, QgsVectorLayer & co
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3805 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-07-29 20:51:05 +00:00
mhugent
d716a68eea preparations for moving layers into the same symbology group
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3800 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-07-28 21:11:34 +00:00
morb_au
03e279edd5 Actually add all the files in, like qgshttptransaction.*
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3798 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-07-27 00:37:03 +00:00
morb_au
a308a3cf75 Allows the GRASS plugin code to find the new location of QGIS legend code (../../src/legend).
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3797 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-07-27 00:27:04 +00:00
mhugent
6986c6eefc Removed marker classes which are not needed any more with the current QgsSymbol and a few things in the maplayers which are not longer needed with the new legend
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3796 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-07-26 20:02:48 +00:00
rabla
86b027fd15 Updated czech translation written by Martin Landa <landa@gama.fsv.cvut.cz>
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3791 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-07-26 09:31:50 +00:00
morb_au
777606abfa Small Paste Transformations code cleanup.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3778 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-07-23 22:33:53 +00:00
mhugent
8e550329cb restored QgsMapLayer::fields() because it is used by code commited in the meantime
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@3774 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-07-22 21:09:46 +00:00