GSoC/GCI Archive
Google Code-in 2012 KDE

Marble: Migrate cities in Marble to usage of Webpopups

completed by: Illya Kovalevskyy

mentors: Torsten Rahn, Dennis Nienhüser

Right now if you click a city in Marble the facts get displayed inside the so-called PlacemarkInfoDialog.

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

devel-home.kde.org/~tackat/marbleplaces.tar.gz

Load the places.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.

This task is another step towards getting rid of the PlacemarkInfoDialog.