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

Method load

src/frontend/dockwidgets/BarPlotDock.cpp:478–485  ·  view source on GitHub ↗

SETTINGS

Source from the content-addressed store, hash-verified

476//******************** SETTINGS ****************************
477//**********************************************************
478void BarPlotDock::load() {
479 // general
480 ui.cbType->setCurrentIndex((int)m_barPlot->type());
481 ui.cbOrientation->setCurrentIndex((int)m_barPlot->orientation());
482
483 // box
484 ui.sbWidthFactor->setValue(round(m_barPlot->widthFactor() * 100.));
485}
486
487void BarPlotDock::loadConfig(KConfig& config) {
488 KConfigGroup group = config.group(QStringLiteral("BarPlot"));

Callers

nothing calls this directly

Calls 4

setCurrentIndexMethod · 0.45
typeMethod · 0.45
orientationMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected