4930 Commits

Author SHA1 Message Date
wonder
478f0a43ed Added python bindings for QgsSymbol and all renderer classes.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6864 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-02 17:41:47 +00:00
wonder
b234fab2f6 Changed symbols() from std::list to QList for all renderers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6863 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-04-02 17:14:34 +00:00
mhugent
e34d6a499d Only one list of typenames for data providers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6843 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-29 04:40:15 +00:00
telwertowski
5b4484db0e Include qgsconfig.h to get definition of HAVE_POSTGRESQL
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6842 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-28 19:48:52 +00:00
mhugent
3ba168dec9 Reverted changes in QgsHttpTransaction, which have been applied unintendedly in last commit
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6840 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-28 07:08:10 +00:00
mhugent
adef0a6450 Added turkish translation. Thanks a lot to Osman Yilmaz\!
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6839 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-28 06:02:35 +00:00
homann
b07319d061 Added patch #685 from lubaby (+ some more) to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6838 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-27 17:51:57 +00:00
homann
e5acdf4728 Applied patch #683 to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6836 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-25 17:12:51 +00:00
wonder
133afc0d12 Fixed compilation with debugging turned on.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6834 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-25 09:52:21 +00:00
wonder
ce3eea0dcf QgsFeatureAttribute class has been removed and QVariant is used instead (supports arbitrary data types).
All providers and python bindings have been updated accordingly.
Currently supported variant types by providers are String, Int and Double.

Other API changes:
- QgsField
  - type info as QString is now typeName() and setTypeName()
  - added variant type (QVariant::Type) info: type(), setType()
- QgsFeature
  - removed fields() - use QgsVectorDataProvider::fields()
  - removed boundingBox() - use QgsGeometry::boundingBox()
- QgsVectorLayer - removed fields(), fieldCount(), getDefaultValue() - use directly QgsVectorDataProvider
- QgsVectorDataProvider - getDefaultValue() - field now addressed by id, returns variant
- QgsLabel - setLabelField() - field now addressed by id


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6833 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-24 22:40:10 +00:00
mhugent
c98095c669 Fix for ticket #678: Attribute table add field, fieldtype select box is empty
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6831 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-24 15:32:25 +00:00
gsherman
5fb2b1754a Added module name to the module tab in the GRASS toolbox (Ticket #596)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6830 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-24 04:16:40 +00:00
gsherman
2632309391 Escape <> in python console output so python object display
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6829 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-24 04:01:45 +00:00
homann
4589ddba2b sqlite3_open() MUST have db name in Utf-8. Fixes #676.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6828 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-23 19:31:04 +00:00
mhugent
dfafc419ec Quantile function for graduated symbol dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6826 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-23 14:49:28 +00:00
mhugent
b890bc5fa4 Disable add attribute and delete attribute buttons in attribute table until start editing is pressed and the data provider supports these operation
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6825 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-21 15:42:03 +00:00
mhugent
a13227ea34 Added hint to project properties that snapping distance is in mapping units
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6824 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-21 15:08:45 +00:00
mhugent
02e4fd168f Really delete deleted features in ogr provider (using REPACK)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6821 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-19 11:34:04 +00:00
timlinux
c15c054159 Formatting changes only
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6820 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-19 04:47:33 +00:00
homann
017726f530 Fix path to windres.exe
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6815 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-18 09:03:31 +00:00
g_j_m
b97db39342 Fix for ticket #651 (zoom full doesn't work on a single point)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6799 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-13 07:37:16 +00:00
gsherman
fc357ca65c Deleted ancient doxygen.conf. To generate api docs, now use: doxygen Doxyfile
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6797 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-12 05:22:02 +00:00
gsherman
ff508268f3 Doxyfile for generating API docs
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6796 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-12 05:19:13 +00:00
g_j_m
d012a9da5e Fix for ticket #646 (spelling mistake)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6788 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-10 19:19:49 +00:00
homann
f93bc6acaf Changed to C-style comments
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6786 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-10 13:46:11 +00:00
homann
5cb0552f87 Merged r6782 to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6784 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-10 08:33:01 +00:00
homann
8d848c926f Merged r6781 to trunk
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6783 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-10 08:30:49 +00:00
wonder
32eb419bc6 Fix for #641 - this was due non-existing function in QgsColorTable
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6780 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-09 09:31:12 +00:00
wonder
80e3d032ef Python bindings:
- recreate on changed .sip file
- wrapped QgsColorTable


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6776 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-08 11:51:16 +00:00
g_j_m
2627281ae8 Tweak the scale display/entry so that users can enter scales in the form
x:y


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6775 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-08 08:45:07 +00:00
gsherman
ea8bc909f6 Add conditionals for debug output
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6774 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-08 06:07:15 +00:00
gsherman
17995f63f7 Removed Qt3 support stuff from grass tool box
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6773 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-08 05:50:31 +00:00
gsherman
8abefc36ee grass icons for all tools; all grass plugin menu items also on grass toolbar
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6772 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-08 03:15:03 +00:00
homann
fd382bd91a Make it possible to turn -Wall -Werror off. Set PEDANTIC to off with ccmake <builddir>.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6769 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-05 19:11:52 +00:00
homann
cf66fd4b7f Fix for #637.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6768 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-05 18:48:25 +00:00
wonder
3102201d1e - improved error handling when loading python plugins
- redirection of output to python console, i.e. print command works


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6767 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-04 21:38:47 +00:00
mhugent
73f4e75df5 Made vector editing code and labeling 25D aware. Needs more testing though
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6766 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-04 18:18:29 +00:00
homann
553b014bc5 Ported r6762:6763 from 0.8 to trunk
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6765 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-04 15:48:58 +00:00
wonder
9080e5e9fa - added getFeatureAtId() for OGR provider (for fast random access)
- more sane indenting in getNextFeature()


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6764 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-04 15:25:10 +00:00
wonder
19f18f091c Report Python errors with QgsMessageOutput instead of QMessageBox.
(User can copy & paste message from it, with message box he can't)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6761 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-04 12:15:10 +00:00
wonder
70146f393e Changed usage of std::vector to QList in QgsDistance area.
Added the modified functions to Python bindings.


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6760 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-04 11:43:48 +00:00
homann
9834716061 Ported WMS fix r6755 from 0.8 to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6759 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-04 09:50:42 +00:00
homann
e7d2bca3ff Fix for compiling with python 2.5
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6758 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-04 08:58:53 +00:00
g_j_m
efdd9ddf46 Tweak to r6747 to allow the user to enter non-integer scale values, and
to have scales larger than 1:2^31


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6754 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-03 22:22:32 +00:00
g_j_m
394cac8abc Fix for ticket #634 (compile warnings in RHEL64)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6752 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-03 17:30:16 +00:00
wonder
32519431dd QgsMapCanvasItem is not to be derived from QObject - no need for that.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6750 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-03 11:13:57 +00:00
wonder
8d3dd5fef4 Changed deque<QString> to QStringList in QgsMapRender, updated canvas and bindings appropriately.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6749 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-03 10:53:53 +00:00
wonder
d49c744bd0 Python: wrapped two functions in QgsLabel
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6748 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-02 22:38:09 +00:00
homann
325a312a56 Added input so that user can set specific scale. Set focus in the linedit showing scale, enter your scale and hit return!
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6747 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-02 21:04:19 +00:00
wonder
9f5cefc0c1 Added hack to include Qt3Support when building bindings on Mac.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6745 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-02 19:33:20 +00:00