SlewDialog.cpp   SlewDialog.cpp 
skipping to change at line 78 skipping to change at line 78
connect(ui->pushButtonSlew, SIGNAL(pressed()), this, SLOT(slew())); connect(ui->pushButtonSlew, SIGNAL(pressed()), this, SLOT(slew()));
connect(ui->pushButtonConfigure, SIGNAL(pressed()), this, SLOT(showC onfiguration())); connect(ui->pushButtonConfigure, SIGNAL(pressed()), this, SLOT(showC onfiguration()));
connect(telescopeManager, SIGNAL(clientConnected(int, QString)), thi s, SLOT(addTelescope(int, QString))); connect(telescopeManager, SIGNAL(clientConnected(int, QString)), thi s, SLOT(addTelescope(int, QString)));
connect(telescopeManager, SIGNAL(clientDisconnected(int)), this, SLO T(removeTelescope(int))); connect(telescopeManager, SIGNAL(clientDisconnected(int)), this, SLO T(removeTelescope(int)));
//Coordinates are in HMS by default: //Coordinates are in HMS by default:
ui->radioButtonHMS->setChecked(true); ui->radioButtonHMS->setChecked(true);
updateTelescopeList(); updateTelescopeList();
//Initialize the style
updateStyle();
}
void SlewDialog::updateStyle()
{
if(dialog)
{
StelGui* gui = dynamic_cast<StelGui*>(StelApp::getInstance()
.getGui());
Q_ASSERT(gui);
const StelStyle pluginStyle = telescopeManager->getModuleSty
leSheet(gui->getStelStyle());
dialog->setStyleSheet(pluginStyle.qtStyleSheet);
}
} }
void SlewDialog::showConfiguration() void SlewDialog::showConfiguration()
{ {
//Hack to work around having no direct way to do display the window //Hack to work around having no direct way to do display the window
telescopeManager->configureGui(true); telescopeManager->configureGui(true);
} }
void SlewDialog::setFormatHMS(bool set) void SlewDialog::setFormatHMS(bool set)
{ {
 End of changes. 1 change blocks. 
16 lines changed or deleted 0 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/