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

Method selectedColumnCount

src/frontend/matrix/MatrixView.cpp:397–404  ·  view source on GitHub ↗

! Returns how many columns are selected. If full is true, this function only returns the number of fully selected columns. */

Source from the content-addressed store, hash-verified

395 If full is true, this function only returns the number of fully selected columns.
396*/
397int MatrixView::selectedColumnCount(bool full) const {
398 int count = 0;
399 int cols = m_matrix->columnCount();
400 for (int i = 0; i < cols; i++)
401 if (isColumnSelected(i, full))
402 count++;
403 return count;
404}
405
406/*!
407 Returns true if column 'col' is selected; otherwise false.

Callers 1

exportViewMethod · 0.45

Calls 1

columnCountMethod · 0.45

Tested by

no test coverage detected