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

Method goToCell

src/frontend/spreadsheet/SpreadsheetView.cpp:1110–1114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1108}
1109
1110void SpreadsheetView::goToCell(int row, int col) {
1111 QModelIndex index = m_model->index(row, col);
1112 m_tableView->scrollTo(index);
1113 m_tableView->setCurrentIndex(index);
1114}
1115
1116void SpreadsheetView::selectCell(int row, int col) {
1117 m_tableView->selectionModel()->select(m_model->index(row, col), QItemSelectionModel::Select);

Callers 4

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

Calls 7

execMethod · 0.80
indexMethod · 0.45
setCurrentIndexMethod · 0.45
rowMethod · 0.45
rowCountMethod · 0.45
columnMethod · 0.45
columnCountMethod · 0.45

Tested by

no test coverage detected