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

Method refreshSizes

Default/GenericInspector/SymViewTab.cpp:252–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250}
251
252void
253SymViewTab::refreshSizes(void)
254{
255 this->ui->sizeLabel->setText(
256 "Capture size: " +
257 SuWidgetsHelpers::formatQuantity(
258 this->ui->symView->getLength(),
259 "sym"));
260
261 this->ui->dataSizeLabel->setText(
262 "Data size: " +
263 SuWidgetsHelpers::formatQuantity(
264 this->ui->symView->getLength() * this->bps,
265 "bits")
266 + " (" +
267 SuWidgetsHelpers::formatBinaryQuantity(
268 this->ui->symView->getLength() * this->bps >> 3,
269 "B") + ")");
270
271 this->ui->saveButton->setEnabled(this->ui->symView->getLength() > 0);
272
273 this->refreshVScrollBar();
274}
275
276void
277SymViewTab::setThrottleControl(ThrottleControl *control)

Callers 2

feedMethod · 0.95
onClearSymViewMethod · 0.95

Calls 2

refreshVScrollBarMethod · 0.95
setEnabledMethod · 0.45

Tested by

no test coverage detected