GSoC/GCI Archive
Google Code-in 2014 KDE

Marble: Refactor the header of the AddPlacemark/BookMark/AddGroundOverlay dialog

completed by: Mikhail Ivchenko

mentors: Dennis Nienhüser, shentey, Torsten Rahn

Marble currently displays some information (Name, Icon, Longitude, Latitude) in the "Add Placemark", "Add GroundOverlay", "Add Bookmark" dialogs.

There are a few issues which need refactoring:

1.) The Latitude and Longitude are displayed in "Decimal" notation in the annotation plugin while they are displayed in "DMS" in the Bookmark. Marble has got a setting in settings->View->Angle that allows to choose the preferred notation. It would be great if all three dialogs would use a common widget that would display the values in "DMS" in case "DMS" is chosen in the settings and it would displayed in "Decimal" notation in other cases. This widget should be reused by all components.

2.) There should be another widget that includes:

- The IconButton, Name & (Icon) Link labels and lineedits

- and the coordinate widget

This widget should be reused by all three dialogs.