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

Method path

src/frontend/examples/ExamplesWidget.cpp:202–210  ·  view source on GitHub ↗

! * returns the path of the currently selected example project. */

Source from the content-addressed store, hash-verified

200 * returns the path of the currently selected example project.
201 */
202QString ExamplesWidget::path() const {
203 QString name;
204 if (ui.stackedWidget->currentIndex() == 0)
205 name = ui.lvExamples->currentIndex().data(Qt::DisplayRole).toString();
206 else
207 name = ui.lwExamples->currentItem()->text();
208
209 return m_manager->path(name);
210}

Callers 9

initActionsMethod · 0.45
openRecentProjectMethod · 0.45
saveMethod · 0.45
loadSettingsMethod · 0.45
clearCacheMethod · 0.45
setInfoElementsMethod · 0.45
ImportProjectDialogMethod · 0.45
importToMethod · 0.45
downloadKaggleDatasetMethod · 0.45

Calls 5

currentItemMethod · 0.80
currentIndexMethod · 0.45
toStringMethod · 0.45
dataMethod · 0.45
textMethod · 0.45

Tested by

no test coverage detected