MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / readConfig

Method readConfig

src/plugins/python/python/option/pythonoptionwidget.cpp:57–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57void PythonOptionWidget::readConfig()
58{
59 for (int index = 0; index < d->tabWidget->count(); index++) {
60 PageWidget *pageWidget = qobject_cast<PageWidget *>(d->tabWidget->widget(index));
61 if (pageWidget) {
62 QString itemNode = d->tabWidget->tabText(d->tabWidget->currentIndex());
63 QMap<QString, QVariant> map = OptionManager::getInstance()->getValue(option::CATEGORY_PYTHON, itemNode).toMap();
64 pageWidget->setUserConfig(map);
65 }
66 }
67}

Callers

nothing calls this directly

Calls 5

countMethod · 0.45
widgetMethod · 0.45
currentIndexMethod · 0.45
getValueMethod · 0.45
setUserConfigMethod · 0.45

Tested by

no test coverage detected