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

Method refreshUi

Settings/TLESourceTab.cpp:36–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

34}
35
36void
37TLESourceTab::refreshUi()
38{
39 this->ui->autoDownloadCheck->setChecked(this->tleSourceConfig.autoDownloadOnStartup);
40 this->ui->addTLESourceButton->setEnabled(!this->downloading);
41 this->ui->removeTLESourceButton->setEnabled(
42 this->ui->tleSourceTable->currentRow() >= 0);
43 this->ui->downloadButton->setEnabled(
44 !this->downloading && this->ui->tleSourceTable->rowCount() > 0);
45 this->ui->abortDownloadButton->setEnabled(this->downloading);
46}
47
48void
49TLESourceTab::setTleSourceConfig(TLESourceConfig const &config)

Callers 8

setTleSourceConfigMethod · 0.95
triggerDownloadTLEsMethod · 0.95
downloadNextMethod · 0.95
TLESourceTabMethod · 0.95
onAddTLESourceMethod · 0.95
onRemoveTLESourceMethod · 0.95
onTLESelectionChangedMethod · 0.95
onTaskCancelledMethod · 0.95

Calls 2

setEnabledMethod · 0.45
rowCountMethod · 0.45

Tested by

no test coverage detected