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

Method loadConfig

src/frontend/dockwidgets/LollipopPlotDock.cpp:435–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433}
434
435void LollipopPlotDock::loadConfig(KConfig& config) {
436 KConfigGroup group = config.group(QStringLiteral("Lollipop"));
437
438 // general
439 ui.cbOrientation->setCurrentIndex(group.readEntry(QStringLiteral("Orientation"), (int)m_plot->orientation()));
440
441 lineWidget->loadConfig(group);
442 symbolWidget->loadConfig(group);
443 valueWidget->loadConfig(group);
444}
445
446void LollipopPlotDock::loadConfigFromTemplate(KConfig& config) {
447 auto name = TemplateHandler::templateName(config);

Callers 1

Calls 3

groupMethod · 0.45
setCurrentIndexMethod · 0.45
orientationMethod · 0.45

Tested by

no test coverage detected