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

Method selectedRows

src/frontend/spreadsheet/SpreadsheetView.cpp:1348–1355  ·  view source on GitHub ↗

! Get the complete set of selected rows. */

Source from the content-addressed store, hash-verified

1346 Get the complete set of selected rows.
1347 */
1348IntervalAttribute<bool> SpreadsheetView::selectedRows(bool full) const {
1349 IntervalAttribute<bool> result;
1350 const int rows = m_spreadsheet->rowCount();
1351 for (int i = 0; i < rows; i++)
1352 if (isRowSelected(i, full))
1353 result.setValue(i, true);
1354 return result;
1355}
1356
1357/*!
1358 Select/Deselect a cell.

Callers 9

selectionChangedMethod · 0.80
saveMethod · 0.80
resultCopyMethod · 0.80
importToMethod · 0.80
selectedRowCountMethod · 0.80
firstSelectedRowMethod · 0.80
lastSelectedRowMethod · 0.80
eventFilterMethod · 0.80
showRowStatisticsMethod · 0.80

Calls 2

rowCountMethod · 0.45
setValueMethod · 0.45

Tested by

no test coverage detected