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

Method typeChanged

src/frontend/dockwidgets/HistogramDock.cpp:314–320  ·  view source on GitHub ↗

"General"-tab

Source from the content-addressed store, hash-verified

312
313// "General"-tab
314void HistogramDock::typeChanged(int index) {
315 CONDITIONAL_LOCK_RETURN;
316
317 auto histogramType = Histogram::Type(index);
318 for (auto* curve : m_curvesList)
319 curve->setType(histogramType);
320}
321
322void HistogramDock::dataColumnChanged(const QModelIndex& index) {
323 CONDITIONAL_LOCK_RETURN;

Callers

nothing calls this directly

Calls 2

TypeEnum · 0.50
setTypeMethod · 0.45

Tested by

no test coverage detected