MCPcopy Create free account
hub / github.com/KDE/labplot / importToSpreadsheet

Method importToSpreadsheet

src/frontend/datasources/ImportKaggleDatasetWidget.cpp:307–312  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

305}
306
307void ImportKaggleDatasetWidget::importToSpreadsheet(Spreadsheet* spreadsheet) const {
308 DEBUG(Q_FUNC_INFO);
309 spreadsheet->setName(ui.lwDatasets->selectedItems().at(0)->text());
310 spreadsheet->setComment(ui.lInfo->text());
311 m_importFileWidget->currentFileFilter()->readDataFromFile(m_currentDatasetDirPath + QLatin1String("/") + m_cbDatasetFiles->currentText(), spreadsheet);
312}
313
314void ImportKaggleDatasetWidget::toggleOptionsVisibility() {
315 if (ui.bottomContainer->isVisible()) {

Callers 1

importToMethod · 0.80

Calls 7

selectedItemsMethod · 0.80
setCommentMethod · 0.80
currentFileFilterMethod · 0.80
currentTextMethod · 0.80
setNameMethod · 0.45
textMethod · 0.45
readDataFromFileMethod · 0.45

Tested by

no test coverage detected