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

Jérôme SONRIER jsid at emor3j.fr.eu.org
Tue Dec 16 03:10:52 CET 2008


Hello,

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.

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


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.


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.

I put the icon of the new page in config panel in attachment.

Feel free to comment.


Regards,

-- 
Jérôme SONRIER
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xplanet-1.diff
Type: text/x-diff
Size: 71004 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20081216/41c90972/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hi64-action-kstars_xplanet.png
Type: image/png
Size: 3594 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kstars-devel/attachments/20081216/41c90972/attachment-0001.png 


More information about the Kstars-devel mailing list