1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-05 07:24:44 -04:00

Interferometer (8)

This commit is contained in:
f4exb
2019-10-01 00:21:17 +02:00
parent fcc11bbaf8
commit 5bd8d69987
9 changed files with 208 additions and 20 deletions
@@ -210,6 +210,8 @@ void InterferometerGUI::displaySettings()
blockApplySettings(true);
ui->decimationFactor->setCurrentIndex(m_settings.m_log2Decim);
applyDecimation();
ui->phaseCorrection->setValue(m_settings.m_phase);
ui->phaseCorrectionText->setText(tr("%1").arg(m_settings.m_phase));
blockApplySettings(false);
}
@@ -298,6 +300,13 @@ void InterferometerGUI::on_position_valueChanged(int value)
applyPosition();
}
void InterferometerGUI::on_phaseCorrection_valueChanged(int value)
{
m_settings.m_phase = value;
ui->phaseCorrectionText->setText(tr("%1").arg(value));
applySettings();
}
void InterferometerGUI::on_correlationType_currentIndexChanged(int index)
{
m_settings.m_correlationType = (InterferometerSettings::CorrelationType) index;