#include <wood.h>
Public Methods | |
NorwegianWoodStyle () | |
void | polish (QApplication *) |
void | polish (QWidget *) |
void | unPolish (QWidget *) |
void | unPolish (QApplication *) |
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 | drawControlMask (ControlElement element, QPainter *p, const QWidget *widget, const QRect &r, 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 |
void | drawComplexControlMask (ComplexControl control, QPainter *p, const QWidget *widget, const QRect &r, const QStyleOption &=QStyleOption::Default) const |
QRect | querySubControlMetrics (ComplexControl control, const QWidget *widget, SubControl sc, const QStyleOption &=QStyleOption::Default) const |
QRect | subRect (SubRect r, const QWidget *widget) const |
Private Methods | |
void | drawSemicircleButton (QPainter *p, const QRect &r, int dir, bool sunken, const QColorGroup &g) const |
Private Attributes | |
QPalette | oldPalette |
QPixmap * | sunkenDark |
QPixmap * | sunkenLight |
|
|
|
Reimplementation from QStyle Definition at line 788 of file wood.cpp. References button_xpm, i, oldPalette, polish_xpm, sunkenDark, and sunkenLight. |
|
Reimplementation from QStyle |
|
|
|
Definition at line 892 of file wood.cpp. References oldPalette. |
|
Definition at line 936 of file wood.cpp. References b, buttonthickness(), drawroundrect(), drawSemicircleButton(), p, PointDown, PointLeft, PointRight, PointUp, roundRectRegion(), sunkenDark, and sunkenLight. Referenced by drawComplexControl(), and drawControl(). |
|
Definition at line 1005 of file wood.cpp. References drawPrimitive(), drawroundrect(), and p. |
|
Definition at line 1116 of file wood.cpp. References drawroundrect(), and p. |
|
Definition at line 1137 of file wood.cpp. References drawPrimitive(), get_combo_parameters(), p, querySubControlMetrics(), and subRect(). |
|
Definition at line 1190 of file wood.cpp. References drawroundrect(), and p. |
|
Definition at line 1211 of file wood.cpp. References b, get_combo_extra_width(), and subRect(). Referenced by drawComplexControl(). |
|
Definition at line 1270 of file wood.cpp. References b, buttonthickness(), and get_combo_extra_width(). Referenced by drawComplexControl(), and querySubControlMetrics(). |
|
Definition at line 1377 of file wood.cpp. References b, p, PointDown, PointLeft, PointRight, and PointUp. Referenced by drawPrimitive(). |
|
|
|
Definition at line 96 of file wood.h. Referenced by drawPrimitive(), and polish(). |
|
Definition at line 97 of file wood.h. Referenced by drawPrimitive(), and polish(). |