4
#include <qwindowsstyle.h>
7
//---------------------------------------------------------
9
//---------------------------------------------------------
11
class MuseStyle : public QWindowsStyle
15
void drawMetalFrame( QPainter *p, int x, int y, int w, int h ) const;
16
void drawMetalGradient( QPainter *p, int x, int y, int w, int h,
17
bool sunken, bool horz, bool flat=FALSE ) const;
18
void drawMetalButton( QPainter *p, int x, int y, int w, int h,
19
bool sunken, bool horz, bool flat=FALSE ) const;
23
void polish( QApplication*);
24
void unPolish( QApplication*);
25
void polish( QWidget* );
26
void unPolish( QWidget* );
28
void drawPrimitive(PrimitiveElement pe,
29
QPainter *p, const QRect &r, const QColorGroup &cg,
30
SFlags flags = Style_Default,
31
const QStyleOption& = QStyleOption::Default) const;
33
void drawControl(ControlElement element,
35
const QWidget *widget,
37
const QColorGroup &cg,
38
SFlags how = Style_Default,
39
const QStyleOption& = QStyleOption::Default ) const;
41
void drawComplexControl( ComplexControl cc,
43
const QWidget *widget,
45
const QColorGroup &cg,
46
SFlags how = Style_Default,
48
SCFlags subActive = SC_None,
49
const QStyleOption& = QStyleOption::Default ) const;
50
int pixelMetric( PixelMetric, const QWidget * ) const;