NovaeDialog.cpp   NovaeDialog.cpp 
skipping to change at line 107 skipping to change at line 107
updateTimer->start(7000); updateTimer->start(7000);
connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close())) ; connect(ui->closeStelWindow, SIGNAL(clicked()), this, SLOT(close())) ;
connect(ui->TitleBar, SIGNAL(movedTo(QPoint)), this, SLOT(handleMove dTo(QPoint))); connect(ui->TitleBar, SIGNAL(movedTo(QPoint)), this, SLOT(handleMove dTo(QPoint)));
connect(ui->restoreDefaultsButton, SIGNAL(clicked()), this, SLOT(res toreDefaults())); connect(ui->restoreDefaultsButton, SIGNAL(clicked()), this, SLOT(res toreDefaults()));
connect(ui->saveSettingsButton, SIGNAL(clicked()), this, SLOT(saveSe ttings())); connect(ui->saveSettingsButton, SIGNAL(clicked()), this, SLOT(saveSe ttings()));
// About tab // About tab
setAboutHtml(); setAboutHtml();
StelGui* gui = dynamic_cast<StelGui*>(StelApp::getInstance().getGui(
));
if(gui!=Q_NULLPTR)
ui->aboutTextBrowser->document()->setDefaultStyleSheet(QStri
ng(gui->getStelStyle().htmlStyleSheet));
updateGuiFromSettings(); updateGuiFromSettings();
} }
void NovaeDialog::setAboutHtml(void) void NovaeDialog::setAboutHtml(void)
{ {
QString html = "<html><head></head><body>"; QString html = "<html><head></head><body>";
html += "<h2>" + q_("Bright Novae Plug-in") + "</h2><table width=\"9 0%\">"; html += "<h2>" + q_("Bright Novae Plug-in") + "</h2><table width=\"9 0%\">";
html += "<tr width=\"30%\"><td><strong>" + q_("Version") + ":</stron g></td><td>" + NOVAE_PLUGIN_VERSION + "</td></tr>"; html += "<tr width=\"30%\"><td><strong>" + q_("Version") + ":</stron g></td><td>" + NOVAE_PLUGIN_VERSION + "</td></tr>";
html += "<tr><td><strong>" + q_("License") + ":</strong></td><td>" + NOVAE_PLUGIN_LICENSE + "</td></tr>";
html += "<tr><td><strong>" + q_("Author") + ":</strong></td><td>Alex ander Wolf &lt;alex.v.wolf@gmail.com&gt;</td></tr>"; html += "<tr><td><strong>" + q_("Author") + ":</strong></td><td>Alex ander Wolf &lt;alex.v.wolf@gmail.com&gt;</td></tr>";
html += "</table>"; html += "</table>";
html += "<p>" + q_("A plugin that shows some bright novae in the Mil ky Way galaxy."); html += "<p>" + q_("A plugin that shows some bright novae in the Mil ky Way galaxy.");
html += " " + q_("You can find novae via search tool by entering des ignation of nova or its common name (e.g. 'Nova Cygni 1975' or 'V1500 Cyg') .") + "</p>"; html += " " + q_("You can find novae via search tool by entering des ignation of nova or its common name (e.g. 'Nova Cygni 1975' or 'V1500 Cyg') .") + "</p>";
html += "<p>" + q_("This plugin allows you to see recent bright nova e: "); html += "<p>" + q_("This plugin allows you to see recent bright nova e: ");
html += nova->getNovaeList(); html += nova->getNovaeList();
html += ". " + q_("This list altogether contains %1 stars.").arg(nov a->getCountNovae()); html += ". " + q_("This list altogether contains %1 stars.").arg(nov a->getCountNovae());
html += " " + q_("All those novae are brighter than %1 at peak of br ightness.").arg(QString::number(nova->getLowerLimitBrightness(), 'f', 2) + "<sup>m</sup>") + "</p>"; html += " " + q_("All those novae are brighter than %1 at peak of br ightness.").arg(QString::number(nova->getLowerLimitBrightness(), 'f', 2) + "<sup>m</sup>") + "</p>";
 End of changes. 3 change blocks. 
6 lines changed or deleted 1 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/