4 Commits

Author SHA1 Message Date
jef
ba4948a21b add support for multiline labels (applies #1138)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@8775 c8812cc2-4d05-0410-92ff-de0c093fc19c
2008-07-14 20:21:57 +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
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
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