mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-04 14:17:52 -04:00
FT4 sequencing seems OK now (but needs thorough testing). No "TU;" msgs yet.
This commit is contained in:
parent
87826d1a6c
commit
69675153a7
@ -4272,6 +4272,7 @@ void MainWindow::on_txb6_clicked()
|
|||||||
|
|
||||||
void MainWindow::doubleClickOnCall2(Qt::KeyboardModifiers modifiers)
|
void MainWindow::doubleClickOnCall2(Qt::KeyboardModifiers modifiers)
|
||||||
{
|
{
|
||||||
|
if(m_mode=="FT4" and m_inQSOwith!="") return;
|
||||||
set_dateTimeQSO(-1); // reset our QSO start time
|
set_dateTimeQSO(-1); // reset our QSO start time
|
||||||
m_decodedText2=true;
|
m_decodedText2=true;
|
||||||
doubleClickOnCall(modifiers);
|
doubleClickOnCall(modifiers);
|
||||||
@ -4280,6 +4281,7 @@ void MainWindow::doubleClickOnCall2(Qt::KeyboardModifiers modifiers)
|
|||||||
|
|
||||||
void MainWindow::doubleClickOnCall(Qt::KeyboardModifiers modifiers)
|
void MainWindow::doubleClickOnCall(Qt::KeyboardModifiers modifiers)
|
||||||
{
|
{
|
||||||
|
if(m_mode=="FT4" and m_inQSOwith!="") return;
|
||||||
QTextCursor cursor;
|
QTextCursor cursor;
|
||||||
if(m_mode=="ISCAT") {
|
if(m_mode=="ISCAT") {
|
||||||
MessageBox::information_message (this,
|
MessageBox::information_message (this,
|
||||||
@ -5459,6 +5461,7 @@ void MainWindow::on_logQSOButton_clicked() //Log QSO button
|
|||||||
m_dateTimeQSOOn, dateTimeQSOOff, m_freqNominal +
|
m_dateTimeQSOOn, dateTimeQSOOff, m_freqNominal +
|
||||||
ui->TxFreqSpinBox->value(), m_noSuffix, m_xSent, m_xRcvd,
|
ui->TxFreqSpinBox->value(), m_noSuffix, m_xSent, m_xRcvd,
|
||||||
m_cabrilloLog.data ());
|
m_cabrilloLog.data ());
|
||||||
|
m_inQSOwith="";
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::acceptQSO (QDateTime const& QSO_date_off, QString const& call, QString const& grid
|
void MainWindow::acceptQSO (QDateTime const& QSO_date_off, QString const& call, QString const& grid
|
||||||
@ -8751,7 +8754,7 @@ void MainWindow::ft4_rx(int k)
|
|||||||
// (Is that the best logic to use here??)
|
// (Is that the best logic to use here??)
|
||||||
ui->decodedTextBrowser2->displayDecodedText(decodedtext,m_baseCall,
|
ui->decodedTextBrowser2->displayDecodedText(decodedtext,m_baseCall,
|
||||||
m_mode,m_config.DXCC(),m_logBook,m_currentBand,m_config.ppfx());
|
m_mode,m_config.DXCC(),m_logBook,m_currentBand,m_config.ppfx());
|
||||||
processMessage(decodedtext);
|
if(decodedtext.string().trimmed().contains(m_inQSOwith)) processMessage(decodedtext);
|
||||||
m_QSOText = decodedtext.string().trimmed ();
|
m_QSOText = decodedtext.string().trimmed ();
|
||||||
}
|
}
|
||||||
write_all("Rx",decodedtext.string().trimmed());
|
write_all("Rx",decodedtext.string().trimmed());
|
||||||
@ -8780,6 +8783,7 @@ void MainWindow::ft4_tx(int ntx)
|
|||||||
if(m_ntx == 5) ba=ui->tx5->currentText().toLocal8Bit();
|
if(m_ntx == 5) ba=ui->tx5->currentText().toLocal8Bit();
|
||||||
if(m_ntx == 6) ba=ui->tx6->text().toLocal8Bit();
|
if(m_ntx == 6) ba=ui->tx6->text().toLocal8Bit();
|
||||||
QString msg = QString::fromLatin1(ba.data());
|
QString msg = QString::fromLatin1(ba.data());
|
||||||
|
if(m_ntx==2 or m_ntx==3) m_inQSOwith=m_hisCall;
|
||||||
if(msg.trimmed().length()==0) return; //Don't transmit a blank message, or ...
|
if(msg.trimmed().length()==0) return; //Don't transmit a blank message, or ...
|
||||||
if(m_diskData) return; //... in response to a decode from disk
|
if(m_diskData) return; //... in response to a decode from disk
|
||||||
ba2msg(ba,message);
|
ba2msg(ba,message);
|
||||||
|
@ -617,6 +617,7 @@ private:
|
|||||||
QString m_nextCall;
|
QString m_nextCall;
|
||||||
QString m_nextGrid;
|
QString m_nextGrid;
|
||||||
QString m_fileDateTime;
|
QString m_fileDateTime;
|
||||||
|
QString m_inQSOwith;
|
||||||
|
|
||||||
QSet<QString> m_pfx;
|
QSet<QString> m_pfx;
|
||||||
QSet<QString> m_sfx;
|
QSet<QString> m_sfx;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user