mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-09-04 14:17:52 -04:00
In FT4 mode, let F11 and F12 move Tx freq by +/- 120 Hz.
This commit is contained in:
parent
974cf50e16
commit
e38091705b
@ -1993,7 +1993,9 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
|
|||||||
n=11;
|
n=11;
|
||||||
if(e->modifiers() & Qt::ControlModifier) n+=100;
|
if(e->modifiers() & Qt::ControlModifier) n+=100;
|
||||||
if(e->modifiers() & Qt::ShiftModifier) {
|
if(e->modifiers() & Qt::ShiftModifier) {
|
||||||
ui->TxFreqSpinBox->setValue(ui->TxFreqSpinBox->value()-60);
|
int offset=60;
|
||||||
|
if(m_mode=="FT4") offset=120;
|
||||||
|
ui->TxFreqSpinBox->setValue(ui->TxFreqSpinBox->value()-offset);
|
||||||
} else{
|
} else{
|
||||||
bumpFqso(n);
|
bumpFqso(n);
|
||||||
}
|
}
|
||||||
@ -2007,7 +2009,9 @@ void MainWindow::keyPressEvent (QKeyEvent * e)
|
|||||||
n=12;
|
n=12;
|
||||||
if(e->modifiers() & Qt::ControlModifier) n+=100;
|
if(e->modifiers() & Qt::ControlModifier) n+=100;
|
||||||
if(e->modifiers() & Qt::ShiftModifier) {
|
if(e->modifiers() & Qt::ShiftModifier) {
|
||||||
ui->TxFreqSpinBox->setValue(ui->TxFreqSpinBox->value()+60);
|
int offset=60;
|
||||||
|
if(m_mode=="FT4") offset=120;
|
||||||
|
ui->TxFreqSpinBox->setValue(ui->TxFreqSpinBox->value()+offset);
|
||||||
} else {
|
} else {
|
||||||
bumpFqso(n);
|
bumpFqso(n);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user