GSoC/GCI Archive
Google Code-in 2012 KDE

Marble: Migrate Weather Plugin to usage of Webpopups

completed by: Illya Kovalevskyy

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

Right now if you enable the Weather plugin the map will get filled with lots of sun/cloud items including temperature. If you click on those a window will appear (black text on white background). This window contains more detailed weather information and sometimes the weather forecast.

The plan for this task is to migrate this dialog to the usage of the webpopupitem that has been created recently: Untar this example view inside a new directory:

Load the weather.html into a browser (e.g. Firefox). The whole webpage consists of HTML, CSS and icons. The HTML content should get reworked to have all the dynamic content as variables that get replaced by the actual content at runtime.

Then the HTML file should get displayed inside the webpopup. This can be accomplished via AbstractInfoDialog::setContent().

The maximum width of the content inside the bubble should be between 500 and 600 pixels.