| 857 | } |
| 858 | |
| 859 | void |
| 860 | PanoramicDialog::applyConfig(void) |
| 861 | { |
| 862 | SigDiggerHelpers::instance()->populatePaletteCombo(this->ui->paletteCombo); |
| 863 | |
| 864 | this->setPaletteGradient(QString::fromStdString(this->dialogConfig->palette)); |
| 865 | this->ui->lnbDoubleSpinBox->setValue( |
| 866 | static_cast<SUFREQ>(this->dialogConfig->lnbFreq)); |
| 867 | this->ui->rangeStartSpin->setValue(this->dialogConfig->rangeMin); |
| 868 | this->ui->rangeEndSpin->setValue(this->dialogConfig->rangeMax); |
| 869 | this->ui->fullRangeCheck->setChecked(this->dialogConfig->fullRange); |
| 870 | this->ui->sampleRateSpin->setValue(this->dialogConfig->sampRate); |
| 871 | this->ui->waterfall->setPandapterRange( |
| 872 | this->dialogConfig->panRangeMin, |
| 873 | this->dialogConfig->panRangeMax); |
| 874 | this->ui->waterfall->setWaterfallRange( |
| 875 | this->dialogConfig->panRangeMin, |
| 876 | this->dialogConfig->panRangeMax); |
| 877 | this->onDeviceChanged(); |
| 878 | } |
| 879 | |
| 880 | ////////////////////////////// Slots ////////////////////////////////////// |
| 881 |
nothing calls this directly
no test coverage detected