! Returns \c true if column \param col is selected, otherwise returns \c false. If \param full is \c true, this function only returns true if the whole column is selected. */
| 1235 | If \param full is \c true, this function only returns true if the whole column is selected. |
| 1236 | */ |
| 1237 | bool SpreadsheetView::isColumnSelected(int col, bool full) const { |
| 1238 | if (full) |
| 1239 | return m_tableView->selectionModel()->isColumnSelected(col); |
| 1240 | else |
| 1241 | return m_tableView->selectionModel()->columnIntersectsSelection(col); |
| 1242 | } |
| 1243 | |
| 1244 | /*! |
| 1245 | Returns all selected columns. |
no test coverage detected