Skip to content

[spreadsheet] multiple minor fixes in the handling of selected columns in SpreadsheetView:

Alexander Semke requested to merge work/spreadsheet-selected-columns into master
  • removed the usage of default QModelIndex() parameters in some of the calls in QItemSelectionModel.
  • in case the context menu is called by clicking one of the spreadsheet cells and the column underneath is fully selected, show the column specific column and not the global spreadsheet column. This fixes #406 (closed).
  • reduced the number of selectedColumns() calls in the event filter.
  • changed the default value of the parameter "full" in selectedColumns() to true - this function is mostly called without this parameter and the default value is applied and in most of the cases this function is called when columns are fully selected. In such cases we should benefit from the faster QItemSelectionModel::isColumnSelected() used internally.

fix #406 (closed)

Merge request reports

Loading