GSoC/GCI Archive
Google Code-in 2012 KDE

Marble: Port the dynamically created <img> items of the MarbleLegendBrowser to QWebView

completed by: Illya Kovalevskyy

mentors: Torsten Rahn, René Küttner, Dennis Nienhüser

With the lessons learned from the port of the checkboxes the dynamic <img> items created for the MarbleLegendBrowser should be ported to the QWebView.

The old behavior of having the QPainter draw the color rect and having the image mapped at runtime on top needs to be preserved as a feature.

Therefore the img has to be drawn first (with the associated id) and set dynamically by directly accessing the QWebElement that has the right Url with the image id encoded as a string.