GSoC/GCI Archive
Google Code-in 2012 KDE

Marble: Get rid of PlacemarkInfoDialog and migrate the remaining placemarks

completed by: Illya Kovalevskyy

mentors: Torsten Rahn, Dennis Nienhüser

Right now if you click on some placemarks a window will appear. This window contains more detailed information about the placemark.

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:

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

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().

 

All remaining placemarks (volcanoe, mountain, ocean deep, other, etc.) should get migrated to the usage of the new webpopup. The PlacemarkInfoDialog should get removed as a class.

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