[Kstars-devel] branches/kstars/summer/kstars/kstars/tools
Prakash Mohan
prak902000 at gmail.com
Sat May 9 01:22:04 CEST 2009
SVN commit 965462 by prakash:
More minor changes to the ui of observing list.
CCMAIL: kstars-devel at kde.org
M +1 -1 altvstime.cpp
M +7 -4 observinglist.cpp
M +5 -2 observinglist.ui
--- branches/kstars/summer/kstars/kstars/tools/altvstime.cpp #965461:965462
@@ -353,7 +353,7 @@
SkyObject *oSun = ks->data()->objectNamed( "Sun" );
double sunRise = -1.0 * oSun->riseSetTime( today.djd() + 1.0, geo, true ).secsTo(QTime()) / 86400.0;
double sunSet = -1.0 * oSun->riseSetTime( today.djd(), geo, false ).secsTo(QTime()) / 86400.0;
-
+ kDebug() << sunRise<<" "<<sunSet;
//check to see if Sun is circumpolar
//requires temporary repositioning of Sun to target date
KSNumbers *num = new KSNumbers( today.djd() );
--- branches/kstars/summer/kstars/kstars/tools/observinglist.cpp #965461:965462
@@ -773,14 +773,14 @@
ui->DetailsButton->setText( i18nc( "First letter in 'Details'", "D" ) );
ui->AVTButton->setText( i18nc( "First letter in 'Alt vs Time'", "A" ) );
ui->RemoveButton->setText( i18nc( "First letter in 'Remove'", "R" ) );
-
+ ui->WUTButton->setText( i18nc( "First letter in 'WUT'", "W" ) );
+ ui->FindButton->setText( i18nc( "First letter in 'Find'", "F" ) );
//Hide columns 1-5
ui->TableView->hideColumn(1);
ui->TableView->hideColumn(2);
ui->TableView->hideColumn(3);
ui->TableView->hideColumn(4);
ui->TableView->hideColumn(5);
-
//Hide the headers
ui->TableView->horizontalHeader()->hide();
ui->TableView->verticalHeader()->hide();
@@ -788,7 +788,8 @@
//Hide Observing notes
ui->NotesLabel->hide();
ui->NotesEdit->hide();
-
+ ui->View->hide();
+// ui->Spacer1->hide();
//Set the width of the Table to be the width of 5 toolbar buttons,
//or the width of column 1, whichever is larger
int w = 5*ui->MiniButton->width();
@@ -824,11 +825,13 @@
ui->DetailsButton->setText( i18n( "Details" ) );
ui->AVTButton->setText( i18n( "Alt vs Time" ) );
ui->RemoveButton->setText( i18n( "Remove" ) );
+ ui->WUTButton->setText( i18n( "WUT") );
+ ui->FindButton->setText( i18n( "Find &Object") );
//Show Observing notes
ui->NotesLabel->show();
ui->NotesEdit->show();
-
+ ui->View->show();
adjustSize();
bIsLarge = true;
}
--- branches/kstars/summer/kstars/kstars/tools/observinglist.ui #965461:965462
@@ -162,7 +162,7 @@
</widget>
</item>
<item>
- <spacer>
+ <spacer name="Spacer1">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
@@ -398,7 +398,7 @@
</widget>
</item>
<item>
- <layout class="QHBoxLayout" name="horizontalLayout">
+ <layout class="QHBoxLayout" name="Preview">
<property name="topMargin">
<number>0</number>
</property>
@@ -416,6 +416,9 @@
<height>200</height>
</size>
</property>
+ <property name="cursor">
+ <cursorShape>CrossCursor</cursorShape>
+ </property>
</widget>
</item>
<item>
More information about the Kstars-devel
mailing list