qt5base-lts/src/widgets
Thorbjørn Martsum 03c5eacfbb resizeToContents - QTableView - faster hint when view is hidden
In some situations we can get into resizeSections in a hidden
QHeaderView. If the headerView is hidden then we look at all the
rows, and that can be extemely expensive for a large model.

This patch limits the sizeHint with only looking at a maximum
1000 rows. Though this is more inaccurate it is also faster -
and it is not much different from what QTreeView does.

Change-Id: Ief4b54c5a3c5a0db02e8b595c9b9b3162633ee67
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2013-05-09 06:44:54 +02:00
..
accessible Accessibility: Fix crash when updating in dtor 2013-03-23 14:42:45 +01:00
dialogs Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev 2013-04-30 09:33:19 +02:00
doc Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
effects Fix license headers stating QtGui for QtWidgets files. 2013-03-19 23:17:27 +01:00
graphicsview Fixed a bug where the MaximumSizeHint of a layout with spans was wrong 2013-04-04 14:23:04 +02:00
itemviews resizeToContents - QTableView - faster hint when view is hidden 2013-05-09 06:44:54 +02:00
kernel Prevent crash due to giving QWidget::update() a large rect. 2013-04-29 08:09:24 +02:00
statemachine Fix license headers stating QtGui for QtWidgets files. 2013-03-19 23:17:27 +01:00
styles Mac style: Fix text offset within 'small' combobox 2013-04-30 12:45:30 +02:00
util Fix license headers stating QtGui for QtWidgets files. 2013-03-19 23:17:27 +01:00
widgets Set the base used to display the spin box value 2013-05-07 18:40:43 +02:00
Qt5WidgetsConfigExtras.cmake.in Don't calculate the install prefix again in the extra cmake files. 2013-02-13 01:14:42 +01:00
Qt5WidgetsMacros.cmake Create IMPORTED CMake targets for executables. 2012-07-25 13:59:15 +02:00
QtWidgets.dynlist Update dynlist file for QtWidgets 2013-03-18 17:11:03 +01:00
widgets.pro Enable bundling Qt in Android package in build system 2013-05-01 11:24:15 +02:00