|
| static bool | sameColor (const QColor &a, const QColor &b) |
◆ forMode()
| QColor ThemeColorPair::forMode |
( |
bool | isDarkMode | ) |
const |
|
inline |
The color for a mode: dark when isDarkMode, else light.
◆ isValid()
| bool ThemeColorPair::isValid |
( |
| ) |
const |
|
inline |
True when both the light and the dark side are valid colors.
◆ sameColor()
| bool ThemeColorPair::sameColor |
( |
const QColor & | a, |
|
|
const QColor & | b ) |
|
inlinestatic |
True when both colors are valid, or both are invalid, and valid ones have the same RGBA.
◆ setForMode()
| void ThemeColorPair::setForMode |
( |
bool | isDarkMode, |
|
|
const QColor & | color ) |
|
inline |
Sets the color for a mode: dark when isDarkMode, else light.
The documentation for this struct was generated from the following file: