Send various Fox GUI commands to FoxQSO.txt

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8561 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2018-03-14 17:46:42 +00:00
parent 05caba58f4
commit 878d0e3647

View File

@ -7265,11 +7265,17 @@ void MainWindow::on_sbNlist_valueChanged(int n)
void MainWindow::on_sbNslots_valueChanged(int n) void MainWindow::on_sbNslots_valueChanged(int n)
{ {
m_Nslots=n; m_Nslots=n;
QString t;
t.sprintf(" NSlots %d",m_Nslots);
writeFoxQSO(t);
} }
void MainWindow::on_sbMax_dB_valueChanged(int n) void MainWindow::on_sbMax_dB_valueChanged(int n)
{ {
m_max_dB=n; m_max_dB=n;
QString t;
t.sprintf(" Max_dB %d",m_max_dB);
writeFoxQSO(t);
} }
void MainWindow::on_pbFoxReset_clicked() void MainWindow::on_pbFoxReset_clicked()
@ -7277,6 +7283,7 @@ void MainWindow::on_pbFoxReset_clicked()
ui->textBrowser4->setText(""); ui->textBrowser4->setText("");
m_houndQueue.clear(); m_houndQueue.clear();
m_foxQSOqueue.clear(); m_foxQSOqueue.clear();
writeFoxQSO(" Reset");
} }
void MainWindow::on_comboBoxHoundSort_activated(int index) void MainWindow::on_comboBoxHoundSort_activated(int index)
@ -7679,6 +7686,7 @@ void MainWindow::doubleClickOnFoxQueue(Qt::KeyboardModifiers modifiers)
cursor.setPosition(cursor.selectionStart()); cursor.setPosition(cursor.selectionStart());
QString houndCall=cursor.block().text().mid(0,6).trimmed(); QString houndCall=cursor.block().text().mid(0,6).trimmed();
rm_tb4(houndCall); rm_tb4(houndCall);
writeFoxQSO(" Del: " + houndCall);
QQueue<QString> tmpQueue; QQueue<QString> tmpQueue;
while(!m_houndQueue.isEmpty()) { while(!m_houndQueue.isEmpty()) {
QString t=m_houndQueue.dequeue(); QString t=m_houndQueue.dequeue();