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

Method refreshDownloadStatus

Settings/TLESourceTab.cpp:249–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247}
248
249void
250TLESourceTab::refreshDownloadStatus(void)
251{
252 if (this->srcFailed > 0) {
253 this->ui->downloadStatusLabel->setText(
254 "Downloading " + QString::number(this->srcNum) +
255 " of " + QString::number(this->srcCount) +
256 " (" + QString::fromStdString(this->currSrc->name) + "), " +
257 QString::number(this->srcFailed) + " failed");
258 } else {
259 this->ui->downloadStatusLabel->setText(
260 "Downloading " + QString::number(this->srcNum) +
261 " of " + QString::number(this->srcCount) +
262 " (" + QString::fromStdString(this->currSrc->name) + ")");
263 }
264}
265TLESourceTab::TLESourceTab(QWidget *parent) :
266 ConfigTab(parent, "TLE Sources"),
267 ui(new Ui::TLESourceTab)

Callers 3

triggerDownloadTLEsMethod · 0.95
downloadNextMethod · 0.95
onTaskProgressMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected