mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-07-18 00:34:25 -04:00
1. Click on spectrum sets Rx freq; double-click also invokes narrow-band
decoder at the new frequency. CTRL-click (or CTRL-double-click) sets both Rx and Tx freqs. 2. Amplitude at end of transmission is ramped down to prevent a "key click". git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3139 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
+8
-3
@@ -760,7 +760,7 @@ void MainWindow::bumpFqso(int n) //bumpFqso()
|
||||
if(n==11) i--;
|
||||
if(n==12) i++;
|
||||
g_pWideGraph->setQSOfreq(i);
|
||||
if(!ctrl) {
|
||||
if(ctrl) {
|
||||
ui->TxFreqSpinBox->setValue(i);
|
||||
g_pWideGraph->setTxFreq(i);
|
||||
}
|
||||
@@ -1063,9 +1063,14 @@ void MainWindow::on_DecodeButton_clicked() //Decode request
|
||||
|
||||
void MainWindow::freezeDecode(int n) //freezeDecode()
|
||||
{
|
||||
if(n==1) {
|
||||
bumpFqso(0);
|
||||
qDebug() << "A" << n;
|
||||
bool ctrl = (n>=100);
|
||||
int i=g_pWideGraph->QSOfreq();
|
||||
if(ctrl) {
|
||||
ui->TxFreqSpinBox->setValue(i);
|
||||
g_pWideGraph->setTxFreq(i);
|
||||
}
|
||||
if((n%100)==2) on_DecodeButton_clicked();
|
||||
}
|
||||
|
||||
void MainWindow::decode() //decode()
|
||||
|
||||
Reference in New Issue
Block a user