palette QML Basic Type
Available properties:
Property | Description |
---|---|
palette.alternateBase : color | Used as the alternate background color in item views with alternating row colors. |
palette.base : color | Used mostly as the background color for text editor controls and items views. It is usually white or another light color. |
palette.brightText : color | A text color that is very different from palette.windowText , and contrasts well with e.g. palette.dark . Typically used for text that needs to be drawn where palette.text , palette.windowText or palette.buttonText would give poor contrast, such as on highlighted buttons. |
palette.button : color | The general button background color. This background can be different from palette.window as some styles require a different background color for buttons. |
palette.buttonText : color | A foreground color used with the palette.button color. |
palette.dark : color | Darker than palette.button . |
palette.highlight : color | A color to indicate a selected item or the current item. |
palette.highlightedText : color | A text color that contrasts with palette.highlight . |
palette.light : color | Lighter than palette.button . |
palette.link : color | A text color used for hyperlinks. |
palette.linkVisited : color | A text color used for already visited hyperlinks. |
palette.mid : color | Between palette.button and palette.dark . |
palette.midlight : color | Between palette.button and palette.light . |
palette.shadow : color | A very dark color. |
palette.text : color | The foreground color used with palette.base . This is usually the same as the palette.windowText , in which case it must provide good contrast with palette.window and palette.base . |
palette.toolTipBase : color | Used as the background color for tooltips. |
palette.toolTipText : color | Used as the foreground color for tooltips. |
palette.window : color | A general background color. |
palette.windowText : color | A general foreground color. |
See also Control::palette, Popup::palette, ApplicationWindow::palette, and QPalette::ColorRole.