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

Method selectAntenna

Default/Source/SourceWidget.cpp:553–565  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

551}
552
553void
554SourceWidget::selectAntenna(std::string const &name)
555{
556 int index;
557 QString qNam = QString::fromStdString(name);
558
559 if ((index = this->ui->antennaCombo->findText(qNam)) == -1) {
560 index = this->ui->antennaCombo->count();
561 this->ui->antennaCombo->addItem(qNam);
562 }
563
564 this->ui->antennaCombo->setCurrentIndex(index);
565}
566
567void
568SourceWidget::setSampleRate(unsigned int rate)

Callers 2

applySourceInfoMethod · 0.95
setProfileMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected