mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-01 16:13:57 -04:00
Reports in MSK144 mode are even numbers between -4 and +24 dB.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6910 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
066ad85bd9
commit
fcd42a116a
@ -3970,6 +3970,10 @@ void MainWindow::on_actionMSK144_triggered()
|
|||||||
m_toneSpacing=0.0;
|
m_toneSpacing=0.0;
|
||||||
ui->cbShMsgs->setVisible(true);
|
ui->cbShMsgs->setVisible(true);
|
||||||
ui->actionMSK144->setChecked(true);
|
ui->actionMSK144->setChecked(true);
|
||||||
|
ui->rptSpinBox->setMinimum(-4);
|
||||||
|
ui->rptSpinBox->setMaximum(24);
|
||||||
|
ui->rptSpinBox->setValue(0);
|
||||||
|
ui->rptSpinBox->setSingleStep(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_actionQRA64_triggered()
|
void MainWindow::on_actionQRA64_triggered()
|
||||||
@ -4246,6 +4250,9 @@ void MainWindow::switch_mode (Mode mode)
|
|||||||
ui->pbT2R->setVisible(!b);
|
ui->pbT2R->setVisible(!b);
|
||||||
ui->cbTxLock->setVisible(!b);
|
ui->cbTxLock->setVisible(!b);
|
||||||
ui->TxFreqSpinBox->setVisible(!b);
|
ui->TxFreqSpinBox->setVisible(!b);
|
||||||
|
ui->rptSpinBox->setSingleStep(1);
|
||||||
|
ui->rptSpinBox->setMinimum(-50);
|
||||||
|
ui->rptSpinBox->setMaximum(49);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::WSPR_config(bool b)
|
void MainWindow::WSPR_config(bool b)
|
||||||
@ -4552,6 +4559,11 @@ void MainWindow::on_freeTextMsg_currentTextChanged (QString const& text)
|
|||||||
|
|
||||||
void MainWindow::on_rptSpinBox_valueChanged(int n)
|
void MainWindow::on_rptSpinBox_valueChanged(int n)
|
||||||
{
|
{
|
||||||
|
int step=ui->rptSpinBox->singleStep();
|
||||||
|
if(n%step !=0) {
|
||||||
|
n++;
|
||||||
|
ui->rptSpinBox->setValue(n);
|
||||||
|
}
|
||||||
m_rpt=QString::number(n);
|
m_rpt=QString::number(n);
|
||||||
int ntx0=m_ntx;
|
int ntx0=m_ntx;
|
||||||
QString t=ui->tx5->currentText();
|
QString t=ui->tx5->currentText();
|
||||||
|
Loading…
Reference in New Issue
Block a user