[Qgis-developer] annotation tools

John C. Tull jctull at gmail.com
Fri Mar 26 13:57:29 EDT 2010


Hi Marco,

This is looking like a nice start. I would like to see the font settings changed to a standard font dialog, preferably allowing the native mac dialog on OS X systems using Qt-cocoa. Currently, any font changes are not sticking on OS X.

The annotations worked on both the map and composer canvasses. I noticed if an annotation is selected in the canvas, the resize widgets are printed from the composer. Also, font sizes are incorrect when exporting to svg on my system. PDF export looked good.

Cheers,
John

On Mar 26, 2010, at 2:39 AM, Marco Hugentobler wrote:

> Hi John
> 
> Thanks for testing. You are right, the deleteAnnotation has been left in the 
> header, but not in the cpp.
> 
> The updated source package is on:
> 
> www.hugis.net/100326_annotation_tools.tgz
> 
> Regards,
> Marco
> 
> Am Freitag, 26. März 2010 03.05:42 schrieb John C. Tull:
>> Hi Marco,
>> 
>> I was unable to get the plugin to compile:
>> 
>> ...
>> [ 82%] Building CXX object
>> src/plugins/annotation_tools/CMakeFiles/annotationplugin.dir/qrc_annotatio
>> n_tools.cxx.o Linking CXX shared module libannotationplugin.so
>> Undefined symbols:
>>  "QgsAnnotationPlugin::deleteAnnotation()", referenced from:
>>      QgsAnnotationPlugin::qt_metacall(QMetaObject::Call, int, void**)in
>> moc_qgsannotationplugin.cxx.o ld: symbol(s) not found
>> collect2: ld returned 1 exit status
>> make[2]: *** [src/plugins/annotation_tools/libannotationplugin.so] Error 1
>> make[1]: ***
>> [src/plugins/annotation_tools/CMakeFiles/annotationplugin.dir/all] Error 2
>> make: *** [all] Error 2
>> 
>> Regards,
>> John
>> 
>> On Mar 25, 2010, at 3:55 AM, Marco Hugentobler wrote:
>>> Hi devs
>>> 
>>> I'd like to publish the first version of the annotation tools (that were
>>> also presented at the hackfest in Pisa) for testing:
>>> 
>>> www.hugis.net/100324_annotation_tools.tgz
>>> 
>>> Just copy it to you src/plugins/ directory and unpack. Then, insert
>>> 'annotation_tools' as new subdirectory into src/plugins/CMakeLists.txt.
>>> To make the items also appear in the print composer, you need to enable
>>> the lines 273 and 314 in src/core/qgscomposermap.cpp
>>> 
>>> The plugin provides the functionality to place balloons for textboxes and
>>> designer forms on the map, providing various possibilities for
>>> symbolisations.
>>> 
>>> At the moment, it is a plugin, but I'd like to bring the annotation
>>> classes into the gui library. What do you think?
>>> 
>>> Regards,
>>> Marco
>> 
> 
> -- 
> Dr. Marco Hugentobler
> HUGIS GmbH
> Webereistr. 66
> CH-8134 Adliswil
> marco at hugis.net
> www.hugis.net
> Technical Advisor QGIS Project Steering Committee



More information about the Qgis-developer mailing list