[Kstars-devel] [PATCH] Xplanet support for display of planets

Akarsh Simha akarshsimha at gmail.com
Tue Dec 16 03:49:15 CET 2008


Hi Jérôme,

> I have made a patch that try to fix the whish 95037 
> (https://bugs.kde.org/show_bug.cgi?id=95037)
> 
> This patch adds Xplanet support. When we right click on a solar system 
> object, the popup menu proposes to run Xplanet to generate a view of 
> the object. I have add a page in configuration panel where we can 
> adjust some options of xplanet.

Interesting...

> Here is what the patch makes :
> - add a submenu in popup menu for solar system objects to run xplanet 
> (kspopupmenu.cpp).
> - add two slots in SkyMap (kstars.h, kstars.cpp)
> - add a page in configuration panel (kstars.h, kstarsactions.cpp, 
> opsxplanet.h, opsxplanet.cpp, opsxplanet.ui)
> - modify kstars.kcfg to handle xplanet options
> - modify CMakeLists.txt

I'll take a look at the patch within a day. Of course, we won't be
able to commit it until trunk is thawed after the KDE 4.2 tagging.

> The problem is that since this feature depends on xplanet, maybe some 
> users will not want to have the new page in config panel, the entry in 
> context menu, etc... but I dont know how to give the user the choice to 
> compile or not this feature.

Same is my case; I'll try to figure out, though.

> About marble, I have decided to not use it for the moment because I 
> don't know how to use it, for exemple to show Jupiter with it's 
> satelite system or constellation lines in background of planets.

AFAIK, Marble still doesn't have maps of all planets. Currently they
have a Moon Map, and maybe a Mars Map (not sure). It'll be quite a
while before they get maps for all planets.

This might help:
http://techbase.kde.org/Development/Tutorials/MarbleWidget

Thanks for the patch!

Regards
Akarsh


More information about the Kstars-devel mailing list