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:

http://www.google-melange.com/gci/task/view/google/gci2012/8154204

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:

http://devel-home.kde.org/~tackat/naviitem_mockup.png

Download

devel-home.kde.org/~tackat/navigational_homebutton.tar.gz

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.