[Marble-devel] MarbleWidget without MarbleWidgetPopupMenu

Torsten Rahn tackat at t-online.de
Mon Sep 19 11:13:50 UTC 2011


Hi,

On Sunday, 18. September 2011 20:42:58 Tom Grope wrote:
> The marblewidget from the repository (get it via git clone -b
> marble-1.1 git://anongit.kde.org/marble) does not contain the
> MarbleWidgetPopupMenu. Why?

Unfortunately MarbleWidgetPopupMenu is not part of the API IIRC.

> Is that the reason I can't access the popupmenu in code or the designer?
> For my own application I want to customize/rebuild the contextmenu.

You could install your own inputhandler (possibly reusing the existing one).

> Also i dont understand why I cant access a boundingbox/rec of the
> actual shown map. Is there a solution?

IIRC, you should be able to access:

marblewidget->viewport()->viewLatLonAltBox();

Hope this helps :-)

BR,

Torsten

> 
> I'm glad for any advice.
> 
> Tom
> 
> _______________________________________________
> Marble-devel mailing list
> Marble-devel at kde.org
> https://mail.kde.org/mailman/listinfo/marble-devel



More information about the Marble-devel mailing list