[Kstars-devel] kdeedu/kstars/kstars

Jason Harris kstars at 30doradus.org
Mon Feb 16 03:52:10 CET 2004


Hi Pablo,

Nice to see lots of great stuff happening in CVS this weekend! :)

>   I have placed a limit of 0.5 mas as the smallest believable
> parallax (corresponds to 2000 pc), but this is somehow arbitrary. If
> distance is greater than that value one gets a message saying that
> distance is > 2000 pc. Another way to estimate distance would be to
> get it from the relative and absolute magnitudes. We will leave that
> for the future....-)
>
This seems fine to me for now...

>   The second issue is concerning localization of values for
> magnitudes and distances. We are using QLabels to show the values. If
> we used KLineEdits we could use the localization. How can the
> localization be used in a QLabel as it is in KLineEdit?.
>
If you mean localization of decimal points, you can use the KGlobal::
decimalSymbol() function...

Jason
-- 
KStars: A KDE Planetarium
http://edu.kde.org/kstars


More information about the Kstars-devel mailing list