| 1122 | } |
| 1123 | |
| 1124 | void SpreadsheetView::handleHorizontalSectionMoved(int index, int from, int to) { |
| 1125 | static bool inside = false; |
| 1126 | if (inside) |
| 1127 | return; |
| 1128 | |
| 1129 | Q_ASSERT(index == from); |
| 1130 | |
| 1131 | inside = true; |
| 1132 | m_tableView->horizontalHeader()->moveSection(to, from); |
| 1133 | inside = false; |
| 1134 | m_spreadsheet->moveColumn(from, to); |
| 1135 | } |
| 1136 | |
| 1137 | // TODO Implement the "change of the column name"-mode upon a double click |
| 1138 | void SpreadsheetView::handleHorizontalHeaderDoubleClicked(int /*index*/) { |
nothing calls this directly
no test coverage detected