GSoC/GCI Archive
Google Code-in 2012 KDE

Marble: Migrate Poles and Shipwreck to the webpopup framework

completed by: Illya Kovalevskyy

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

Right now if you click a geographical/magnetic pole or a shipwreck 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.

For the poles and shipwrecks only the coordinates and description of the template should get shown. The second table should not be displayed!

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