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

Method layoutColumnCountChanged

src/frontend/dockwidgets/CartesianPlotLegendDock.cpp:550–558  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

548}
549
550void CartesianPlotLegendDock::layoutColumnCountChanged(int count) {
551 ui.lOrder->setVisible(count != 1);
552 ui.cbOrder->setVisible(count != 1);
553
554 CONDITIONAL_LOCK_RETURN;
555
556 for (auto* legend : m_legendList)
557 legend->setLayoutColumnCount(count);
558}
559
560//*************************************************************
561//**** SLOTs for changes triggered in CartesianPlotLegend *****

Callers

nothing calls this directly

Calls 2

setVisibleMethod · 0.45
setLayoutColumnCountMethod · 0.45

Tested by

no test coverage detected