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

Method saveConfig

Components/PanoramicDialog.cpp:628–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

626}
627
628void
629PanoramicDialog::saveConfig(void)
630{
631 Suscan::Source::Device dev;
632
633 this->getSelectedDevice(dev);
634
635 this->dialogConfig->device = dev.getDesc();
636 this->dialogConfig->lnbFreq = this->ui->lnbDoubleSpinBox->value();
637 this->dialogConfig->palette = this->paletteGradient.toStdString();
638 this->dialogConfig->rangeMin = this->ui->rangeStartSpin->value();
639 this->dialogConfig->rangeMax = this->ui->rangeEndSpin->value();
640
641 this->dialogConfig->strategy =
642 this->ui->walkStrategyCombo->currentText().toStdString();
643
644 this->dialogConfig->partitioning =
645 this->ui->partitioningCombo->currentText().toStdString();
646
647 this->dialogConfig->fullRange = this->ui->fullRangeCheck->isChecked();
648}
649
650FrequencyBand
651PanoramicDialog::deserializeFrequencyBand(Suscan::Object const &obj)

Callers 1

runMethod · 0.95

Calls 3

getSelectedDeviceMethod · 0.95
getDescMethod · 0.80
valueMethod · 0.80

Tested by

no test coverage detected