Auto-scroll while selecting entire rows/columns did not work
authorJan Arve Saether <jan-arve.saether@theqtcompany.com>
Thu, 23 Oct 2014 08:30:39 +0000 (10:30 +0200)
committerSimo Fält <simo.falt@theqtcompany.com>
Wed, 3 Dec 2014 09:16:36 +0000 (10:16 +0100)
commit020664da2db7086b81864a7f9658cf783b2ec83b
tree93809d334966116956fcb6b12be12dc8724844d9
parent5b99ee276c5f58fff23f257c1e2daf1bcae8f5b3
Auto-scroll while selecting entire rows/columns did not work

If you press and hold a section in a header view you can extend the
selection to more rows by moving the mouse. This worked fine until you
moved the mouse outside the geometry of the header view. The expected
behavior was then to scroll the view (this is what happens with extended
selections on regular table cells).

[ChangeLog][QtWidgets][QHeaderView] Auto-scroll the view when making
extended row/column selections.

Change-Id: Ic65aa34d370e74054b2123ab57edb1add0e8adb9
Task-number: QTBUG-21201
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
(cherry picked from qtbase/f9408317e70bc2e635a2f9baeff35d1c06227734)
src/gui/itemviews/qheaderview.cpp