1
0
mirror of https://github.com/saitohirga/WSJT-X.git synced 2025-03-21 03:28:59 -04:00

Minor adjustments to the Fox statistics code.

This commit is contained in:
Uwe Risse 2023-05-06 11:08:33 +02:00
parent 2c98a4741e
commit f9a93443ad
2 changed files with 5 additions and 3 deletions

View File

@ -96,7 +96,7 @@
<item>
<widget class="QLabel" name="rate_label">
<property name="toolTip">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;&lt;span style=&quot; font-family:'Arial','Helvetica','sans-serif'; font-size:small; color:#222222; background-color:#ffffff;&quot;&gt;Last 10: Average rate (QSOs/hour) for the last 10 QSOs.&lt;br/&gt;Last 100: Average rate (QSOs/hour) for the last 100 QSOs. &lt;br/&gt;Last 60m: Average rate (QSOs/hour) for the last 60 minutes.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Last 10: Average rate (QSOs/hour) for the last 10 QSOs.&lt;br/&gt;Last 100: Average rate (QSOs/hour) for the last 100 QSOs. &lt;br/&gt;Last 60m: Average rate (QSOs/hour) for the last 60 minutes.&lt;/span&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>
<property name="text">
<string>N</string>

View File

@ -1084,6 +1084,8 @@ MainWindow::MainWindow(QDir const& temp_directory, bool multiple,
ui->labDXped->setStyleSheet("QLabel {background-color: red; color: white;}");
ui->pbBestSP->setVisible(m_mode=="FT4");
update_foxLogWindow_rate(); // update the rate on the window
QString jpleph = m_config.data_dir().absoluteFilePath("JPLEPH");
jpl_setup_(const_cast<char *>(jpleph.toLocal8Bit().constData()),256);
@ -1145,7 +1147,7 @@ void MainWindow::on_the_minute ()
} else {
tx_watchdog (false);
}
MainWindow::update_foxLogWindow_rate(); // update the rate on the window
update_foxLogWindow_rate(); // update the rate on the window
}
//--------------------------------------------------- MainWindow destructor
@ -10073,7 +10075,7 @@ Transmit:
if (m_foxLogWindow)
{
MainWindow::update_foxLogWindow_rate();
update_foxLogWindow_rate();
m_foxLogWindow->queued (m_foxQSOinProgress.count ());
}
updateFoxQSOsInProgressDisplay();