[QGIS Commit] [qgis/Quantum-GIS] 94491b: [FEATURE] Add style options for legend layer/group...

GitHub noreply at github.com
Mon Jan 28 15:23:41 PST 2013


  Branch: refs/heads/master
  Home:   https://github.com/qgis/Quantum-GIS
  Commit: 94491b847979e032e4a8c5d39b667513bb192088
      https://github.com/qgis/Quantum-GIS/commit/94491b847979e032e4a8c5d39b667513bb192088
  Author: Larry Shaffer <larrys at dakotacarto.com>
  Date:   2013-01-28 (Mon, 28 Jan 2013)

  Changed paths:
    M python/core/qgsmaplayer.sip
    M src/app/legend/qgslegend.cpp
    M src/app/legend/qgslegend.h
    M src/app/legend/qgslegendgroup.cpp
    M src/app/legend/qgslegendgroup.h
    M src/app/legend/qgslegendlayer.cpp
    M src/app/legend/qgslegendlayer.h
    M src/app/qgsoptions.cpp
    M src/app/qgsrasterlayerproperties.cpp
    M src/app/qgsrasterlayerproperties.h
    M src/app/qgsvectorlayerproperties.cpp
    M src/app/qgsvectorlayerproperties.h
    M src/core/qgsmaplayer.cpp
    M src/core/qgsmaplayer.h
    M src/core/qgsproject.cpp
    M src/ui/qgsoptionsbase.ui
    M src/ui/qgsrasterlayerpropertiesbase.ui
    M src/ui/qgsvectorlayerpropertiesbase.ui

  Log Message:
  -----------
  [FEATURE] Add style options for legend layer/groups, and live refresh of all legend style options

- Based of off work from Stefan Ziegler (pull request #331)
- Options inherited by embedded groups (which are still always italic)
- Original layer name now saved to project file (instead of adjusted display name)
- Fix bug where setting capitalization, then saving/reopening would permanently set capitalization
- [API] Add originalName() to QgsMapLayer to access original (pre-adjusted name)
- [API] Add setupFont() method to legend group items
- [API] Add updateLegendItemStyles() and updateLegendItemSymbologies() to QgsLegend to allow style option changes to become active without app restart





More information about the QGIS-commit mailing list