[Marble-devel] [patch] adding menu entry for sun shading options

Torsten Rahn torsten.rahn at credativ.de
Fri Feb 15 07:26:25 CET 2008

On Friday 15 February 2008 07:09:48 Torsten Rahn wrote:
> To be able to access the settings that need to get saved you need to have a
> look at the SunLocator class which provides some setters and getters to
> allow setting the shading. To be able to load and save the settings from
> QtMainWindow or marble_part you need to make the SunLocator pointer in
> MarbleWidget.cpp a class member.
> You then either
> - need to create a method to provide access to this pointer from the
> outside 

Looking at the source code I see that you can already access the settings for 
the shading via e.g.:


So there is no urgent need to introduce new stuff in MarbleWidget.

 Torsten Rahn

 Tel.: 0 21 61 - 46 43 - 192

credativ GmbH, HRB Mönchengladbach 12080
Hohenzollernstr. 133, 41061 Mönchengladbach
Geschäftsführung: Dr. Michael Meskes, Jörg Folz

More information about the Marble-devel mailing list