SETTINGS
| 476 | //******************** SETTINGS **************************** |
| 477 | //********************************************************** |
| 478 | void 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 | |
| 487 | void BarPlotDock::loadConfig(KConfig& config) { |
| 488 | KConfigGroup group = config.group(QStringLiteral("BarPlot")); |
nothing calls this directly
no test coverage detected