45 WindowText = QPalette::WindowText,
46 Button = QPalette::Button,
47 Light = QPalette::Light,
48 Midlight = QPalette::Midlight,
49 Dark = QPalette::Dark,
51 Text = QPalette::Text,
52 BrightText = QPalette::BrightText,
53 ButtonText = QPalette::ButtonText,
54 Base = QPalette::Base,
56 Shadow = QPalette::Shadow,
57 Highlight = QPalette::Highlight,
58 HighlightedText = QPalette::HighlightedText,
59 Link = QPalette::Link,
60 LinkVisited = QPalette::LinkVisited,
61 AlternateBase = QPalette::AlternateBase,
62 NoRole = QPalette::NoRole,
63 ToolTipBase = QPalette::ToolTipBase,
64 ToolTipText = QPalette::ToolTipText,
65 NColorRoles = QPalette::NColorRoles,
66 BorderTop = NColorRoles,
109 void fromApplication(
bool =
false );
110 void fromResources(
QtxResourceMgr*,
const QString& = QString() );
117 QString resourceSection()
const;
120 QColor
color( ColorRole, QPalette::ColorGroup = QPalette::Active )
const;
121 void setColor( ColorRole,
const QColor&,
const QColor& = QColor(),
const QColor& = QColor() );
122 void setColor( ColorRole, QPalette::ColorGroup,
const QColor& );
124 bool isAutoPalette()
const;
125 void setAutoPalette(
bool );
130 int linesTransparency()
const;
131 void setLinesTransparency(
int );
133 QFont applicationFont()
const;
134 void setApplicationFont(
const QFont& );
136 double widgetRounding( WidgetRounding )
const;
137 void setWidgetRounding( WidgetRounding,
double );
139 bool antialiasing()
const;
140 void setAntialiasing(
bool );
142 WidgetEffect widgetEffect()
const;
143 void setWidgetEffect( WidgetEffect );
148 int splitHandleLength()
const;
149 void setSplitHandleLength(
int );
151 int sliderSize()
const;
152 void setSliderSize(
int );
156 void readColorValue( ColorRole,
const QString& );
157 void writeColorValue( ColorRole,
const QString&,
QtxResourceMgr*,
const QString& )
const;
189 #endif // STYLE_MODEL_H