WIP on IPC. Clicking on Active Stations window works in FT8, fails in Q65.

This commit is contained in:
Joe Taylor 2022-12-14 21:32:09 -05:00
parent cbad491438
commit 6f59ddeab1
2 changed files with 10 additions and 4 deletions

View File

@ -75,6 +75,11 @@ void ActiveStations::displayRecentStations(QString mode, QString const& t)
ui->score->setVisible(!b);
ui->sbMaxRecent->setVisible(!b);
ui->RecentStationsPlainTextEdit->setPlainText(t);
QString t1= " 1. R7BI KN96 41 -12 764 0 0 18\n 2. LA6OP JP67 29 +07 696 0 0* 13\n 3. G0OUC IO93 49 -20 1628 0 0 13\n 4. G5EA IO93 49 -13 1747 0 0 13\n 5. G7BHU IO93 49 -17 1191 0 0 13\n 6. ON4EB JO11 50 -01 2188 0 0 13\n 7. K2AK DM41 264 +03 1432 0 0 8\n 8. N2DEE DM79 277 -01 1297 0 0 7\n 9. AK0MR DM59 279 +07 2478 0 0 7\n10. NK5G EM20 245 -07 2149 0 0 6\n"; //TEMP
ui->RecentStationsPlainTextEdit->setPlainText(t1);
}
int ActiveStations::maxRecent()
@ -96,8 +101,9 @@ void ActiveStations::select()
int nline=ui->RecentStationsPlainTextEdit->textCursor().blockNumber();
qDebug() << "aa" << nline << ui->RecentStationsPlainTextEdit->textCursor().position();
qDebug() << "bb" << ui->RecentStationsPlainTextEdit->toPlainText();
if(nline!=-99) return; //TEMPORARY
// if(nline!=-99) return; //TEMPORARY
emit callSandP(nline);
}
}

View File

@ -3423,8 +3423,8 @@ void MainWindow::decode() //decode()
decodeBusy(true);
}
}
if((m_mode=="FT4" or (m_mode=="FT8" and m_ihsym==41) or m_diskData) and
m_ActiveStationsWidget != NULL) m_ActiveStationsWidget->erase();
if((m_mode=="FT4" or (m_mode=="FT8" and m_ihsym==41) or m_diskData or m_mode=="Q65") and
m_ActiveStationsWidget != NULL) m_ActiveStationsWidget->erase(); //TEMP
}
void::MainWindow::fast_decode_done()
@ -3687,7 +3687,7 @@ void MainWindow::callSandP2(int n)
m_deGrid="";
m_txFirst=(w[i0+1]=="0");
ui->TxFreqSpinBox->setValue(1500);
qDebug() << "bb" << n << w;
// qDebug() << "cc" << n << w;
} else {
m_deCall=w[0];
m_deGrid=w[1];