#include <metal.h>
Public Methods | |
MetalStyle () | |
void | polish (QApplication *) |
void | unPolish (QApplication *) |
void | polish (QWidget *) |
void | unPolish (QWidget *) |
void | drawPrimitive (PrimitiveElement pe, QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags=Style_Default, const QStyleOption &=QStyleOption::Default) const |
void | drawControl (ControlElement element, QPainter *p, const QWidget *widget, const QRect &r, const QColorGroup &cg, SFlags how=Style_Default, const QStyleOption &=QStyleOption::Default) const |
void | drawComplexControl (ComplexControl cc, QPainter *p, const QWidget *widget, const QRect &r, const QColorGroup &cg, SFlags how=Style_Default, SCFlags sub=SC_All, SCFlags subActive=SC_None, const QStyleOption &=QStyleOption::Default) const |
int | pixelMetric (PixelMetric, const QWidget *) const |
Private Methods | |
void | drawMetalFrame (QPainter *p, int x, int y, int w, int h) const |
void | drawMetalGradient (QPainter *p, int x, int y, int w, int h, bool sunken, bool horz, bool flat=FALSE) const |
void | drawMetalButton (QPainter *p, int x, int y, int w, int h, bool sunken, bool horz, bool flat=FALSE) const |
Private Attributes | |
QPalette | oldPalette |
|
|
|
Reimplementation from QStyle Definition at line 60 of file metal.cpp. References oldPalette. |
|
Reimplementation from QStyle Definition at line 120 of file metal.cpp. References oldPalette. |
|
Reimplementation from QStyle |
|
|
|
Definition at line 165 of file metal.cpp. References drawMetalButton(), drawMetalFrame(), and p. Referenced by drawComplexControl(), and drawControl(). |
|
Definition at line 209 of file metal.cpp. References drawPrimitive(), and p. |
|
Definition at line 312 of file metal.cpp. References drawMetalButton(), drawPrimitive(), and p. |
|
|
|
Definition at line 379 of file metal.cpp. References p. Referenced by drawMetalButton(), and drawPrimitive(). |
|
Definition at line 411 of file metal.cpp. Referenced by drawMetalButton(). |
|
Draw a metallic button, sunken if sunken is TRUE, horizontal if /a horz is TRUE. Definition at line 368 of file metal.cpp. References drawMetalFrame(), drawMetalGradient(), and p. Referenced by drawComplexControl(), and drawPrimitive(). |
|
|