############################################################################## #################################### SLOTs ################################ ############################################################################## ! Advance current cell after [Return] or [Enter] was pressed */
| 574 | Advance current cell after [Return] or [Enter] was pressed |
| 575 | */ |
| 576 | void 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 | |
| 582 | void MatrixView::goToCell() { |
| 583 | bool ok; |
nothing calls this directly
no test coverage detected