137 Commits

Author SHA1 Message Date
jef
82971f40a1 fix common typo: retreive
(identifing copied code...)


git-svn-id: http://svn.osgeo.org/qgis/trunk@8791 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-16 09:21:41 +00:00
jef
1be63335ca fix sip error
git-svn-id: http://svn.osgeo.org/qgis/trunk@8781 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-15 08:21:08 +00:00
jef
b5948bde31 add support for multiline labels (applies #1138)
git-svn-id: http://svn.osgeo.org/qgis/trunk@8775 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-14 20:21:57 +00:00
timlinux
3c13ecf648 Replaced QgisAppInterface::getToolBox() with QgisAppInterface::addDockWidget and updated dependent code & python bindings. Note you may need to do a clean build after this commit for python bindings to build ok. The toolbox was removed in 0.11.0 and so the old getToolBox call was broken - this provides a replacement for that functionality.
git-svn-id: http://svn.osgeo.org/qgis/trunk@8774 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-14 20:19:52 +00:00
timlinux
e7d62a2190 Applied Ticket #1049: python-site-packages-dir-0.9.1.patch
git-svn-id: http://svn.osgeo.org/qgis/trunk@8749 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-10 09:11:50 +00:00
wonder
4a28f76aa4 Made setGeometry() argument const.
git-svn-id: http://svn.osgeo.org/qgis/trunk@8736 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-08 14:03:09 +00:00
wonder
9cfa4d82a4 updated bindings from changes in r8709
git-svn-id: http://svn.osgeo.org/qgis/trunk@8727 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-07 11:44:41 +00:00
jef
41f62a8e3a fix gcc 4.3 warnings, a gcc 4.3 compile error and a MSVC warning
git-svn-id: http://svn.osgeo.org/qgis/trunk@8666 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-21 15:35:32 +00:00
jef
5e58eb576b update sip binding after r8656:
replaces QgsMapCanvas::restoreMapTool(), which shouldn't be public, with a
signal and handles it in QgisApp.



git-svn-id: http://svn.osgeo.org/qgis/trunk@8665 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-21 15:34:01 +00:00
wonder
b7b9f62e70 Added QgsRect::intersects(QgsRect) predicate
git-svn-id: http://svn.osgeo.org/qgis/trunk@8651 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-17 00:15:08 +00:00
timlinux
0fa8024605 Implemented proxy support to be application global rather than set on a per connection basis
git-svn-id: http://svn.osgeo.org/qgis/trunk@8649 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-15 22:35:03 +00:00
ersts
c5d01dcb8b -Removed some unneeded code for a freature that will not be in 1.0
-Added flags to indicate if min max values are actual computed values or estimates/userdefined
-Implemented the min/max estimate warning on gui

git-svn-id: http://svn.osgeo.org/qgis/trunk@8629 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-09 01:44:01 +00:00
wonder
e32b9bf1e3 QgsVectorFileWriter:
- added missing deleteShapeFile() PyQGIS wrapper
- added some error handling when adding features
- improved deleteShapeFile method


git-svn-id: http://svn.osgeo.org/qgis/trunk@8621 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-08 00:55:29 +00:00
mhugent
65f81d256b possibility to add WMS layers through plugin interface
git-svn-id: http://svn.osgeo.org/qgis/trunk@8593 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-05 09:30:48 +00:00
wonder
215e7ca83b Applied Stefanie's patch to return features (with new IDs) after being added.
Thanks!


git-svn-id: http://svn.osgeo.org/qgis/trunk@8584 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-03 15:25:22 +00:00
wonder
97f3618345 Applied patch from Stefanie Tellex for simpler retreival of coords from QgsPoint
Thanks!


git-svn-id: http://svn.osgeo.org/qgis/trunk@8582 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-03 14:36:56 +00:00
wonder
35f10e1cfc Applied patch of Stefanie Tellex, fixes QgsGeometry::setWkbGeometry() in Python
Thanks!


git-svn-id: http://svn.osgeo.org/qgis/trunk@8580 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-06-03 14:15:34 +00:00
jef
7384134467 add support for maptool doubleclick events
git-svn-id: http://svn.osgeo.org/qgis/trunk@8542 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-29 15:59:57 +00:00
timlinux
52b8b28755 Multiple changes:
- added a call to get the file toolbar so that plugins providing 'add layer' type functionality can place their icons into the file toolbar along with other add layer icons.
 - cleaned up the vector props ui so that action panel fills all available space, and that label settings dont use tabs but a property pane style ui.
 - added an option to qgsoptions to enable / disable legend classification attributes list
 - fix issue with detailed item delegate not being selectable in win
 - updated style sheet so that system colour scheme is used for 'glossy' highlight
 - fixed formatting issues in vector metadata list
 - fixed python build error on mac where geos was not being linked to
 - added grass list view to grass toolbox


git-svn-id: http://svn.osgeo.org/qgis/trunk@8533 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-28 15:26:41 +00:00
wonder
2542e85218 support for non-ascii characters in path to home directory.
git-svn-id: http://svn.osgeo.org/qgis/trunk@8528 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-27 11:42:22 +00:00
wonder
5507ec6611 syntactical change in QgsApplication wrapper to match its C++ counterpart
git-svn-id: http://svn.osgeo.org/qgis/trunk@8507 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-23 17:07:23 +00:00
mhugent
b849af0745 Fix for bug #1096 Snapping to currently moved vertex should be suppressed
git-svn-id: http://svn.osgeo.org/qgis/trunk@8477 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-21 05:59:04 +00:00
jef
92eae75ec5 sync sip with c++ core
git-svn-id: http://svn.osgeo.org/qgis/trunk@8473 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-19 20:54:18 +00:00
timlinux
172c20e136 Dont artificially limit the raster types available. Note if you have a lot of gdal file types supported the file filter is very long. We need to find a sensible way to manage that.
git-svn-id: http://svn.osgeo.org/qgis/trunk@8462 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-19 13:17:31 +00:00
wonder
127b6567de changed std::map to QMap in QgsRasterLayer::identify(), updated PyQGIS
git-svn-id: http://svn.osgeo.org/qgis/trunk@8443 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-15 16:50:00 +00:00
mhugent
68cdb3abf4 Merge of rendercontext branch into trunk
git-svn-id: http://svn.osgeo.org/qgis/trunk@8440 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-15 08:13:05 +00:00
telwertowski
21708a56fb Remove all use of Qt3 compatibiliy routines except for the GRASS provider/plugin. Automatic casts of QString to char* have also been removed for compatibility with Qt/Mac-Cocoa (64-bit).
git-svn-id: http://svn.osgeo.org/qgis/trunk@8406 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-07 05:15:58 +00:00
ersts
ce7c48f907 -Fixed problem restoring min max values from project file
-Closes ticket #945
-Added ability choose in the GUI to load estimated or actual min max values from the band
-Cleaned and reorganized raster properties gui a little
-Added a set default constrast enhancement option in gui that is persistent between sessions
-Closes ticket #1055 and #778

git-svn-id: http://svn.osgeo.org/qgis/trunk@8398 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-05-06 03:21:12 +00:00
gsherman
0e439caae1 Fix z-order issue when writing LAYER sections of the map file
git-svn-id: http://svn.osgeo.org/qgis/trunk@8381 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-25 19:19:02 +00:00
jef
7f56f5526d debian packaging update
- update for next release
- removed some temporary files in debian/
- add version number to shared libraries names and split them into
   libqgis-core0.9, libqgis-gui0.9 and libqgisgrass0.9 (fixes #36)
- split python binding and plugins into separate package python-qgis
- merge some changes from the DebianGIS repository
- build in debian/build
- updated menu and icon
- use qgis man pages (qgis_help added)
- build on Debian unstable is lintian clean (may fix #1028)
- build also tested on OSX (Tim Sutton), MinGW (Marco Pasetti) and with MSVC


git-svn-id: http://svn.osgeo.org/qgis/trunk@8351 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-14 21:30:22 +00:00
jef
778b1aa301 fix gcc warnings with included xpms
git-svn-id: http://svn.osgeo.org/qgis/trunk@8341 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-13 03:58:58 +00:00
gsherman
bdfa6d3065 Fix for condition where layer name is blank in the legend
git-svn-id: http://svn.osgeo.org/qgis/trunk@8321 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-07 03:22:56 +00:00
wonder
46be62520e Correct fix for #849. Use actual installation directory, not just default directory.
git-svn-id: http://svn.osgeo.org/qgis/trunk@8316 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-04-03 21:47:15 +00:00
gsherman
d3aaacc294 Dont write FILTER keyword if the SQL filter doesn't exists
git-svn-id: http://svn.osgeo.org/qgis/trunk@8302 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-30 23:18:40 +00:00
jef
98444a4bd8 - speed up QgsSpatialRefSys after migration to OGR C-API:
- create and destroy OGRSpatialReferenceH in constructor/destructor
  - move the PROJ.4 strings to OGR instead of a member variable and keep
    track its validity in mIsValidFlag.
  This reduces the need to allocate/deallocate of OGR structures and PROJ.4
  parsing and thereby speeds it up quite a bit.  Especially when on-the-fly
  projection is in use.
- collect common code of createFromSrid, createFromEpsg and createFromSrsId
  in the new loadFromDb method

NOTE: invalid PROJ.4 strings are now lost, I hope that doesn't break
      anything.


git-svn-id: http://svn.osgeo.org/qgis/trunk@8263 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-24 18:31:08 +00:00
jef
0ee1349765 fix for #849
git-svn-id: http://svn.osgeo.org/qgis/trunk@8254 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-19 23:30:21 +00:00
jef
d8460108ff - add getUniqueValues method to QgsVectorDataProvider
- implement getUniqueValues in QgsPostgresProvider (fixes #399)
 - implement getUniqueValues, minValue and maxValue in OgsOgrProvider
 - use getUniqueValues in QgsUniqueValueDialog
- update QgsPostgresProvider::storageType interface (fixes #995)
  (applied patch from Steven Mizuno, thanks again)


git-svn-id: http://svn.osgeo.org/qgis/trunk@8233 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-16 16:52:11 +00:00
jef
9e7a287e04 add QgsRubberBand::getPoint to python interface (following up r8209)
git-svn-id: http://svn.osgeo.org/qgis/trunk@8216 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-13 13:11:53 +00:00
wonder
6961f567d1 Wrapped QgsEncodingFileDialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@8204 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-11 21:51:18 +00:00
wonder
403e0956d2 - generate SIP build files in build directory, not in source dir
- show command line used to run SIP binary
- remove ignore flags from python/core and python/gui - not needed anymore


git-svn-id: http://svn.osgeo.org/qgis/trunk@8192 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-06 21:04:44 +00:00
wonder
244c451e0f Better creation of list of directories of a zip file. Fixes installation problem with some plugins.
git-svn-id: http://svn.osgeo.org/qgis/trunk@8191 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-03-06 20:41:25 +00:00
wonder
e3b0e64d64 Fix for const iterator
git-svn-id: http://svn.osgeo.org/qgis/trunk@8153 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-02-13 10:45:49 +00:00
wonder
ac6a38a22a Added forgotten setAttributeMap() wrapper
git-svn-id: http://svn.osgeo.org/qgis/trunk@8152 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-02-13 10:08:07 +00:00
wonder
116e4a4f84 - added QMultiMap conversion for SIP from Stefanie Tellex
- fixed featuresInRectangle and snapWithContext bindings
- added Stefanie to contributors
- keep list of contributors sorted


git-svn-id: http://svn.osgeo.org/qgis/trunk@8151 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-02-13 09:48:05 +00:00
timlinux
76ada2e1ef Make maprender able to tell us the map size and dpi (there were previously no accessors for this)
git-svn-id: http://svn.osgeo.org/qgis/trunk@8135 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-02-11 10:39:40 +00:00
timlinux
503d5013a2 Added ability to set paper size to python api
git-svn-id: http://svn.osgeo.org/qgis/trunk@8110 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-02-06 03:15:12 +00:00
wonder
a85df15615 - QgisInterface's functions addRasterLayer/addVectorLayer return pointer to layer instead of just bool
- renamed QgisApp::addLayer to more appropriate QgisApp::addVectorLayer
- cleanups in loading of raster/vector layers in QgisApp


git-svn-id: http://svn.osgeo.org/qgis/trunk@8055 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-27 04:11:27 +00:00
gsherman
044d2ca102 Added copyright and license info for plugin_installer files
git-svn-id: http://svn.osgeo.org/qgis/trunk@8044 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-25 16:30:35 +00:00
mhugent
c39d6a90ce Added fromMultiPoint method to QgsGeometry
git-svn-id: http://svn.osgeo.org/qgis/trunk@8041 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-25 07:03:59 +00:00
wonder
f2dab128a1 more fixes to bindings
git-svn-id: http://svn.osgeo.org/qgis/trunk@8037 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-01-24 14:34:05 +00:00