[Qgis-developer] New watermark plugin using QgsPluginLayer
Giovanni Manghi
giovanni.manghi at gmail.com
Fri Jan 29 11:08:40 EST 2010
Hi,
thanks for the plugin.
I'm trying to install it from your repository (on qgis 1.4 under linux)
but I get the following
"the plugin is broken. Python said:
name 'qgspluginlayer' is not defined"
thanks in advance
-- Giovanni --
On Fri, 2010-01-29 at 16:49 +0100, Mathias Walker wrote:
> We have added a watermark plugin to the Sourcepole repository, showing the
> basic usage of the recently added QgsPluginLayer. With this plugin you can add
> a layer showing a semitransparent user-defined image in the lower left corner
> of the map.
>
> The tricky bit was calculating the scaling and dimensions of the painter area
> in draw(), so the watermark is also rendered correctly in the print composer.
> This calculation could eventually be moved to QgsPluginLayer.
> There is still the issue of the unscaled rendering in the print composer
> preview.
>
> You can find the plugin sources at
> http://github.com/pka/qgis-watermark-plugin
>
> Best regards
> Mathias Walker
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
More information about the Qgis-developer
mailing list