qt5base-lts/tests/auto/widgets
Vyacheslav Grigoryev 558718ff44 QTableView: Fix selection for reordered or hidden rows/columns
The old code sometimes made incorrect selections when rows or columns were
hidden or moved. It used logical top left and bottom right indexes to create a
selection rectangle. However on moved or hidden cells a wrong rectangle was
made. This fix calculates a simple rectangle without hidden cells and makes use
of the row/column select functionality provided by the selection model, to make
the right selection.

[ChangeLog][QtWidgets][QTableView] Fixed a selection bug when rows or columns were hidden (QTBUG-50171)

Task-number: QTBUG-50171
Change-Id: Id186012af26da7b2051ff5eb1c13e6b7494cca77
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
2016-05-09 05:14:38 +00:00
..
dialogs QFileSystemModel: fix updating QFileInfo for a node after a file rename 2016-04-22 09:49:53 +00:00
effects Purge sRGB chunks from PNGs in tests. 2016-03-29 08:39:43 +00:00
gestures Autotest: Remove blacklistings 2016-04-01 05:41:21 +00:00
graphicsview Remove empty first lines of files. 2016-04-06 18:26:26 +00:00
itemviews QTableView: Fix selection for reordered or hidden rows/columns 2016-05-09 05:14:38 +00:00
kernel tst_QWidget: make it stable on OS X 2016-05-06 09:07:51 +00:00
styles Make sure QStyleOption is correctly initialized. 2016-04-05 20:32:26 +00:00
util Pass -silent to lrelease to avoid cruft in test logs. 2016-02-02 16:28:07 +00:00
widgets Fix scroll regression near scroll-view ends 2016-04-29 10:25:45 +00:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00