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

Method typeChanged

src/frontend/dockwidgets/BarPlotDock.cpp:378–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

376}
377
378void BarPlotDock::typeChanged(int index) {
379 CONDITIONAL_LOCK_RETURN;
380
381 auto type = static_cast<BarPlot::Type>(index);
382 for (auto* barPlot : m_barPlots)
383 barPlot->setType(type);
384}
385
386void BarPlotDock::orientationChanged(int index) {
387 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 1

setTypeMethod · 0.45

Tested by

no test coverage detected