[QGIS Commit] [qgis/Quantum-GIS] f7a3af: Fix and update to Freeze/Thaw, Move, and Rotate La...

GitHub noreply at github.com
Thu Aug 2 00:09:08 PDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/qgis/Quantum-GIS
  Commit: f7a3af36733891ac84281e562d5505ce32c69f6f
      https://github.com/qgis/Quantum-GIS/commit/f7a3af36733891ac84281e562d5505ce32c69f6f
  Author: Larry Shaffer <larrys at dakotacarto.com>
  Date:   2012-08-02 (Thu, 02 Aug 2012)

  Changed paths:
    M src/app/qgsmaptoolfreezelabels.cpp
    M src/app/qgsmaptoollabel.cpp
    M src/app/qgsmaptoollabel.h
    M src/app/qgsmaptoolmovelabel.cpp
    M src/app/qgsmaptoolrotatelabel.cpp
    M src/app/qgsmaptoolrotatelabel.h
    M src/core/qgspallabeling.cpp
    M src/ui/qgisapp.ui

  Log Message:
  -----------
  Fix and update to Freeze/Thaw, Move, and Rotate Label tools

Updates
- Move tool now preserves calculated x, y offset for upside-down labels, when initially moved and data-defined fields have no previous data.
- Move tool now stores the label's PAL solution for rotation on initial move, if rotation is data-defined with no previous data.
- Freeze/Thaw and Move tools now support all variations of previously data-defined halign and valign options on initial freeze.
- Freeze/Thaw tool has updated key modifiers that should work across major platforms.
- Tests for whether layer labels support data-defined rotation moved to base QgsMapToolLabel class.
Fixes
- Fix bug where labels defined in map units causing font to show as pointsize of same integer at small map scales.
- Half of a fix for rotation point of labels with data-defined size of map units actually being based off of point size.
  (still references the layer-defined font size somewhere in the rotation point calculation)
- Valign settings of Base and Half now more accurately key off of inverse of font ascent (instead of descent). No discernible shift occurs now on initial freeze.





More information about the QGIS-commit mailing list