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

Method firstSelectedColumn

src/frontend/spreadsheet/SpreadsheetView.cpp:1279–1286  ·  view source on GitHub ↗

! Return the index of the first selected column. If \param full is \c true, this function only looks for fully selected columns. */

Source from the content-addressed store, hash-verified

1277 If \param full is \c true, this function only looks for fully selected columns.
1278*/
1279int SpreadsheetView::firstSelectedColumn(bool full) const {
1280 const int cols = m_spreadsheet->columnCount();
1281 for (int i = 0; i < cols; i++) {
1282 if (isColumnSelected(i, full))
1283 return i;
1284 }
1285 return -1;
1286}
1287
1288/*!
1289 Return the index of the last selected column.

Callers 5

exportToLaTeXMethod · 0.45
findNextSimpleMethod · 0.45
findPreviousSimpleMethod · 0.45
findNextMethod · 0.45
findPreviousMethod · 0.45

Calls 1

columnCountMethod · 0.45

Tested by

no test coverage detected