GSoC/GCI Archive
Google Code-in 2014 KDE

Marble: Add a preview of the icon/image to the annotation plugin's "Add Placemark / Add Image" dialog.

completed by: Mikhail Ivchenko

mentors: Dennis Nienhüser, Torsten Rahn, Sanjiban Bairagya, shentey

The annotation plugin has got menu entries to add a placemark and a GroundOverlay.

Both have a link row which allows to specify the image file. However a preview is missing in the dialog.

Ideally instead of the "Browse Button" there should be a button on the left of the two rows "Name" and "(Icon) Link". This button should have the height of both rows and should preview the icon/image (similar to what you get when rightclicking on a folder icon in the Dolphin file manager). Other than that the button should behave like the "Browse" button.

This change should also be "backported" to this patch: if possible.