Qt Color Palette
But as i said i strongly suggest not to use the palette and go for qt style sheet.
Qt color palette. All widgets in qt contain a palette and use their palette to draw themselves. If you subclass a custom widget from qwidget then in order to use the stylesheets you need to provide a paintevent to the custom widget. A palette consists of three color groups. Active disabled and inactive.
Qpalette palette ui plabel palette. Bellow you can find our recommended color palette textured backgrounds and the fonts that will ensure consistency between your apps gui and the other many example apps guis published in the qt website. A palette consists of three color groups. Bonjour a tous voici mon petit probleme.
You can find the tableau magic color palette generator here. The qpalette class contains color groups for each widget state. Active disabled and inactive. We recommend that widgets use color group roles from the palette such as foreground and base rather than literal colors like red or turquoise.
A color group contains a group of colors used by widgets for drawing themselves. This makes the user interface easily configurable and easier to keep consistent. Both ways to change the background color of qwidget have been successfully built using qt sdk 11 and tested on symbian devices. All widgets in qt contain a palette and use their palette to draw themselves.