PointerCoordinatesWindow.cpp   PointerCoordinatesWindow.cpp 
skipping to change at line 91 skipping to change at line 91
populateCoordinateSystemsList(); populateCoordinateSystemsList();
idx = ui->coordinateSystemComboBox->findData(coord->getCurrentCoordi nateSystemKey(), Qt::UserRole, Qt::MatchCaseSensitive); idx = ui->coordinateSystemComboBox->findData(coord->getCurrentCoordi nateSystemKey(), Qt::UserRole, Qt::MatchCaseSensitive);
if (idx==-1) if (idx==-1)
{ {
// Use RaDecJ2000 as default // Use RaDecJ2000 as default
idx = ui->coordinateSystemComboBox->findData(QVariant("RaDec J2000"), Qt::UserRole, Qt::MatchCaseSensitive); idx = ui->coordinateSystemComboBox->findData(QVariant("RaDec J2000"), Qt::UserRole, Qt::MatchCaseSensitive);
} }
ui->coordinateSystemComboBox->setCurrentIndex(idx); ui->coordinateSystemComboBox->setCurrentIndex(idx);
connect(ui->coordinateSystemComboBox, SIGNAL(currentIndexChanged(int )), this, SLOT(setCoordinateSystem(int))); connect(ui->coordinateSystemComboBox, SIGNAL(currentIndexChanged(int )), this, SLOT(setCoordinateSystem(int)));
ui->checkBoxConstellation->setChecked(coord->getFlagShowConstellatio
n());
connect(ui->checkBoxConstellation, SIGNAL(toggled(bool)), coord, SLO
T(setFlagShowConstellation(bool)));
connect(ui->spinBoxX, SIGNAL(valueChanged(int)), this, SLOT(setCusto mCoordinatesPlace())); connect(ui->spinBoxX, SIGNAL(valueChanged(int)), this, SLOT(setCusto mCoordinatesPlace()));
connect(ui->spinBoxY, SIGNAL(valueChanged(int)), this, SLOT(setCusto mCoordinatesPlace())); connect(ui->spinBoxY, SIGNAL(valueChanged(int)), this, SLOT(setCusto mCoordinatesPlace()));
connect(ui->pushButtonSave, SIGNAL(clicked()), this, SLOT(saveCoordi natesSettings())); connect(ui->pushButtonSave, SIGNAL(clicked()), this, SLOT(saveCoordi natesSettings()));
connect(ui->pushButtonReset, SIGNAL(clicked()), this, SLOT(resetCoor dinatesSettings())); connect(ui->pushButtonReset, SIGNAL(clicked()), this, SLOT(resetCoor dinatesSettings()));
// About tab // About tab
setAboutHtml(); setAboutHtml();
StelGui* gui = dynamic_cast<StelGui*>(StelApp::getInstance().getGui( )); StelGui* gui = dynamic_cast<StelGui*>(StelApp::getInstance().getGui( ));
if(gui!=NULL) if(gui!=NULL)
skipping to change at line 203 skipping to change at line 206
csys->clear(); csys->clear();
//For each algorithm, display the localized name and store the key a s user //For each algorithm, display the localized name and store the key a s user
//data. Unfortunately, there's no other way to do this than with a c ycle. //data. Unfortunately, there's no other way to do this than with a c ycle.
csys->addItem(q_("Right ascension/Declination (J2000.0)"), "RaDecJ20 00"); csys->addItem(q_("Right ascension/Declination (J2000.0)"), "RaDecJ20 00");
csys->addItem(q_("Right ascension/Declination"), "RaDec"); csys->addItem(q_("Right ascension/Declination"), "RaDec");
csys->addItem(q_("Hour angle/Declination"), "HourAngle"); csys->addItem(q_("Hour angle/Declination"), "HourAngle");
csys->addItem(q_("Ecliptic Longitude/Latitude"), "Ecliptic"); csys->addItem(q_("Ecliptic Longitude/Latitude"), "Ecliptic");
csys->addItem(q_("Ecliptic Longitude/Latitude (J2000.0)"), "Ecliptic J2000"); csys->addItem(q_("Ecliptic Longitude/Latitude (J2000.0)"), "Ecliptic J2000");
csys->addItem(q_("Altitude/Azimuth"), "AltAzi"); csys->addItem(q_("Altitude/Azimuth"), "AltAzi");
csys->addItem(q_("Galactic Longitude/Latitude"), "Galactic"); csys->addItem(q_("Galactic Longitude/Latitude"), "Galactic");
csys->addItem(q_("Supergalactic Longitude/Latitude"), "Supergalactic ");
//Restore the selection //Restore the selection
index = csys->findData(selectedSystemId, Qt::UserRole, Qt::MatchCase Sensitive); index = csys->findData(selectedSystemId, Qt::UserRole, Qt::MatchCase Sensitive);
csys->setCurrentIndex(index); csys->setCurrentIndex(index);
csys->blockSignals(false); csys->blockSignals(false);
} }
void PointerCoordinatesWindow::setCoordinatesPlace(int placeID) void PointerCoordinatesWindow::setCoordinatesPlace(int placeID)
{ {
QString currentPlaceID = ui->placeComboBox->itemData(placeID).toStri ng(); QString currentPlaceID = ui->placeComboBox->itemData(placeID).toStri ng();
 End of changes. 2 change blocks. 
0 lines changed or deleted 6 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/