GSoC/GCI Archive
Google Code-in 2012 KDE

Marble: Migrate places on the moon to the webpopup framework

completed by: Illya Kovalevskyy

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

Right now if you click Landing sites on the moon or craters and maria 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:

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 features on the moon 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.