GSoC/GCI Archive
Google Code-in 2012 KDE

Marble: Create a new Navigation FloatItem: the "home button"

completed by: Mohammed Nafees

mentors: Torsten Rahn

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 Navigational Home Button. The zoom slider (and a gps position option) will be added later at the bottom part of this float item. So the implementation needs to be extensible and needs to take this into account. 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 each state: default, hover, press.

 Please implement this behavior. The location of the button compared to the arrow disc should be pixel perfect like in the mockup provided.