qt5base-lts/tests/auto/widgets/itemviews
Sona Kurazyan ffac899576 Fix the size calculation of QHeaderView when stylesheet is used
When calculating the header section size based on its contents when a
stylesheet is used, the size hints from the stylesheet are used. In case
if the stylesheet specifies only one of the sizes, the other is set to
-1. Because of this the actual content size is ignored.

The solution is to calculate the size based on the application style, in
case if it's not specified in the stylesheet.

Fixes: QTBUG-75615
Change-Id: I3453fa623d75b6b32832edf753de6e3e4e7f5a22
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
2019-10-14 10:17:07 +02:00
..
qabstractitemview Remove dead code from Qt 4 times 2019-08-20 22:27:46 +00:00
qcolumnview unblacklist passing tests 2019-07-08 11:01:42 +00:00
qdatawidgetmapper tests/auto/widgets: use QCOMPARE(., nullptr) 2016-11-30 07:24:47 +00:00
qdirmodel winrt: Make itemview auto tests pass 2018-06-22 05:02:44 +00:00
qfileiconprovider Updated license headers 2016-01-21 18:55:18 +00:00
qheaderview Fix the size calculation of QHeaderView when stylesheet is used 2019-10-14 10:17:07 +02:00
qitemdelegate Merge remote-tracking branch 'origin/5.13' into dev 2019-06-14 13:45:18 +02:00
qitemeditorfactory Updated license headers 2016-01-21 18:55:18 +00:00
qitemview Fix use of deprecated ItemDataRoles Background/TextColorRole 2018-11-05 21:58:37 +00:00
qlistview Finish deprecating obsolete members of QWheelEvent 2019-07-12 15:13:01 +02:00
qlistwidget Fix compilation with Qt 6 2019-05-06 20:04:45 +00:00
qtableview tst_QTableView: cleanup 2019-09-14 15:50:05 +02:00
qtablewidget tst_QTableWidget: cleanup 2019-09-10 13:36:30 +02:00
qtreeview tst_QTreeView: cleanup 2019-09-19 18:06:22 +02:00
qtreewidget tst_QTreeWidget: cleanup 2019-09-19 07:57:41 +02:00
qtreewidgetitemiterator tst_QTreeWidget: cleanup 2019-09-19 07:57:41 +02:00
itemviews.pro Remove references to obsolete platforms 2017-11-05 06:33:53 +00:00