From e19c34d303d306ec76c3211bb2fe69537f6f843c Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 19 Dec 2017 15:55:49 +0000 Subject: [PATCH] Temporarily, at least, use F7 window for a visible log of Fox QSOs. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8347 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- mainwindow.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index 816089cf6..bf0784e78 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -4916,6 +4916,7 @@ void MainWindow::on_actionFT8_triggered() ui->TxFreqSpinBox->setValue(300); displayWidgets(nWidgets("11101000010011100001000010000010")); ui->labDXped->setText("DXpedition: Fox"); + on_actionMessage_averaging_triggered(); //### } if(m_config.bHound()) { ui->txFirstCheckBox->setChecked(false); @@ -6282,7 +6283,7 @@ void::MainWindow::VHF_features_enabled(bool b) ui->actionMessage_averaging->setEnabled(b); ui->actionEnable_AP_DXcall->setVisible (m_mode=="QRA64"); ui->actionEnable_AP_JT65->setVisible (m_mode=="JT65"); - if(!b && m_msgAvgWidget) { + if(!b && m_msgAvgWidget and !m_config.bFox()) { if(m_msgAvgWidget->isVisible()) m_msgAvgWidget->close(); } } @@ -7401,7 +7402,12 @@ TxTimeout: m_hisGrid=m_houndGrid[i]; m_rptSent=m_houndRptSent[i]; m_rptRcvd=m_houndRptRcvd[i]; - qDebug() << "Logged by Fox:" << i << m_hisCall << m_hisGrid << m_rptSent << m_rptRcvd << m_lastBand; + qDebug() << "Logged by Fox:" << i << m_hisCall << m_hisGrid << m_rptSent + << m_rptRcvd << m_lastBand; + QDateTime now {QDateTime::currentDateTimeUtc ()}; + QString logLine=now.toString("yyyy-MM-dd hh:mm") + " " + m_hisCall + + " " + m_hisGrid + " " + m_rptSent + " " + m_rptRcvd + " " + m_lastBand; + if(m_msgAvgWidget->isVisible()) m_msgAvgWidget->displayAvg(logLine); on_logQSOButton_clicked(); m_loggedByFox[m_hisCall] += (m_lastBand + " ");