2826 Commits

Author SHA1 Message Date
rabla
46e3d56b0d get feature selected flag, selectionChanged signal
git-svn-id: http://svn.osgeo.org/qgis/trunk@4096 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 11:21:43 +00:00
g_j_m
b617bddde2 Merge of schema support changes from 0.7 branch into head.
Hope this doesn't break anything else - the merge was somewhat involved


git-svn-id: http://svn.osgeo.org/qgis/trunk@4095 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 09:19:45 +00:00
rabla
1ddcddbd63 keyField()
git-svn-id: http://svn.osgeo.org/qgis/trunk@4092 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-18 07:11:00 +00:00
morb_au
5963e987d2 Back out change of qgsabout.ui.h (16 Oct 2005 18:30:05 -0000 1.6) - int i is still needed in #ifdef QGISDEBUG mode.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4089 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-16 22:02:13 +00:00
timlinux
76694f5de7 Apply warnings for unused vars patch from karl
[ 1325870 ] removing trivial warnings (unused variables)


git-svn-id: http://svn.osgeo.org/qgis/trunk@4088 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-16 18:30:07 +00:00
morb_au
fdd897492b Make the WMS provider more fully understand the WMS metadata XML schema - (part 3).
Many more items should now be appearing in Properties > Metadata tab, including Image Formats. In a future commit this will be wired up to the WMS layer selection dialog, allowing a choice between (e.g.) PNG (the current default) or JPEG.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4087 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-15 13:03:42 +00:00
telwertowski
5fa7eba698 Wrap query subset clause in parentheses to preserve grouping of
a compound clause when ANDing with selection rectangle clause.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4085 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-15 05:45:16 +00:00
morb_au
efc906e781 OGR provider now reports, in its description, the build-time and run-time versions of the OGR library. For example this will appear in Help > About Quantum GIS > Providers tab.
This should help us better troubleshoot bugs in the field.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4084 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-14 23:06:16 +00:00
rabla
e9cf9bc6b1 fix for new mapset where vector db is not set
git-svn-id: http://svn.osgeo.org/qgis/trunk@4082 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-14 09:09:41 +00:00
telwertowski
c9bd10c733 Include util.h instead of pty.h for Mac.
Add braces to avoid "jump to case label crosses initialization" error.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4081 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-14 01:26:16 +00:00
mhugent
4bf924adf0 commented out some lines in qgsogrprovider.cpp for now such that qgis compiles properly on all systems
git-svn-id: http://svn.osgeo.org/qgis/trunk@4080 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 21:47:14 +00:00
morb_au
f7017d5302 Make the WMS provider more fully understand the WMS metadata XML schema - (part 2).
This time, metadata is wired to the raster properties dialog under the Metadata tab.  But only for a few items.  A future commit will make more items visible there.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4079 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 21:40:24 +00:00
mhugent
f004ed0c28 extended the 'new vectorlayer' dialog with a combo box to choose the file format. At the moment, only shapefile is inserted
git-svn-id: http://svn.osgeo.org/qgis/trunk@4078 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 21:11:35 +00:00
mhugent
bc5b081b5d added a try - catch for an unhandled exception during a coordinate transform
git-svn-id: http://svn.osgeo.org/qgis/trunk@4077 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 19:14:53 +00:00
mhugent
74bb1e87ef enabled the new method to create vectorlayers and put an ifdef around OGRSpatialReference->Release
git-svn-id: http://svn.osgeo.org/qgis/trunk@4076 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 18:20:43 +00:00
rabla
7c3fddf35e shell
git-svn-id: http://svn.osgeo.org/qgis/trunk@4075 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 16:40:29 +00:00
rabla
a7b6d3fb38 shell
git-svn-id: http://svn.osgeo.org/qgis/trunk@4074 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 16:31:13 +00:00
timlinux
a257a583d7 Added capability to generate graticule as points (at intersections), lines or polygons
git-svn-id: http://svn.osgeo.org/qgis/trunk@4073 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-13 12:53:17 +00:00
mhugent
af7a015d73 added an extern C method in the ogr provider to create new datasources. This method will replace the QgsVectorFileWriter class soon. Other providers may add methods with the same signature for creation of new data sources
git-svn-id: http://svn.osgeo.org/qgis/trunk@4072 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-12 22:19:46 +00:00
mhugent
8e1cb57102 added code for writing legend settings with writeEntry()
git-svn-id: http://svn.osgeo.org/qgis/trunk@4071 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-12 18:19:40 +00:00
mhugent
eea90676b6 fixed a bug in QgsGeometry::boundingBox for multipolygons
git-svn-id: http://svn.osgeo.org/qgis/trunk@4067 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-11 18:37:21 +00:00
mhugent
1f17d9fd07 use fast geos export method on little- and big endian machine since QgsGeometry::geosGeometry is now endian-aware. Fixed a memory leak in the OgrProvider. Use ->getNextFeature(false) when selecting vector features because attributes are not needed for geometric selection
git-svn-id: http://svn.osgeo.org/qgis/trunk@4066 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-11 17:39:22 +00:00
mhugent
b25009778c more changes to consider for endianness in QgsGeometry
git-svn-id: http://svn.osgeo.org/qgis/trunk@4065 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-11 05:39:31 +00:00
morb_au
197f89c029 Make the WMS provider more fully understand the WMS metadata XML schema - (part 1).
git-svn-id: http://svn.osgeo.org/qgis/trunk@4059 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-10 22:33:14 +00:00
mhugent
6cd96e2cc3 fixed a memory leak and removed some dead code
git-svn-id: http://svn.osgeo.org/qgis/trunk@4055 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-10 20:14:10 +00:00
morb_au
b4ea2546a9 WMS provider now handles memory management of images more appropriately. Firstly it doesn't leak an image on each redraw and secondly it will cache the last image for faster redraw.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4051 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-09 21:02:34 +00:00
morb_au
aa5fd3308f Fix up raster data providers (i.e. WMS) in line with mcoletti's changes in the vector data provider area. WMS really should work again now.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4048 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-09 11:47:23 +00:00
gsherman
9885242623 M. Loskot patch for bug 1313365
git-svn-id: http://svn.osgeo.org/qgis/trunk@4047 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-09 06:27:43 +00:00
gsherman
73ec50ca3a Reverted changes committed by mcoletti that prevented HEAD from compiling since
he's just left for a week. HEAD compiles; filters are missing when opening
an OGR layer.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4046 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-08 07:13:48 +00:00
mcoletti
87b1a1d49b QgsDataManager :
- s/name/dataSource/ in member function parameter lists

 - started implementation of openVector()

QgsProviderRegistry :

 - added openVector() which will eventually be called by
   QgsDataManager::openVector()

 - made naming convention consistent for fileVectorFilters so that OGR
   supported formats get properly loaded again


git-svn-id: http://svn.osgeo.org/qgis/trunk@4045 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-07 18:31:50 +00:00
mcoletti
e65b3b2eb0 Added mDataSourceLayerNum
git-svn-id: http://svn.osgeo.org/qgis/trunk@4044 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-07 18:15:52 +00:00
mcoletti
c2f60bf4ec moved omgdal to libqgis so that provider libraries would pass dltest
git-svn-id: http://svn.osgeo.org/qgis/trunk@4043 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-07 17:57:54 +00:00
telwertowski
d050f1543c Use different print font scaling factor for Mac.
Define factor in header file so it can be adjusted with one edit.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4041 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-07 04:55:03 +00:00
telwertowski
43ab522519 Merge from 0.7 release branch:
For Mac, don't call QPrinter::setOutputToFile(true) before QPrinter::setup().
Doing so will suppress the Mac Print dialog and disable paper printing.
This edit disables Mac eps output but the Mac has a pdf option in its
standard Print dialog.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4040 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-07 02:40:37 +00:00
morb_au
7680551320 Minor cleanup after mcoletti's Aug 26 changes to get WMS going again.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4039 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-06 21:20:12 +00:00
mhugent
c843d6e0e8 fixed two little memory leaks in ogrprovider
git-svn-id: http://svn.osgeo.org/qgis/trunk@4038 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-06 20:10:07 +00:00
telwertowski
ab3213f7c5 Change dependency rules to match names of generated files
git-svn-id: http://svn.osgeo.org/qgis/trunk@4037 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-06 19:50:06 +00:00
gsherman
6615875c95 Makfile.am changed to conform to the rest of the build system with regard to
uic.h/cpp generation.
Changed qgsgrassmapcalc.cpp to use pow(double, double) calls to permit compiliation
on gcc 3.3.x


git-svn-id: http://svn.osgeo.org/qgis/trunk@4034 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-06 05:52:35 +00:00
gsherman
f58938109d Show Qt link parameter at end of configure process
git-svn-id: http://svn.osgeo.org/qgis/trunk@4033 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-06 02:24:35 +00:00
timlinux
2b366204f9 Apply wonders make patch for geos issues
Try to improve errror checking for when ~/.qgis.db doesnt exist


git-svn-id: http://svn.osgeo.org/qgis/trunk@4032 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-05 20:19:24 +00:00
rabla
ed2d2c500d mapcalc
git-svn-id: http://svn.osgeo.org/qgis/trunk@4030 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-04 15:16:51 +00:00
rabla
7a5209251b added czech
git-svn-id: http://svn.osgeo.org/qgis/trunk@4029 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-04 14:26:02 +00:00
rabla
96fd04afbe updated czech translation by Martin Landa <landa@gama.fsv.cvut.cz>
git-svn-id: http://svn.osgeo.org/qgis/trunk@4028 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-04 14:25:24 +00:00
timlinux
ea62eec1d0 Updated minor version number to 0.7.9 (this follows the system used by kde folks which seems to work well. So consider version x.x.9.x to be beta of upcoming release.
git-svn-id: http://svn.osgeo.org/qgis/trunk@4027 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-04 14:03:13 +00:00
g_j_m
cf106c9ae5 bug fix: the search for tables with geometry columns was including
database objects that weren't tables or views


git-svn-id: http://svn.osgeo.org/qgis/trunk@4025 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-03 10:01:03 +00:00
g_j_m
e687cc56e3 Bug fix: reporting of a postgres error was using the wrong sql for the error message
git-svn-id: http://svn.osgeo.org/qgis/trunk@4023 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-03 05:58:51 +00:00
mhugent
e3465b7b19 added two icons for the legend and removed a bug which prevented to put the correct in overview pixmap to legend layer files
git-svn-id: http://svn.osgeo.org/qgis/trunk@4021 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-02 20:03:17 +00:00
telwertowski
91d9abe35e bugfix for [ 1309122 ] inconsistent behavior of labels
Use correct index when retrieving columns.
Also add some PQclears for queries which weren't being freed.


git-svn-id: http://svn.osgeo.org/qgis/trunk@4019 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-02 08:04:06 +00:00
mhugent
08e33d03c2 reading/writing of the legend from/to project files. At the moment, readXML and writeXML functions are used. This may be changed to use QgsProject or QSettings functions in future
git-svn-id: http://svn.osgeo.org/qgis/trunk@4017 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-01 19:59:54 +00:00
timlinux
5e33e89487 bugfix for [ 1282854 ] Some dialog widgets too narrow
git-svn-id: http://svn.osgeo.org/qgis/trunk@4016 c8812cc2-4d05-0410-92ff-de0c093fc19c
2005-10-01 11:07:55 +00:00