This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Use of MarbleWidget : add clickable layer

Tags: None
(comma "," separated)
anthonyb
Registered Member
Posts
3
Karma
0
Hello!

I want use MarbleWidget library in my application. I'm a new user of the library and I want add a clickable layer.
In this layer, I will have some geometric features (points, polyline, image-points...).

Must I implement a new plugin to be able to add actions in the left mouse click popupmenu?
If yes, how I can add (and remove) plugins in the marblewidget?

Perhaps it's easier to implement a new Layer and use eventfilter() to display a popupmenu?

Thanks for your help!
User avatar
tackat
KDE Developer
Posts
131
Karma
0
OS
Hi, sorry for the late reply. Did you have a look at our tutorial pages at

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

As to the "clickable" geometry you might want to have a look at the code parts in Marble that deal with displaying the routing results.

But we should really have a tutorial chapter for that one as well :-/


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell