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

Method isColumnSelected

src/frontend/spreadsheet/SpreadsheetView.cpp:1237–1242  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1235 If \param full is \c true, this function only returns true if the whole column is selected.
1236*/
1237bool SpreadsheetView::isColumnSelected(int col, bool full) const {
1238 if (full)
1239 return m_tableView->selectionModel()->isColumnSelected(col);
1240 else
1241 return m_tableView->selectionModel()->columnIntersectsSelection(col);
1242}
1243
1244/*!
1245 Returns all selected columns.

Callers 2

reverseSelectionMethod · 0.45
selectionChangedMethod · 0.45

Calls 1

selectionModelMethod · 0.80

Tested by

no test coverage detected