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

Method selectedRowCount

src/frontend/matrix/MatrixView.cpp:421–428  ·  view source on GitHub ↗

! Return how many rows are (at least partly) selected If full is true, this function only returns the number of fully selected rows. */

Source from the content-addressed store, hash-verified

419 If full is true, this function only returns the number of fully selected rows.
420*/
421int MatrixView::selectedRowCount(bool full) const {
422 int count = 0;
423 int rows = m_matrix->rowCount();
424 for (int i = 0; i < rows; i++)
425 if (isRowSelected(i, full))
426 count++;
427 return count;
428}
429
430/*!
431 Returns true if row \c row is selected; otherwise false

Callers 2

addRowsMethod · 0.45
addColumnsMethod · 0.45

Calls 1

rowCountMethod · 0.45

Tested by

no test coverage detected