GSoC/GCI Archive
Google Code-in 2012 KDE

Marble: Fix Sun Settings dialog

completed by: Mohammed Nafees

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

The current "Sun Settings dialog" has unfortunately been implemented in a faulty way. This task is about fixing the issues involved.

This dialog has the new pure UI settings. (You don't need to edit it. If you do, do not edit it with a Qt Designer version other than Qt 4.7)

http://devel-home.kde.org/~tackat/SunControlWidget.ui

  • Integrate this dialog instead of the current one. Add the required C++ code.
  • Call "lockWarningLabel->hide();" to hide the "Attention"-label in the ctor by default (unfortunately this couldn't be done via Qt Designer).
  • Toggling the "Display Subsolar Point icon" option should toggle the visibility of the sunshine.png icon.
  • Toggling the "Lock map view to subsolar point" checkbox should center the map view onto the subsolar point.

Both features (locking and displaying the icon) are currently handled by a single option. This task is about changing it back to two options.