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

Method refreshUi

Components/MainSpectrum.cpp:267–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265}
266
267void
268MainSpectrum::refreshUi(void)
269{
270 QString modeText = " Capture mode: ";
271
272 switch (this->mode) {
273 case UNAVAILABLE:
274 modeText += "N/A";
275 break;
276
277 case CAPTURE:
278 modeText += "LIVE";
279 break;
280
281 case REPLAY:
282 modeText += "REPLAY";
283 break;
284 }
285
286 this->ui->captureModeLabel->setText(modeText);
287
288 if (this->throttling)
289 this->ui->throttlingLabel->setText(" Throttling: ON");
290 else
291 this->ui->throttlingLabel->setText(" Throttling: OFF");
292}
293
294void
295MainSpectrum::setThrottling(bool value)

Callers 2

setThrottlingMethod · 0.95
setCaptureModeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected