qt5base-lts/src/widgets
Thorbjørn Martsum f633bc7f7f QHeaderView - reduce memory usage
Though the worst case memory usage was improved in
b800d8b94a the best case usage changed.

Since best case is the same as worst case in Qt5, we should
use as little as possible, which this patch ensures.

We reduce the memory usage from 3 to 2 ints per section - which is
half of worst case in Qt4. There seems to be no bigger cost in
performance doing that. The recalcSectionStartPos is still very fast.

This patch limits the maximum section size to (2^20) ~ 1.000.000 pixels.

This alleviates
Task-number: QTBUG-32325

Change-Id: I9b7530030a31b4e35cf1ca9e32c6b936f5ea9790
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
2013-08-16 05:34:18 +02:00
..
accessible Accessibility: Fix crash when updating in dtor 2013-03-23 14:42:45 +01:00
dialogs Add QUrl based API to QFileDialog 2013-07-18 17:07:22 +02:00
doc Doc: Setting module pages' \qtvariable. 2013-08-02 13:35:45 +02:00
effects Fix dropshadow and blur graphics effects. 2013-07-02 11:05:18 +02:00
graphicsview Merge remote-tracking branch 'origin/stable' into dev 2013-07-23 11:18:11 +02:00
itemviews QHeaderView - reduce memory usage 2013-08-16 05:34:18 +02:00
kernel Introduce QWheelEvent::Phase (Begin, Changed, Ended) 2013-08-08 15:09:40 +02:00
statemachine Fix license headers stating QtGui for QtWidgets files. 2013-03-19 23:17:27 +01:00
styles Added SH_Widget_Animate in QStyle 2013-08-02 10:44:39 +02:00
util Move the X11 system tray code from widgets into XCB-plugin. 2013-07-30 15:08:31 +02:00
widgets Replace QWheelEvent::Phase with revised Qt::ScrollPhase 2013-08-15 10:02:36 +02:00
Qt5WidgetsConfigExtras.cmake.in Check that files we expect to find actually exist when using a cmake package. 2013-05-20 15:20:26 +02: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