summaryrefslogtreecommitdiffstats
path: root/sync.profile
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@qt.io>2020-01-03 13:39:04 +0100
committerAndy Shaw <andy.shaw@qt.io>2020-01-06 09:37:34 +0100
commit24b8b2cb6ccd3704545ef44519f567edb3da5d5d (patch)
tree29fc4c5b642514a76d6c229a15b9afc7c0a61898 /sync.profile
parentaa542be4e005b1feedc2e17fd6ca2387bf2fea1b (diff)
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>
Diffstat (limited to 'sync.profile')
0 files changed, 0 insertions, 0 deletions