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

Method isCellSelected

src/frontend/spreadsheet/SpreadsheetView.cpp:1338–1343  ·  view source on GitHub ↗

! Return whether a cell is selected */

Source from the content-addressed store, hash-verified

1336 Return whether a cell is selected
1337 */
1338bool SpreadsheetView::isCellSelected(int row, int col) const {
1339 if (row < 0 || col < 0 || row >= m_spreadsheet->rowCount() || col >= m_spreadsheet->columnCount())
1340 return false;
1341
1342 return m_tableView->selectionModel()->isSelected(m_model->index(row, col));
1343}
1344
1345/*!
1346 Get the complete set of selected rows.

Callers

nothing calls this directly

Calls 5

selectionModelMethod · 0.80
rowCountMethod · 0.45
columnCountMethod · 0.45
isSelectedMethod · 0.45
indexMethod · 0.45

Tested by

no test coverage detected