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

Method selectedColumnCount

src/frontend/spreadsheet/SpreadsheetView.cpp:1200–1207  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1198 If \c full is \c true, this function only returns the number of fully selected columns.
1199*/
1200int SpreadsheetView::selectedColumnCount(bool full) const {
1201 int count = 0;
1202 const int cols = m_spreadsheet->columnCount();
1203 for (int i = 0; i < cols; i++)
1204 if (isColumnSelected(i, full))
1205 count++;
1206 return count;
1207}
1208
1209int SpreadsheetView::selectedRowCount(bool full) const {
1210 if (full)

Callers 1

exportToLaTeXMethod · 0.45

Calls 3

columnCountMethod · 0.45
plotDesignationMethod · 0.45
columnMethod · 0.45

Tested by

no test coverage detected