GSoC/GCI Archive
Google Code-in 2011 KDE

Create a settings dialog to Marble's Measure tool plugin

completed by: kharvd

mentors: Torsten Rahn, Earthwings

There's currently a patch set available on

https://git.reviewboard.kde.org/

which turns Marble's measure tool into a render plugin. This task is about

* Adding a settings dialog to the plugin (like for the other plugins)

* Adding a checkbox to the settings dialog which allows to enable distance labels for each measureline subsection.

* Add the implementation that allows to show distance labels for each measure line subsection. Please use

void drawPolyline ( const GeoDataLineString & lineString,
                        const QString& labelText = QString(),
                        LabelPositionFlags labelPositionFlags = LineCenter );

for displaying the distance labels.

Some ASCII art about how this should look in the end:

+----------+---------------------------+

    4.8km                   10.1km

The resulting patch should be posted on the reviewboard.

 

For getting started with Marble development we suggest to have a look at

http://edu.kde.org/marble/obtain.php

http://techbase.kde.org/Projects/Marble/MarbleCPlusPlus