Palette
使用 Palette 创建与所选样式(例如 fluent、cupertino、material 或 qt)
颜色匹配的自定义控件。
有关可用样式的详细信息,请参见 控件样式。
background
Section titled “background”brush(out)
定义默认背景画刷。如果更专门的 背景画刷均不适用,请使用此项。
foreground
Section titled “foreground”brush(out)
定义用于在 background 画刷上 显示内容的前景画刷。
alternate-background
Section titled “alternate-background”brush(out)
定义备用背景画刷,例如用于文本输入 控件或侧边栏等面板。
alternate-foreground
Section titled “alternate-foreground”brush(out)
定义用于在 alternate-background 画刷上 显示内容的前景画刷。
control-background
Section titled “control-background”brush(out)
定义控件的默认背景画刷,例如按钮、组合框 等。
control-foreground
Section titled “control-foreground”brush(out)
定义用于在 control-background 画刷上 显示内容的前景画刷。
accent-background
Section titled “accent-background”brush(out)
定义高亮控件(如主按钮)的背景画刷。
accent-foreground
Section titled “accent-foreground”brush(out)
定义用于在 accent-background 画刷上 显示内容的前景画刷。
selection-background
Section titled “selection-background”brush(out)
定义用于高亮选择(如文本选择)的 背景画刷。
selection-foreground
Section titled “selection-foreground”brush(out)
定义用于在 selection-background 画刷上 显示内容的前景画刷。
border
Section titled “border”brush(out)
定义用于边框的画刷,例如分隔线和 控件边框。
color-scheme
Section titled “color-scheme”enum ColorScheme(in-out)default: the first enum value
读取此属性以确定调色板所使用的配色方案。设置此 属性可强制使用深色或浅色配色方案。除 Qt 样式外, 所有样式都支持设置深色或浅色配色方案。
© 2026 SixtyFPS GmbH