![]() |
Falkon Develop
Cross-platform Qt-based web browser
|
Functions | |
const QColor & | bg (const QPalette &pal, const QWidget *w) |
int | contrast (const QColor &a, const QColor &b) |
QPalette::ColorRole | counterRole (QPalette::ColorRole role) |
bool | counterRole (QPalette::ColorRole &from, QPalette::ColorRole &to, QPalette::ColorRole defFrom=QPalette::WindowText, QPalette::ColorRole defTo=QPalette::Window) |
QColor | emphasize (const QColor &c, int value=10) |
bool | haveContrast (const QColor &a, const QColor &b) |
QColor | light (const QColor &c, int value) |
QColor | mid (const QColor &oc1, const QColor &c2, int w1=1, int w2=1) |
int | value (const QColor &c) |
const QColor & Colors::bg | ( | const QPalette & | pal, |
const QWidget * | w | ||
) |
Definition at line 29 of file colors.cpp.
int Colors::contrast | ( | const QColor & | a, |
const QColor & | b | ||
) |
Definition at line 48 of file colors.cpp.
bool Colors::counterRole | ( | QPalette::ColorRole & | from, |
QPalette::ColorRole & | to, | ||
QPalette::ColorRole | defFrom = QPalette::WindowText , |
||
QPalette::ColorRole | defTo = QPalette::Window |
||
) |
Definition at line 93 of file colors.cpp.
QPalette::ColorRole Colors::counterRole | ( | QPalette::ColorRole | role | ) |
Definition at line 68 of file colors.cpp.
QColor Colors::emphasize | ( | const QColor & | c, |
int | value = 10 |
||
) |
Definition at line 130 of file colors.cpp.
bool Colors::haveContrast | ( | const QColor & | a, |
const QColor & | b | ||
) |
Definition at line 165 of file colors.cpp.
QColor Colors::light | ( | const QColor & | c, |
int | value | ||
) |
Definition at line 184 of file colors.cpp.
QColor Colors::mid | ( | const QColor & | oc1, |
const QColor & | c2, | ||
int | w1 = 1 , |
||
int | w2 = 1 |
||
) |
Definition at line 210 of file colors.cpp.
int Colors::value | ( | const QColor & | c | ) |
Definition at line 238 of file colors.cpp.