mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-10-08 00:00:29 -04:00
Add Logged label and implement display of QSO Rate for last hour.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8360 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+7
-2
@@ -7417,6 +7417,7 @@ void MainWindow::foxTxSequencer()
|
||||
m_msgAvgWidget->foxAddLog(logLine);
|
||||
}
|
||||
on_logQSOButton_clicked();
|
||||
m_foxRateQueue.enqueue(now); //Add present time in seconds to Rate queue.
|
||||
m_loggedByFox[hc1] += (m_lastBand + " ");
|
||||
if(m_foxQSOqueue.contains(hc1)) m_foxQSOqueue.removeOne(hc1);
|
||||
|
||||
@@ -7475,10 +7476,14 @@ Transmit:
|
||||
if(ageSec > maxAge) {
|
||||
m_foxQSO.remove(a);
|
||||
m_foxQSOqueue.removeOne(a);
|
||||
} else {
|
||||
// qDebug() << "Age:" << a << ageSec;
|
||||
}
|
||||
}
|
||||
while(!m_foxRateQueue.isEmpty()) {
|
||||
qint64 age = now - m_foxRateQueue.head();
|
||||
if(age < 3600) break;
|
||||
m_foxRateQueue.dequeue();
|
||||
}
|
||||
m_msgAvgWidget->foxLabRate(m_foxRateQueue.size());
|
||||
}
|
||||
|
||||
void MainWindow::rm_tb4(QString houndCall)
|
||||
|
||||
Reference in New Issue
Block a user