3 Feb 16:44
KDE/kdeedu/kstars/kstars
Akarsh Simha <akarshsimha <at> gmail.com>
2009-02-03 15:44:09 GMT
2009-02-03 15:44:09 GMT
SVN commit 920679 by asimha:
Applying Alexey Khudiakov's patch, making usability improvements to
the FOV Editor:
+ Telescope eyepiece apparent fields are now measured in Degrees
instead of arcminutes.
+ Make the Eyepiece tab default
Thanks Alexey!
CCMAIL: kstars-devel <at> kde.org
M +1 -1 fovdialog.cpp
M +2 -2 newfov.ui
--- trunk/KDE/kdeedu/kstars/kstars/fovdialog.cpp #920678:920679
@@ -256,7 +256,7 @@
void NewFOV::slotComputeFOV() {
if ( sender() == ui->ComputeEyeFOV && ui->TLength1->value() > 0.0 ) {
- ui->FOVEditX->setText( QString::number( (double) ui->EyeFOV->value() * ui->EyeLength->value() /
ui->TLength1->value(), 'f', 2 ).replace( '.', KGlobal::locale()->decimalSymbol() ) );
+ ui->FOVEditX->setText( QString::number( 60.0 * ui->EyeFOV->value() * ui->EyeLength->value() /
ui->TLength1->value(), 'f', 2 ).replace( '.', KGlobal::locale()->decimalSymbol() ) );
ui->FOVEditY->setText( ui->FOVEditX->text() );
}
else if ( sender() == ui->ComputeCameraFOV && ui->TLength2->value() > 0.0 ) {
--- trunk/KDE/kdeedu/kstars/kstars/newfov.ui #920678:920679
(Continue reading)
RSS Feed