| 1097 | } |
| 1098 | |
| 1099 | void SpreadsheetView::handleHorizontalSectionResized(int logicalIndex, int /* oldSize */, int newSize) { |
| 1100 | // save the new size in the column |
| 1101 | Column* col = m_spreadsheet->child<Column>(logicalIndex); |
| 1102 | col->setWidth(newSize); |
| 1103 | |
| 1104 | if (m_frozenTableView && logicalIndex == 0) { |
| 1105 | m_frozenTableView->setColumnWidth(0, newSize); |
| 1106 | updateFrozenTableGeometry(); |
| 1107 | } |
| 1108 | } |
| 1109 | |
| 1110 | void SpreadsheetView::goToCell(int row, int col) { |
| 1111 | QModelIndex index = m_model->index(row, col); |
nothing calls this directly
no test coverage detected