| 3637 | } |
| 3638 | |
| 3639 | void 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 . |
no test coverage detected