Reply to topic

Info dialog

lballesteros
Registered Member
Posts
24
Karma
0

Info dialog

Mon Dec 03, 2012 1:47 pm
Hi, I want to associate a dialog to my placemarks, it´s possible to create a new info dialog, or customize the existing one, for all the placemarks that I will create in my map? how can I do it?
Thanks!
User avatar tackat
KDE Developer
Posts
67
Karma
0
OS

Re: Info dialog

Mon Dec 03, 2012 2:16 pm
You can change the description inside the dialog. Changing it altogether would require source code changes though. If you exchange the InputHandler you can replace it fully by your own custom dialog.
lballesteros
Registered Member
Posts
24
Karma
0

Re: Info dialog

Tue Dec 04, 2012 11:17 am
Thanks for your reply tackat!!
I want to change some of the predefined properties, not their values, like elevation or population labels to some diferent properties. It´s posible to change this propertie's names (not values) or add some new properties without creating a new dialog?
lballesteros
Registered Member
Posts
24
Karma
0

Re: Info dialog

Wed Jan 23, 2013 11:37 am
Anyone knows how to deactivate the wikipedia plugin?
User avatar bcooksley
Administrator
Posts
18607
Karma
83
OS

Re: Info dialog

Thu Feb 07, 2013 10:27 am
Open Marble > Settings > Configure Marble Desktop Globe > Plugins. Ensure "Wikipedia Articles" is unchecked.


System Settings and Device Actions KCM maintainer
Image
lballesteros
Registered Member
Posts
24
Karma
0

Re: Info dialog

Mon Feb 11, 2013 2:26 pm
Thanks, but I mean do it in the code.
User avatar Earthwings
KDE Developer
Posts
89
Karma
1
OS

Re: Info dialog

Mon Feb 11, 2013 6:03 pm
You can do it similar to this example: http://techbase.kde.org/Projects/Marble ... rbleWidget
Just use renderPlugins() instead of floatItems() and call setVisible( false ) on the one whose nameId() matches "wikipedia".
lballesteros
Registered Member
Posts
24
Karma
0

Re: Info dialog

Mon Feb 18, 2013 8:40 am
I tried to do it similar to the example, but when I click on a placemark the wikipedia tab still appears...
Deactivate the wikipedia plugin doesn't disable that tab?

thanks

 
Reply to topic

Bookmarks



Who is online

Registered users: Artmessiah, Baidu [Spider], Bing [Bot], Buddlespit, Exabot [Bot], garthecho, Google [Bot], Hans, koriun, La Ninje, valoriez, whatthefunk, Yahoo [Bot]