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

Method isRowSelected

src/frontend/spreadsheet/SpreadsheetView.cpp:1268–1273  ·  view source on GitHub ↗

! Returns \c true if row \param row is selected; otherwise returns \c false If \param full is \c true, this function only returns \c true if the whole row is selected. */

Source from the content-addressed store, hash-verified

1266 If \param full is \c true, this function only returns \c true if the whole row is selected.
1267*/
1268bool SpreadsheetView::isRowSelected(int row, bool full) const {
1269 if (full)
1270 return m_tableView->selectionModel()->isRowSelected(row);
1271 else
1272 return m_tableView->selectionModel()->rowIntersectsSelection(row);
1273}
1274
1275/*!
1276 Return the index of the first selected column.

Callers 2

reverseSelectionMethod · 0.45
exportToLaTeXMethod · 0.45

Calls 1

selectionModelMethod · 0.80

Tested by

no test coverage detected