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

Method populateTLESourceTable

Settings/TLESourceTab.cpp:144–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

142}
143
144void
145TLESourceTab::populateTLESourceTable(void)
146{
147 auto sus = Suscan::Singleton::get_instance();
148 for (auto src : sus->getTLESourceMap()) {
149 int index = this->ui->tleSourceTable->rowCount();
150 this->ui->tleSourceTable->insertRow(index);
151 this->ui->tleSourceTable->setItem(
152 index,
153 0,
154 new QTableWidgetItem(QString::fromStdString(src.name)));
155
156 this->ui->tleSourceTable->setItem(
157 index,
158 1,
159 new QTableWidgetItem(QString::fromStdString(src.url)));
160 }
161 this->ui->tleSourceTable->resizeColumnsToContents();
162}
163
164void
165TLESourceTab::triggerDownloadTLEs(void)

Callers 1

TLESourceTabMethod · 0.95

Calls 1

rowCountMethod · 0.45

Tested by

no test coverage detected