|
Public Member Functions |
| | PlastikStyle () |
| virtual | ~PlastikStyle () |
| bool | inheritsKHTML (const QWidget *widget) const |
| void | polish (QApplication *app) |
| void | polish (QWidget *widget) |
| void | unPolish (QWidget *widget) |
| void | drawKStylePrimitive (KStylePrimitive kpe, QPainter *p, const QWidget *widget, const QRect &r, const QColorGroup &cg, SFlags flags=Style_Default, const QStyleOption &=QStyleOption::Default) const |
| void | drawPrimitive (PrimitiveElement pe, QPainter *p, const QRect &r, const QColorGroup &cg, SFlags flags=Style_Default, const QStyleOption &opt=QStyleOption::Default) const |
| void | drawControl (ControlElement element, QPainter *p, const QWidget *widget, const QRect &r, const QColorGroup &cg, SFlags flags=Style_Default, const QStyleOption &=QStyleOption::Default) const |
| void | drawControlMask (ControlElement, QPainter *, const QWidget *, const QRect &, const QStyleOption &) const |
| void | drawComplexControl (ComplexControl control, QPainter *p, const QWidget *widget, const QRect &r, const QColorGroup &cg, SFlags flags=Style_Default, SCFlags controls=SC_All, SCFlags active=SC_None, const QStyleOption &=QStyleOption::Default) const |
| int | pixelMetric (PixelMetric m, const QWidget *widget=0) const |
| QRect | subRect (SubRect r, const QWidget *widget) const |
| QRect | querySubControlMetrics (ComplexControl control, const QWidget *widget, SubControl subcontrol, const QStyleOption &opt=QStyleOption::Default) const |
| void | drawComplexControlMask (QStyle::ComplexControl c, QPainter *p, const QWidget *w, const QRect &r, const QStyleOption &o=QStyleOption::Default) const |
| QSize | sizeFromContents (QStyle::ContentsType t, const QWidget *w, const QSize &s, const QStyleOption &o) const |
Protected Types |
| enum | TabPosition { First = 0,
Middle,
Last,
Single
} |
| enum | ColorType {
ButtonContour,
ButtonSurface,
PanelContour,
PanelLight,
PanelLight2,
PanelDark,
PanelDark2
} |
| enum | SurfaceFlags {
Draw_Left = 0x00000001,
Draw_Right = 0x00000002,
Draw_Top = 0x00000004,
Draw_Bottom = 0x00000008,
Highlight_Left = 0x00000010,
Highlight_Right = 0x00000020,
Highlight_Top = 0x00000040,
Highlight_Bottom = 0x00000080,
Is_Sunken = 0x00000100,
Is_Horizontal = 0x00000200,
Is_Highlight = 0x00000400,
Is_Default = 0x00000800,
Is_Disabled = 0x00001000,
Round_UpperLeft = 0x00002000,
Round_UpperRight = 0x00004000,
Round_BottomLeft = 0x00008000,
Round_BottomRight = 0x00010000
} |
Protected Slots |
| QColor | getColor (const QColorGroup &cg, const ColorType t, const bool enabled=true) const |
Protected Member Functions |
| void | renderContour (QPainter *p, const QRect &r, const QColor &backgroundColor, const QColor &contourColor, const uint flags=Draw_Left|Draw_Right|Draw_Top|Draw_Bottom|Round_UpperLeft|Round_UpperRight|Round_BottomLeft|Round_BottomRight) const |
| void | renderMask (QPainter *p, const QRect &r, const QColor &color, const uint flags=Draw_Left|Draw_Right|Draw_Top|Draw_Bottom|Round_UpperLeft|Round_UpperRight|Round_BottomLeft|Round_BottomRight) const |
| void | renderSurface (QPainter *p, const QRect &r, const QColor &backgroundColor, const QColor &buttonColor, const QColor &highlightColor, int intensity=5, const uint flags=Draw_Left|Draw_Right|Draw_Top|Draw_Bottom|Round_UpperLeft|Round_UpperRight|Round_BottomLeft|Round_BottomRight|Is_Horizontal) const |
| void | renderButton (QPainter *p, const QRect &r, const QColorGroup &g, bool sunken=false, bool mouseOver=false, bool horizontal=true, bool enabled=true) const |
| void | renderHeader (QPainter *p, const QRect &r, const QColorGroup &g, bool sunken=false, bool mouseOver=false, bool horizontal=true, bool enabled=true) const |
| void | renderPanel (QPainter *p, const QRect &r, const QColorGroup &g, const bool pseudo3d=true, const bool sunken=true, const bool thick=false) const |
| void | renderSliderHandle (QPainter *p, const QRect &r, const QColorGroup &g, const bool mouseOver, const bool horizontal=true, const bool enabled=true) const |
| void | renderDot (QPainter *p, const QPoint &point, const QColor &baseColor, const bool thick=false, const bool sunken=false) const |
| void | renderTab (QPainter *p, const QRect &r, const QColorGroup &g, bool mouseOver=false, const bool selected=false, const bool bottom=false, const TabPosition pos=Middle, const bool triangular=false) const |
| bool | eventFilter (QObject *, QEvent *) |
Protected Attributes |
| QWidget * | hoverWidget |
Private Member Functions |
| | PlastikStyle (const PlastikStyle &) |
| PlastikStyle & | operator= (const PlastikStyle &) |
Private Attributes |
| QSettings * | settings |
| bool | kickerMode |
| bool | kornMode |
| bool | reverseLayout |
| int | _contrast |
| bool | _scrollBarLines |
| QValueList< QWidget * > | m_widgets |