| 324 | |
| 325 | |
| 326 | void |
| 327 | GenericInspector::feedSpectrum( |
| 328 | const SUFLOAT *data, |
| 329 | SUSCOUNT len, |
| 330 | SUSCOUNT rate, |
| 331 | uint32_t id) |
| 332 | { |
| 333 | if (id != this->lastSpectrumId) { |
| 334 | this->lastSpectrumId = id; |
| 335 | this->ui->resetSpectrumLimits(); |
| 336 | } |
| 337 | |
| 338 | if (len > 0) |
| 339 | this->ui->feedSpectrum(data, len, rate); |
| 340 | } |
| 341 | |
| 342 | void |
| 343 | GenericInspector::showEvent(QShowEvent *) |
no test coverage detected