GSoC/GCI Archive
Google Code-in 2012 KDE

Marble: Create a new Navigation FloatItem: the "slider"

completed by: Mohammed Nafees

mentors: Torsten Rahn, Dennis Nienhüser

We'd like to have a more modern looking float item for controlling the map position:

This task is just about the implementation of the Slider. All other parts need to be implemented before starting this task. To get the idea what it's supposed to look like have a look at this mockup which shows the current navigation float item at the bottom right and the newly suggested one on the upper right:


The files provided represent the look and feel for the groove and the handle of the slider.  The groove element needs to be painted repeatedly vertically downwards 16 times. The handle is painted on the top as shown in the mockup. The extent of the handle is not supposed to exceed the top or bottom border of the gray groove rectangle.
The slider should be inserted between the two +/- zoombuttons as shown in the mockup (without additional spacing or margins).