16 enum ExtendedColorRoles {
17 Positive = QPalette::NColorRoles + 1,
24 const QBrush & brush(
unsigned int group,
unsigned int role)
const;
25 const QBrush & brush(
unsigned int role)
const;
26 const QBrush & brush(QePalette::ExtendedColorRoles role)
const;
27 const QBrush & brush(QPalette::ColorGroup group, QePalette::ExtendedColorRoles role)
const;
28 const QColor & color(
unsigned int group,
unsigned int role)
const;
29 const QColor & color(
unsigned int role)
const;
30 const QBrush & color(QePalette::ExtendedColorRoles role)
const;
31 const QBrush & color(QPalette::ColorGroup group, QePalette::ExtendedColorRoles role)
const;
32 void setBrush(
unsigned int role,
const QBrush &brush);
33 void setBrush(
unsigned int group,
unsigned int role,
const QBrush &brush);
34 void setColor(
unsigned int group,
unsigned int role,
const QColor &color);
35 void setColor(
unsigned int role,
const QColor &color);
36 const QBrush & positive()
const;
37 const QBrush & negative()
const;
38 const QBrush & neutral()
const;
39 const QBrush & extra1()
const;
40 const QBrush & extra2()
const;
41 void setIconTheme(
const QString &theme);
42 const QString & iconTheme()
const;
45 void setColorGroup(
unsigned int cg,
const QBrush &windowText,
const QBrush &button,
46 const QBrush &light,
const QBrush &dark,
const QBrush &mid,
47 const QBrush &text,
const QBrush &bright_text,
const QBrush &base,
48 const QBrush &window);
55 QColor mPositiveColor;
56 QColor mNegativeColor;