|Home | Tutorial | Classes | Functions | QSA Workbench | Language | Qt API | QSA Articles | Qt Script for Applications |

[Prev: Color] [Home] [Next: ColorGroup]

#### Palette

The `Palette` class contains color groups for each widget state. A palette consists of three color groups: active, disabled, and inactive. All widgets contain a palette, and all widgets in Qt use their palette to draw themselves. This makes the user interface easily configurable and easier to keep consistent.

##### Palette Properties

- active : ColorGroup; The active color group is used for the window that has the keyboard focus.

- inactive : ColorGroup; The inactive color group is used for the other windows.

- disabled : ColorGroup; The disabled color group is used for widgets (not windows) that are disabled.

[Prev: Color] [Home] [Next: ColorGroup]