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

Method getSelectedDataset

src/frontend/datasources/ImportDatasetWidget.cpp:361–365  ·  view source on GitHub ↗

* @brief Returns the name of the selected dataset */

Source from the content-addressed store, hash-verified

359 * @brief Returns the name of the selected dataset
360 */
361QString ImportDatasetWidget::getSelectedDataset() const {
362 if (!ui.lwDatasets->selectedItems().isEmpty())
363 return ui.lwDatasets->selectedItems().at(0)->text();
364 return {};
365}
366
367/**
368 * @brief Initiates the processing of the dataset's metadata file and of the dataset itself.

Callers 1

checkOkButtonMethod · 0.80

Calls 3

selectedItemsMethod · 0.80
isEmptyMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected