10 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
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
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
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
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
wonder
5b6e7761ce Changed line endings from DOS-style to UNIX-style so SIP won't end up with syntax errors on unix
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6740 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-03-02 09:56:44 +00:00
wonder
f2cdb3ca3c Bindings: wrapped QgsDistanceArea
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6732 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-02-28 11:49:14 +00:00
wonder
bbd36b107f Merged refactoring branch back to trunk.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6415 c8812cc2-4d05-0410-92ff-de0c093fc19c
2007-01-09 02:39:15 +00:00