Registered Member
|
Hi, I want to create my own context menu with some diferent QActions to the predefined context menu.
I've create my QActions and add them to my mapwidget like I do in a normal widget, then I've set the context menu policy, but when I do click with the right button appears the predefined context menu. It's posible to create my own context menu in Marble? How can I do this? Thanks for your help. |
KDE Developer
|
The measure tool plugin and the routing layer should be good starting points to see how to extend the existing context menu.
To completely remove the existing context menu, call
|
Registered Member
|
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell