<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Larry<br>
      <br>
      Excellent work, thank you!<br>
      The freeze/thaw tool will be a great addition to the label tool
      bar.<br>
      <br>
      I wonder if the tool could also be active if x/y is data defined
      and rotation not (currently, x/y/rotation need to be data defined
      to use the tool).<br>
      <br>
      On a detail level, in QgsMapToolFreezeLabels::highlightLabel you
      could probably use QgsMapRenderer::mapToLayerCoordinates to
      transform the rectangle (instead of mCoordTransform ).<br>
      <br>
      Regards,<br>
      Marco<br>
      <br>
      <br>
      <br>
      Am 16.07.2012 05:31, schrieb Larry Shaffer:<br>
    </div>
    <blockquote
cite="mid:CA+nQOR_hWG1SXjzHKWkY70eDkacba8YdeL5=3Ubj7p47+nZ5tg@mail.gmail.com"
      type="cite">
      <pre wrap="">Hi,

The current large-format project I'm working on requires me to layout,
for print, thousands of labels. So I spent the last couple of days
making two new tools for the advanced labeling toolbar that allow the
user to interactively 'freeze' (write coords and rotation info to
attribute table) and 'thaw' (revert from data-defined to dynamic) any
rendered labels.

*Show Frozen Labels*

This tool highlights frozen labels for all visible layers. Blue
highlighted labels are frozen, green are frozen and editable (parent
layer's in edit mode).

*Freeze/Thaw Labels*

This tool allows the user to interactively choose, by single or
marquee selection, labels to freeze or thaw. The in-memory attribute
table is immediately updated and results shown to user. This tool
allows the user to interactively manipulate the PAL labeling engine to
find the best solutions for their frozen labels.

Since the topic and how the tool interacts with the labeling engine is
more complicated, I made an intro video. (Note: I haven't had much
sleep recently, so it's a bit rough.)

<a class="moz-txt-link-freetext" href="http://vimeo.com/dakotacarto/freezethawlabels">http://vimeo.com/dakotacarto/freezethawlabels</a>


This is my first C++ project, so I'd be really happy if someone
audited the code before I squash the commits and send a pull request:

<a class="moz-txt-link-freetext" href="https://github.com/dakcarto/Quantum-GIS/tree/feature_freeze-thaw-labels">https://github.com/dakcarto/Quantum-GIS/tree/feature_freeze-thaw-labels</a>

Only tested on Mac, as of now. Nothing platform-specific about it though.

Regards,

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota
</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Qgis-developer mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/qgis-developer">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
<a class="moz-txt-link-abbreviated" href="mailto:marco.hugentobler@sourcepole.ch">marco.hugentobler@sourcepole.ch</a> <a class="moz-txt-link-freetext" href="http://www.sourcepole.ch">http://www.sourcepole.ch</a>
Technical Advisor QGIS Project Steering Committee</pre>
  </body>
</html>