qt5base-lts/tests/auto/widgets
Alexander Volkov 53022e04bb Make the defaultSectionSize property of QHeaderView style dependent
Add new enum items PM_HeaderDefaultSectionSizeHorizontal and
PM_HeaderDefaultSectionSizeVertical to QStyle and get corresponding
values in QHeaderView. This way we get rid of some magic constants in
QHeaderView and we can have reasonable values for the default section
size for high-DPI displays.

[ChangeLog][QtWidgets][QHeaderView] Default section size is now style-dependent by default.

[ChangeLog][QtWidgets][QHeaderView] Added resetDefaultSectionSize().

Change-Id: I44e152c5cf0bec1e5d78e1e62f47a2d1f761dfbf
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
2014-12-11 10:26:41 +01:00
..
dialogs Enable tst_qfiledialog2 on OSX 2014-11-19 16:13:25 +01:00
effects Update license headers and add new license files 2014-09-24 12:26:19 +02:00
gestures QPanGestureRecognizer: Make the number of touch points a parameter. 2014-11-17 14:38:15 +01:00
graphicsview Fixed a bug where spans did not always work in layouts. 2014-12-09 16:58:58 +01:00
itemviews Make the defaultSectionSize property of QHeaderView style dependent 2014-12-11 10:26:41 +01:00
kernel Merge remote-tracking branch 'origin/5.4' into dev 2014-12-10 07:58:06 +01:00
styles Update license headers and add new license files 2014-09-24 12:26:19 +02:00
util Update license headers and add new license files 2014-09-24 12:26:19 +02:00
widgets Merge remote-tracking branch 'origin/5.4' into dev 2014-12-10 07:58:06 +01:00
widgets.pro Add autotest for QGestureRecognizer. 2014-10-23 21:11:28 +02:00