Qt,Qt5,Qt6: implemented themed draw of tabbar base.

(cherry picked from commit ad73bdff39)

Co-authored-by: Željan Rikalo <zeljko@lazarus-ide.org>
This commit is contained in:
Željan Rikalo 2024-11-19 19:57:23 +00:00 committed by Željan Rikalo
parent aefb11e0b2
commit 0c5d55e65d
3 changed files with 12 additions and 0 deletions

View File

@ -432,6 +432,10 @@ begin
opt := QStyleOptionTabWidgetFrame_create();
// need widget to draw gradient
end;
QStylePE_FrameTabBarBase:
begin
opt := QStyleOptionTabBarBase_Create();
end;
QStylePE_FrameFocusRect:
begin
opt := QStyleOptionFocusRect_create();

View File

@ -435,6 +435,10 @@ begin
opt := QStyleOptionTabWidgetFrame_create();
// need widget to draw gradient
end;
QStylePE_FrameTabBarBase:
begin
opt := QStyleOptionTabBarBase_Create();
end;
QStylePE_FrameFocusRect:
begin
opt := QStyleOptionFocusRect_create();

View File

@ -439,6 +439,10 @@ begin
opt := QStyleOptionTabWidgetFrame_create();
// need widget to draw gradient
end;
QStylePE_FrameTabBarBase:
begin
opt := QStyleOptionTabBarBase_Create();
end;
QStylePE_FrameFocusRect:
begin
opt := QStyleOptionFocusRect_create();