GSoC/GCI Archive
Google Code-in 2013 KDE

Marble: Refactor the settings dialog of the stars plugin

completed by: Mikhail Ivchenko

mentors: Torsten Rahn, Dennis Nienhüser, René Küttner

The settings dialog of the stars plugin should be changed to this one:

Please adjust the code to make the new version of the dialog work.

The grayed out planets are not yet implemented and can be ignored for now. All the other functionality (Sun, Moon, etc.) needs to be adjusted to make it work.

The Magnify Sun and Moon checkbox affects the following code line in the StarsPlugin.cpp:

                const qreal size = skyRadius * qSin(sys.getDiamMoon()) * 4;

The magic number "4" should only be used when the checkbox is checked - otherwise a value of "1" should be used.