[QGIS Commit] [qgis/Quantum-GIS] fbf999: Update QgsPalLabeling to work with new vector api

GitHub noreply at github.com
Thu Feb 7 13:55:40 PST 2013


  Branch: refs/heads/master
  Home:   https://github.com/qgis/Quantum-GIS
  Commit: fbf999190cff378fb55b0ea7aadd2663f81d1828
      https://github.com/qgis/Quantum-GIS/commit/fbf999190cff378fb55b0ea7aadd2663f81d1828
  Author: Larry Shaffer <larrys at dakotacarto.com>
  Date:   2013-02-07 (Thu, 07 Feb 2013)

  Changed paths:
    M python/core/qgspallabeling.sip
    M python/core/qgsvectordataprovider.sip
    M src/app/qgslabelinggui.cpp
    M src/app/qgslabelpropertydialog.cpp
    M src/app/qgslabelpropertydialog.h
    M src/app/qgsmaptoollabel.cpp
    M src/core/qgspallabeling.cpp
    M src/core/qgspallabeling.h
    M src/core/qgsvectordataprovider.cpp
    M src/core/qgsvectordataprovider.h
    M src/providers/postgres/qgspostgresprovider.cpp

  Log Message:
  -----------
  Update QgsPalLabeling to work with new vector api

- Switch data defined properties from field index- to name-based
- Add routine to migrate properties to new keys:  labeling/dataDefined/[enum name]
- Add QHash containing old-style data provider mapping of index to name for use in properties migration
- Update QgsLabelingGui, QgsMapToolLabel, QgsLabelPropertyDialog to work with name-based properties





More information about the QGIS-commit mailing list