GSoC/GCI Archive
Google Code-in 2014 KDE

Marble: Extend the Richtext View in "Add Placemark"

completed by: Mikhail Ivchenko

mentors: Dennis Nienhüser, Abhinav Gangwar, Torsten Rahn, shentey

This is an advanced task.

In a previous task a richtext mode has been added to the "Add Placemark" panel. In this task this mode should be extended. The toolbar should be extended with buttons like this:

[Formatted Text]   [Font Family][Font Size] | [B][i][U][A] | [Image][Weblink]

For Image and Weblink a matching oxygen icon should be added.

FontFamily should be a combobox that allows to select available fonts. and apply them just like done for the bold case already. The same is true for pointsizes which should be designed as a freely editable combobox and provide a set of sensible default font sizes to choose from. The pointsize should also work the same way as bold works already.

The buttons for italics and underlined should also be made fully work like in the bold case.

The same is true for the text color which should show the current text color and on pressing the button allow to choose a new color (like in the style tab) for the text. This should also work in the same way as bold works already.

The image and weblink buttons will be covered in the next task but should provide a fitting icon already and set disabled for now.