qt5base-lts/tests/auto
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
..
android Fix typo in test results report for android 2015-07-28 21:16:19 +00:00
bic/data bic: Add 5.{1,2,3,4}.0 bic data for linux-gcc-amd64 2015-02-14 06:54:20 +00:00
cmake Enable cmake auto tests for -no-gui 2016-03-30 07:16:50 +00:00
compilerwarnings/data Fixed license headers 2015-02-17 18:46:09 +00:00
concurrent Tests: Replace Q[TRY]_VERIFY(v == true|false) by QVERIFY(v)|QVERIFY(!v). 2015-07-27 12:09:19 +00:00
corelib Fix Clang -Wexpansion-to-defined warning by deprecating QT_SUPPORTS 2016-05-08 04:25:27 +00:00
dbus QtDBus: finish all pending call with error if disconnected 2016-04-28 05:38:10 +00:00
gui tst_QKeyEvent::modifiers(): Ensure test data row names are pure ASCII. 2016-05-04 13:06:37 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network tst_qudpsocket - remove insignificant 2016-05-06 11:59:03 +00:00
opengl Autotest: Remove blacklistings 2016-04-01 05:41:21 +00:00
other tst_compiler: Expand the attribute test 2016-04-28 02:45:49 +00:00
printsupport QMacPrintEngine: Really set the printer resolution 2016-02-25 18:42:47 +00:00
shared Update copyright headers 2015-02-11 06:49:51 +00:00
sql tst_QSqlQuery: fix UBs (invalid downcasts, member calls) 2016-03-15 10:39:20 +00:00
testlib QTest: Fix printing of values of Q_ENUMs 2016-05-08 08:57:16 +00:00
tools moc: bail out early on missing or invalid options file 2016-03-31 08:57:39 +00:00
widgets QTableView: Fix selection for reordered or hidden rows/columns 2016-05-09 05:14:38 +00:00
xml Fix QDomNamedNodeMap::item crash with negative index 2015-10-29 08:05:45 +00:00
auto.pro Enable cmake auto tests for -no-gui 2016-03-30 07:16:50 +00:00
network-settings.h tst_QTcpSocket, tst_QUdpSocket: Improve diagnostics. 2016-05-02 19:20:33 +00:00
qtest-config.h Update copyright headers 2015-02-11 06:49:51 +00:00
test.pl Update copyright headers 2015-02-11 06:49:51 +00:00