[Qgis-developer] QGIS maptips and HTML-display

Nathan Woodrow madmanwoo at gmail.com
Sun Aug 5 00:20:35 PDT 2012


Hey all,

It's just added the ability to use html (well Qt html subset anyway)
to the map tips.  Anything that is listed here on the Qt rich text
page is supported[0].

In order to support this I added a new tab in the vector layer
properties dialog called display which we can then use for adding
better (full) html support later.

[0] http://doc.qt.nokia.com/4.7-snapshot/richtext-html-subset.html

- Nathan

On Mon, Jul 23, 2012 at 11:10 PM, Andreas Neumann <a.neumann at carto.net> wrote:
> Hi,
>
> In the context of the recent discussions around the hotlink plugin:
>
> Wouldn't it be fun if HTML would be supported in QGIS maptips and they would
> be displayed with a Webkit instance?
>
> That way we could display images located on the web in the maptips and we
> could also include little charts and our own text with the charting library
> of choice on our webserver.
>
> I checked recently and it seems like rich-text formatting is supported (e.g.
> <p/>, <br/>, <b/>, etc.) but not full HTML.
>
> Would it technically possible to display a Webkit instance instead of the
> traditional maptip?
>
> Of course it would also be cool if the new expression engine would be
> supported in the maptips ...
>
> Just dreaming loud,
>
> Andreas
>
> --
> --
> Andreas Neumann
> Böschacherstrasse 10A
> 8624 Grüt (Gossau ZH)
> Switzerland
> _______________________________________________
> 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