30const QColor &
bg(
const QPalette &pal,
const QWidget* w);
31int contrast(
const QColor &a,
const QColor &b);
32QPalette::ColorRole
counterRole(QPalette::ColorRole role);
33bool counterRole(QPalette::ColorRole &from, QPalette::ColorRole &to,
34 QPalette::ColorRole defFrom = QPalette::WindowText,
35 QPalette::ColorRole defTo = QPalette::Window);
39QColor
mid(
const QColor &oc1,
const QColor &c2,
int w1 = 1,
int w2 = 1);
40int value(
const QColor &c);
QColor mid(const QColor &oc1, const QColor &c2, int w1=1, int w2=1)
int value(const QColor &c)
int contrast(const QColor &a, const QColor &b)
QPalette::ColorRole counterRole(QPalette::ColorRole role)
QColor light(const QColor &c, int value)
const QColor & bg(const QPalette &pal, const QWidget *w)
bool haveContrast(const QColor &a, const QColor &b)
QColor emphasize(const QColor &c, int value=10)