[Kstars-devel] KDE/kdeedu/kstars/kstars
Akarsh Simha
akarshsimha at gmail.com
Tue Feb 3 16:44:09 CET 2009
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
@@ -55,7 +55,7 @@
<item>
<widget class="KTabWidget" name="tabWidget2" >
<property name="currentIndex" >
- <number>2</number>
+ <number>0</number>
</property>
<widget class="QWidget" name="tab" >
<attribute name="title" >
@@ -226,7 +226,7 @@
</font>
</property>
<property name="text" >
- <string>arcmin</string>
+ <string>degrees</string>
</property>
</widget>
</item>
More information about the Kstars-devel
mailing list