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

Method linkingChanged

src/frontend/dockwidgets/SpreadsheetDock.cpp:156–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156void SpreadsheetDock::linkingChanged(bool linking) {
157 ui.sbRowCount->setEnabled(!linking);
158 ui.lLinkedSpreadsheet->setVisible(linking);
159 ui.cbLinkedSpreadsheet->setVisible(linking);
160
161 CONDITIONAL_LOCK_RETURN;
162
163 for (auto* spreadsheet : m_spreadsheetList)
164 spreadsheet->setLinking(linking);
165}
166
167void SpreadsheetDock::linkedSpreadsheetChanged(const QModelIndex& index) {
168 // combobox was potentially red-highlighted because of a missing column

Callers

nothing calls this directly

Calls 3

setLinkingMethod · 0.80
setEnabledMethod · 0.45
setVisibleMethod · 0.45

Tested by

no test coverage detected