qt5base-lts/tests/manual/widgets
Andy Shaw 24b8b2cb6c Stylesheet: Handle tabs with elide mode set correctly
In order for SE_TabBarTabText to correctly calculate the space available
for the text it needs to get the rectangle of the tab directly instead
of relying on the option's rectangle as this may have been modified
before this point. Therefore we introduce QStyleOptionTabV4 to be able
to store the index as part of the option so it can be queried directly.

[ChangeLog][QtWidgets] Added QStyleOptionTabV4 as a subclass of
QStyleOptionTab so that the tab's index information can be obtained.

Fixes: QTBUG-50637
Change-Id: If705f5069fdd14eeccf06bc63dba4e8d2e704359
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
2020-01-06 09:37:34 +01:00
..
itemviews New proxy model: QConcatenateTablesProxyModel 2018-09-09 10:13:06 +00:00
kernel Updated license headers 2016-01-21 18:55:18 +00:00
qgraphicsview Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
styles Add cmdline feature to qmake 2019-02-18 07:12:14 +00:00
widgets Stylesheet: Handle tabs with elide mode set correctly 2020-01-06 09:37:34 +01:00
widgets.pro Introducing multiscreen-menus manual test 2017-05-03 08:35:49 +00:00