MCPcopy Create free account
hub / github.com/BatchDrake/SigDigger / applyConfig

Method applyConfig

Components/PanoramicDialog.cpp:859–878  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

857}
858
859void
860PanoramicDialog::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

Callers

nothing calls this directly

Calls 5

setPaletteGradientMethod · 0.95
onDeviceChangedMethod · 0.95
populatePaletteComboMethod · 0.80
setValueMethod · 0.80
setPandapterRangeMethod · 0.80

Tested by

no test coverage detected