summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2021-10-11 16:18:35 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2021-10-12 09:07:54 +0200
commit826765f654e43034929ff6fbc975ab0ab5d6922a (patch)
tree3c5bec62d9e46fba9fa4b8fa45c67a281b59170e /src/network
parent9a772306854bf0ca2f0c16699744136530656f43 (diff)
Select a single range of cells in QTableView, away from merged cells
- when there is no intersection between the current selection and the spans collection, get ranges for all cells, just as if no span exists - when there is an intersection between the current selection and the spans collection, get separate ranges for each cell (as before) This fixes the regular case of selecting multiple non-spanned cells after some cells are merged (get a single range for all cells instead of separate range for each cell). However, when selecting together a group of spanned and non-spanned cells, you still get a separate range for each cell. But this is normal behavior in similar applications; for example in LibreOffice, you cannot select and merge spanned and non-spanned cells: an error dialog tells you that it's not allowed. Done-with: Christos Kokkinidis Pick-to: 6.2 Fixes: QTBUG-255 Change-Id: Ic38f9a064a1f499825e7f750668013fc2dc564ba Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'src/network')
0 files changed, 0 insertions, 0 deletions