diff options
author | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-08-21 13:08:59 +0200 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@qt.io> | 2018-08-27 11:48:29 +0000 |
commit | 267eb009ee77dd52a3764a87594f4a7385f26b4f (patch) | |
tree | 2263e893ef60331e4afc026f02f246b3fe497383 /examples | |
parent | 4dc3582a1ee332bf8b577bb974f29e7692df85e9 (diff) |
QQuickTableView: handle RebuildOption::ViewportOnly
When rebuildOptions have ViewportOnly set, we now let the top-left
item be the same as before (and at the same position as before), and
start rebuilding from there. This will greatly increase performance
if e.g the table has been flicked far down to row 1000 when the
rebuild needs to happen (e.g because the model got a new row).
Change-Id: I30beb34a7beccedff8dc406f9a524119a2893eb3
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'examples')
0 files changed, 0 insertions, 0 deletions