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

Method setCollection

src/frontend/datasources/ImportDatasetWidget.cpp:450–452  ·  view source on GitHub ↗

* @brief Sets the currently selected collection * @param category the name of the collection */

Source from the content-addressed store, hash-verified

448 * @param category the name of the collection
449 */
450void ImportDatasetWidget::setCollection(const QString& collection) {
451 ui.cbCollections->setCurrentText(collection + QStringLiteral(" (") + QString::number(m_model->datasetCount(collection)) + QLatin1Char(')'));
452}
453
454/**
455 * @brief Sets the currently selected category

Callers 1

datasetClickedMethod · 0.45

Calls 1

datasetCountMethod · 0.45

Tested by

no test coverage detected