| 34 | } |
| 35 | |
| 36 | void |
| 37 | TLESourceTab::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 | |
| 48 | void |
| 49 | TLESourceTab::setTleSourceConfig(TLESourceConfig const &config) |
no test coverage detected