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

Method selectAll

src/frontend/spreadsheet/SpreadsheetView.cpp:3639–3644  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3637}
3638
3639void SpreadsheetView::selectAll() {
3640 // HACK: m_tableView->selectAll() doesn't work for some reasons anymore, we need to create the selection manually
3641 QItemSelection itemSelection;
3642 itemSelection.select(m_model->index(0, 0), m_model->index(m_model->rowCount() - 1, m_model->columnCount() - 1));
3643 m_tableView->selectionModel()->select(itemSelection, QItemSelectionModel::Select);
3644}
3645
3646/*!
3647 selects the column \c column in the speadsheet view .

Callers 15

eventFilterMethod · 0.45
LabelWidget.cppFile · 0.45
textChangedMethod · 0.45
labelFontColorChangedMethod · 0.45
loadMethod · 0.45
updateModeMethod · 0.45
noteTextColorChangedMethod · 0.45
loadGraphLayerMethod · 0.45
loadAxisMethod · 0.45
setTextMethod · 0.45
setFontMethod · 0.45

Calls 4

selectionModelMethod · 0.80
indexMethod · 0.45
rowCountMethod · 0.45
columnCountMethod · 0.45

Tested by

no test coverage detected