| 452 | } |
| 453 | |
| 454 | void |
| 455 | PanoramicDialog::feed( |
| 456 | qint64 freqStart, |
| 457 | qint64 freqEnd, |
| 458 | float *data, |
| 459 | size_t size) |
| 460 | { |
| 461 | if (this->freqStart != freqStart || this->freqEnd != freqEnd) { |
| 462 | this->freqStart = freqStart; |
| 463 | this->freqEnd = freqEnd; |
| 464 | |
| 465 | this->adjustingRange = true; |
| 466 | this->setWfRange( |
| 467 | static_cast<qint64>(freqStart), |
| 468 | static_cast<qint64>(freqEnd)); |
| 469 | this->adjustingRange = false; |
| 470 | } |
| 471 | |
| 472 | this->saved.set( |
| 473 | static_cast<qint64>(freqStart), |
| 474 | static_cast<qint64>(freqEnd), |
| 475 | data, |
| 476 | size); |
| 477 | |
| 478 | this->ui->exportButton->setEnabled(true); |
| 479 | this->ui->waterfall->setNewFftData(data, static_cast<int>(size)); |
| 480 | |
| 481 | ++this->frames; |
| 482 | this->redrawMeasures(); |
| 483 | } |
| 484 | |
| 485 | void |
| 486 | PanoramicDialog::setColors(ColorConfig const &cfg) |
nothing calls this directly
no test coverage detected