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

Method advanceCell

src/frontend/matrix/MatrixView.cpp:576–580  ·  view source on GitHub ↗

############################################################################## #################################### SLOTs ################################ ############################################################################## ! Advance current cell after [Return] or [Enter] was pressed */

Source from the content-addressed store, hash-verified

574 Advance current cell after [Return] or [Enter] was pressed
575*/
576void MatrixView::advanceCell() {
577 const auto& idx = m_tableView->currentIndex();
578 if (idx.row() + 1 < m_matrix->rowCount())
579 m_tableView->setCurrentIndex(idx.sibling(idx.row() + 1, idx.column()));
580}
581
582void MatrixView::goToCell() {
583 bool ok;

Callers

nothing calls this directly

Calls 5

currentIndexMethod · 0.45
rowMethod · 0.45
rowCountMethod · 0.45
setCurrentIndexMethod · 0.45
columnMethod · 0.45

Tested by

no test coverage detected