qt5base-lts/tests/auto/widgets/itemviews
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
..
qabstractitemview QAbstractItemView test: check that the selection model is in sync with the view 2016-03-23 22:10:07 +00:00
qcolumnview tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
qdatawidgetmapper Update copyright headers 2015-02-11 06:49:51 +00:00
qdirmodel fix usage of wince scope 2015-06-05 10:29:10 +00:00
qfileiconprovider QFileIconEngine: Remove reference to QFileIconProvider 2015-06-30 12:27:04 +00:00
qheaderview QHeaderView: fixing selection of reordered rows and columns 2016-04-21 21:13:38 +00:00
qitemdelegate tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
qitemeditorfactory Update copyright headers 2015-02-11 06:49:51 +00:00
qitemview tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
qlistview QListView: fix skipping indexes in selectedIndexes(). 2016-02-17 04:53:16 +00:00
qlistwidget tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
qtableview QTableView: Fix selection for reordered or hidden rows/columns 2016-05-09 05:14:38 +00:00
qtablewidget Fix selected items after sorting in QTableWidget 2015-10-07 18:19:57 +00:00
qtreeview Blacklist tst_QTreeView::setSortingEnabledChild() on Windows. 2016-02-24 08:20:11 +00:00
qtreewidget Tests: Harmonize code checking on platform name. 2015-09-24 07:49:30 +00:00
qtreewidgetitemiterator tests/auto/widgets: Replace Q[TRY]_VERIFY(a == b) by Q[TRY]_COMPARE(a, b). 2015-07-31 11:50:10 +00:00
itemviews.pro Move QStandardItem/QStandardItemModel to QtGui 2012-06-29 22:42:19 +02:00