KStyles
HighContrastStyle Class Reference
#include <highcontrast.h>

Public Member Functions | |
| 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 |
| void | drawComplexControlMask (ComplexControl control, QPainter *p, const QWidget *widget, const QRect &r, const QStyleOption &=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 element, QPainter *p, const QWidget *widget, const QRect &r, const QStyleOption &=QStyleOption::Default) const |
| void | drawItem (QPainter *p, const QRect &r, int flags, const QColorGroup &cg, bool enabled, const QPixmap *pixmap, const QString &text, int len=-1, const QColor *penColor=0) const |
| 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 &=QStyleOption::Default) const |
| HighContrastStyle () | |
| int | kPixelMetric (KStylePixelMetric m, const QWidget *widget=0) const |
| int | pixelMetric (PixelMetric m, const QWidget *widget=0) const |
| void | polish (QWidget *widget) |
| void | polish (QPalette &pal) |
| QRect | querySubControlMetrics (ComplexControl control, const QWidget *widget, SubControl subcontrol, const QStyleOption &opt=QStyleOption::Default) const |
| QSize | sizeFromContents (ContentsType contents, const QWidget *widget, const QSize &contentSize, const QStyleOption &opt) const |
| QRect | subRect (SubRect subrect, const QWidget *widget) const |
| void | unPolish (QWidget *widget) |
| virtual | ~HighContrastStyle () |
Protected Member Functions | |
| bool | eventFilter (QObject *object, QEvent *event) |
Protected Attributes | |
| QWidget * | hoverWidget |
Detailed Description
Definition at line 45 of file highcontrast.h.
Constructor & Destructor Documentation
| HighContrastStyle::HighContrastStyle | ( | ) |
Definition at line 111 of file highcontrast.cpp.
| HighContrastStyle::~HighContrastStyle | ( | ) | [virtual] |
Definition at line 122 of file highcontrast.cpp.
Member Function Documentation
| void HighContrastStyle::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 & | opt = QStyleOption::Default | |||
| ) | const |
Definition at line 1178 of file highcontrast.cpp.
| void HighContrastStyle::drawComplexControlMask | ( | ComplexControl | control, | |
| QPainter * | p, | |||
| const QWidget * | widget, | |||
| const QRect & | r, | |||
| const QStyleOption & | o = QStyleOption::Default | |||
| ) | const |
Definition at line 1466 of file highcontrast.cpp.
| void HighContrastStyle::drawControl | ( | ControlElement | element, | |
| QPainter * | p, | |||
| const QWidget * | widget, | |||
| const QRect & | r, | |||
| const QColorGroup & | cg, | |||
| SFlags | flags = Style_Default, |
|||
| const QStyleOption & | opt = QStyleOption::Default | |||
| ) | const |
Definition at line 731 of file highcontrast.cpp.
| void HighContrastStyle::drawControlMask | ( | ControlElement | element, | |
| QPainter * | p, | |||
| const QWidget * | widget, | |||
| const QRect & | r, | |||
| const QStyleOption & | opt = QStyleOption::Default | |||
| ) | const |
Definition at line 1135 of file highcontrast.cpp.
| void HighContrastStyle::drawItem | ( | QPainter * | p, | |
| const QRect & | r, | |||
| int | flags, | |||
| const QColorGroup & | cg, | |||
| bool | enabled, | |||
| const QPixmap * | pixmap, | |||
| const QString & | text, | |||
| int | len = -1, |
|||
| const QColor * | penColor = 0 | |||
| ) | const |
Definition at line 1485 of file highcontrast.cpp.
| void HighContrastStyle::drawKStylePrimitive | ( | KStylePrimitive | kpe, | |
| QPainter * | p, | |||
| const QWidget * | widget, | |||
| const QRect & | r, | |||
| const QColorGroup & | cg, | |||
| SFlags | flags = Style_Default, |
|||
| const QStyleOption & | opt = QStyleOption::Default | |||
| ) | const |
Definition at line 638 of file highcontrast.cpp.
| void HighContrastStyle::drawPrimitive | ( | PrimitiveElement | pe, | |
| QPainter * | p, | |||
| const QRect & | r, | |||
| const QColorGroup & | cg, | |||
| SFlags | flags = Style_Default, |
|||
| const QStyleOption & | opt = QStyleOption::Default | |||
| ) | const |
Definition at line 324 of file highcontrast.cpp.
Definition at line 1797 of file highcontrast.cpp.
| int HighContrastStyle::kPixelMetric | ( | KStylePixelMetric | m, | |
| const QWidget * | widget = 0 | |||
| ) | const |
Definition at line 1649 of file highcontrast.cpp.
| int HighContrastStyle::pixelMetric | ( | PixelMetric | m, | |
| const QWidget * | widget = 0 | |||
| ) | const |
Definition at line 1561 of file highcontrast.cpp.
| void HighContrastStyle::polish | ( | QWidget * | widget | ) |
Definition at line 152 of file highcontrast.cpp.
| void HighContrastStyle::polish | ( | QPalette & | pal | ) |
Definition at line 127 of file highcontrast.cpp.
| QRect HighContrastStyle::querySubControlMetrics | ( | ComplexControl | control, | |
| const QWidget * | widget, | |||
| SubControl | subcontrol, | |||
| const QStyleOption & | opt = QStyleOption::Default | |||
| ) | const |
Definition at line 1509 of file highcontrast.cpp.
| QSize HighContrastStyle::sizeFromContents | ( | ContentsType | contents, | |
| const QWidget * | widget, | |||
| const QSize & | contentSize, | |||
| const QStyleOption & | opt | |||
| ) | const |
Definition at line 1661 of file highcontrast.cpp.
Definition at line 1785 of file highcontrast.cpp.
| void HighContrastStyle::unPolish | ( | QWidget * | widget | ) |
Definition at line 171 of file highcontrast.cpp.
Member Data Documentation
QWidget* HighContrastStyle::hoverWidget [protected] |
Definition at line 135 of file highcontrast.h.
The documentation for this class was generated from the following files:
KDE 4.2 API Reference