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

Method columnCountChanged

src/frontend/dockwidgets/MatrixDock.cpp:184–194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182}
183
184void MatrixDock::columnCountChanged(int columns) {
185 CONDITIONAL_LOCK_RETURN;
186
187 for (auto* matrix : m_matrixList)
188 matrix->setColumnCount(columns);
189
190 if (columns == 0) {
191 // Rowcount changed, because of the internal structure of the matrix
192 ui.sbRowCount->setValue(0);
193 }
194}
195
196//*************************************************************
197//******** SLOTs for changes triggered in Matrix *********

Callers

nothing calls this directly

Calls 2

setColumnCountMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected