GSoC/GCI Archive
Google Code-in 2010 KDE

Create some standard context menu for all info boxes / float items in Marble

completed by: marthd

mentors: tackat

The patch

has introduced means to add context menus to float items.

This task is about creating standard entries for ALL float items.

The standard menu entries provided should be: "Lock", "Show" and "Configure ..."

For the plugin author it should be possible to either include these entries all at once

(e.g. by calling the base class implementation of the virtual method) or overwrite

the implementation with a different one. The "-------" in the following ASCII mockup marks menu separators (here with the map scale plugin taken as an example):


[ ] Ratio Scale


[x] Lock

[x] Show


Configure ...