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

Method importKaggleDatasetDialog

src/frontend/MainWin.cpp:2783–2800  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2781}
2782
2783void MainWin::importKaggleDatasetDialog() {
2784 DEBUG(Q_FUNC_INFO);
2785
2786 if (ImportKaggleDatasetDialog::checkKaggle()) {
2787 auto* dlg = new ImportKaggleDatasetDialog(this);
2788 dlg->exec();
2789 } else {
2790 QMessageBox::critical(this,
2791 i18n("Kaggle CLI tool not found"),
2792 i18n("Provide the path to the Kaggle CLI tool in the application settings and try again."));
2793 auto* dlg = new SettingsDialog(this, m_defaultSystemLocale);
2794 connect(dlg, &SettingsDialog::settingsChanged, this, &MainWin::handleSettingsChanges);
2795 dlg->navigateTo(Settings::Type::Datasets);
2796 dlg->exec();
2797 }
2798
2799 DEBUG(Q_FUNC_INFO << " DONE");
2800}
2801
2802void MainWin::importSqlDialog() {
2803 DEBUG(Q_FUNC_INFO);

Callers

nothing calls this directly

Calls 2

execMethod · 0.80
navigateToMethod · 0.45

Tested by

no test coverage detected