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

Method setRefreshing

Components/DeviceDialog.cpp:55–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void
56DeviceDialog::setRefreshing(bool refreshing)
57{
58 if (refreshing) {
59 this->ui->okButton->setEnabled(false);
60 this->ui->refreshButton->setEnabled(false);
61 this->ui->refreshProgress->setMaximum(0);
62 } else {
63 this->ui->okButton->setEnabled(true);
64 this->ui->refreshButton->setEnabled(true);
65 this->ui->refreshProgress->setMaximum(1);
66 }
67}
68
69void
70DeviceDialog::refreshDone(void)

Callers 2

refreshDoneMethod · 0.95
onRefreshMethod · 0.95

Calls 1

setEnabledMethod · 0.45

Tested by

no test coverage detected