ColorizedStyle Class
ColorizedStyle class provides the base settings that can be used to customize application with the navigation ui. More...
Header: | #include <ColorizedStyle> |
Inherits: | CommonStyle |
Public Types
enum | Theme { Light, Dark, Blue, LightBlue, Red, Custom } |
Properties
- theme : Theme
Public Functions
ColorizedStyle() | |
void | setTheme(ColorizedStyle::Theme theme) |
ColorizedStyle::Theme | theme() const |
Detailed Description
Member Type Documentation
enum ColorizedStyle::Theme
The enumerator describes the set of the predefined color themes.
Constant | Value | Description |
---|---|---|
ColorizedStyle::Light | 0 | Simple light colored theme. |
ColorizedStyle::Dark | 1 | Simple dark colored theme. |
ColorizedStyle::Blue | 2 | Blue color theme. |
ColorizedStyle::LightBlue | 3 | Light blue color theme. |
ColorizedStyle::Red | 4 | Red color theme. |
ColorizedStyle::Custom | 5 | Indicates that some of the colour was changed by the user. |
Property Documentation
theme : Theme
Sets the colour theme of the fluent style.
Access functions:
ColorizedStyle::Theme | theme() const |
void | setTheme(ColorizedStyle::Theme theme) |
See also ColorizedStyle::Theme.
Member Function Documentation
ColorizedStyle::ColorizedStyle()
Constructor of the class ColorizedStyle. To create the style class, use:
ColorizedStyle* style = new ColorizedStyle(); style->setTheme(ColorizedStyle::Red); qApp->setStyle(style);