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

[GeoDataPlacemark] Disable click on placemarks

Tags: None
(comma "," separated)
nmoreno
Registered Member
Posts
19
Karma
0
Hello,

I would like to disable the click on a placemark. Actually when I click on my placemark, I have a "widget" with the name, coordinates, description... and I don't want to have it.

How can I disable it? Is it a method or I have to intercept event?

Thanks in advance for your help.

Have a nice day,
Nicolas
User avatar
Earthwings
KDE Developer
Posts
172
Karma
1
OS
There is a method for that in marbleinputhandler, setmousebuttonpopupenabled. You can access the input handler instance from marblewidget.
nmoreno
Registered Member
Posts
19
Karma
0
Hello Earthwings,

Thank you for your answer ! I will try this.

Have a good day.
Nicolas
charlesrwest
Registered Member
Posts
1
Karma
0
Great advice. That worked for me.

Thanks,
Charlie


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], mesutakcan, Sogou [Bot]