- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files
- Directories
- Examples

- Class List
- Class Hierarchy
- Class Members

Public Member Functions | Protected Slots | Protected Member Functions

# QCleanlooksStyle Class Reference

Search for all occurrences

## Detailed Description

Definition at line 56 of file qcleanlooksstyle.h.

`#include <qcleanlooksstyle.h>`

Inheritance diagram for QCleanlooksStyle:
[legend]

List of all members.

## Public Member Functions
| QCleanlooksStyle ()
| ~QCleanlooksStyle ()
QPalette | standardPalette () const
void | drawPrimitive (PrimitiveElement elem, const QStyleOption *option, QPainter *painter, const QWidget *widget=0) const
void | drawControl (ControlElement ce, const QStyleOption *option, QPainter *painter, const QWidget *widget) const
int | pixelMetric (PixelMetric metric, const QStyleOption *option=0, const QWidget *widget=0) const
void | drawComplexControl (ComplexControl control, const QStyleOptionComplex *option, QPainter *painter, const QWidget *widget) const
QRect | subElementRect (SubElement r, const QStyleOption *opt, const QWidget *widget=0) const
QSize | sizeFromContents (ContentsType type, const QStyleOption *option, const QSize &size, const QWidget *widget) const
SubControl | hitTestComplexControl (ComplexControl cc, const QStyleOptionComplex *opt, const QPoint &pt, const QWidget *w=0) const
QRect | subControlRect (ComplexControl cc, const QStyleOptionComplex *opt, SubControl sc, const QWidget *widget) const
QPixmap | generatedIconPixmap (QIcon::Mode iconMode, const QPixmap &pixmap, const QStyleOption *opt) const
int | styleHint (StyleHint hint, const QStyleOption *option=0, const QWidget *widget=0, QStyleHintReturn *returnData=0) const
QRect | itemPixmapRect (const QRect &r, int flags, const QPixmap &pixmap) const
QPixmap | standardPixmap (StandardPixmap standardPixmap, const QStyleOption *opt, const QWidget *widget=0) const
void | drawItemPixmap (QPainter *painter, const QRect &rect, int alignment, const QPixmap &pixmap) const
void | drawItemText (QPainter *painter, const QRect &rect, int flags, const QPalette &pal, bool enabled, const QString &text, QPalette::ColorRole textRole=QPalette::NoRole) const
void | polish (QWidget *widget)
void | polish (QApplication *app)
void | polish (QPalette &pal)
void | unpolish (QWidget *widget)
void | unpolish (QApplication *app)
## Protected Slots
QIcon | standardIconImplementation (StandardPixmap standardIcon, const QStyleOption *option, const QWidget *widget=0) const
## Protected Member Functions
| QCleanlooksStyle (QCleanlooksStylePrivate &dd)

## Constructor & Destructor Documentation

QCleanlooksStyle | ( |  | ) |

~QCleanlooksStyle | ( |  | ) |

QCleanlooksStyle | ( | QCleanlooksStylePrivate & | dd | ) | `[protected]`

## Member Function Documentation

QPalette standardPalette | ( |  | ) | const `[virtual]`

Search for all occurrences

Reimplemented from QStyle.

Reimplemented in QGtkStyle.

void drawPrimitive | ( | PrimitiveElement | elem,
|  | const QStyleOption * | option,
|  | QPainter * | painter,
|  | const QWidget * | widget = `0`
| ) |  | const `[virtual]`

Search for all occurrences

Reimplemented from QWindowsStyle.

Reimplemented in QGtkStyle.

void drawControl | ( | ControlElement | ce,
|  | const QStyleOption * | option,
|  | QPainter * | painter,
|  | const QWidget * | widget
| ) |  | const `[virtual]`

Search for all occurrences

Reimplemented from QWindowsStyle.

Reimplemented in QGtkStyle.

int pixelMetric | ( | PixelMetric | metric,
|  | const QStyleOption * | option = `0`,
|  | const QWidget * | widget = `0`
| ) |  | const `[virtual]`

Search for all occurrences

Reimplemented from QWindowsStyle.

Reimplemented in QGtkStyle.

void drawComplexControl | ( | ComplexControl | control,
|  | const QStyleOptionComplex * | option,
|  | QPainter * | painter,
|  | const QWidget * | widget
| ) |  | const `[virtual]`

Search for all occurrences

Reimplemented from QWindowsStyle.

Reimplemented in QGtkStyle.

QRect subElementRect | ( | SubElement | r,
|  | const QStyleOption * | opt,
|  | const QWidget * | widget = `0`
| ) |  | const `[virtual]`

Search for all occurrences

Reimplemented from QWindowsStyle.

Reimplemented in QGtkStyle.

QSize sizeFromContents | ( | ContentsType | type,
|  | const QStyleOption * | option,
|  | const QSize & | size,
|  | const QWidget * | widget
| ) |  | const `[virtual]`

Search for all occurrences

Reimplemented from QWindowsStyle.

Reimplemented in QGtkStyle.

SubControl hitTestComplexControl | ( | ComplexControl | cc,
|  | const QStyleOptionComplex * | opt,
|  | const QPoint & | pt,
|  | const QWidget * | w = `0`
| ) |  | const `[virtual]`

Search for all occurrences

Reimplemented from QCommonStyle.

Reimplemented in QGtkStyle.

QRect subControlRect | ( | ComplexControl | cc,
|  | const QStyleOptionComplex * | opt,
|  | SubControl | sc,
|  | const QWidget * | widget
| ) |  | const `[virtual]`

Search for all occurrences

Reimplemented from QCommonStyle.

Reimplemented in QGtkStyle.

QPixmap generatedIconPixmap | ( | QIcon::Mode | iconMode,
|  | const QPixmap & | pixmap,
|  | const QStyleOption * | opt
| ) |  | const `[virtual]`

Search for all occurrences

Reimplemented from QCommonStyle.

Reimplemented in QGtkStyle.

int styleHint | ( | StyleHint | hint,
|  | const QStyleOption * | option = `0`,
|  | const QWidget * | widget = `0`,
|  | QStyleHintReturn * | returnData = `0`
| ) |  | const `[virtual]`

Search for all occurrences

Reimplemented from QWindowsStyle.

Reimplemented in QGtkStyle.

QRect itemPixmapRect | ( | const QRect & | r,
|  | int | flags,
|  | const QPixmap & | pixmap
| ) |  | const `[virtual]`

Search for all occurrences

Reimplemented from QStyle.

Reimplemented in QGtkStyle.

QPixmap standardPixmap | ( | StandardPixmap | standardPixmap,
|  | const QStyleOption * | opt,
|  | const QWidget * | widget = `0`
| ) |  | const `[virtual]`

Search for all occurrences

Reimplemented from QWindowsStyle.

Reimplemented in QGtkStyle.

void drawItemPixmap | ( | QPainter * | painter,
|  | const QRect & | rect,
|  | int | alignment,
|  | const QPixmap & | pixmap
| ) |  | const `[virtual]`

Search for all occurrences

Reimplemented from QStyle.

Reimplemented in QGtkStyle.

void drawItemText | ( | QPainter * | painter,
|  | const QRect & | rect,
|  | int | flags,
|  | const QPalette & | pal,
|  | bool | enabled,
|  | const QString & | text,
|  | QPalette::ColorRole | textRole = `QPalette::NoRole`
| ) |  | const `[virtual]`

Search for all occurrences

Reimplemented from QStyle.

Reimplemented in QGtkStyle.

void polish | ( | QWidget * | widget | ) | `[virtual]`

Search for all occurrences

Reimplemented from QWindowsStyle.

Reimplemented in QGtkStyle.

void polish | ( | QApplication * | app | ) | `[virtual]`

Search for all occurrences

Reimplemented from QWindowsStyle.

Reimplemented in QGtkStyle.

void polish | ( | QPalette & | pal | ) | `[virtual]`

Search for all occurrences

Reimplemented from QWindowsStyle.

Reimplemented in QGtkStyle.

void unpolish | ( | QWidget * | widget | ) | `[virtual]`

Search for all occurrences

Reimplemented from QWindowsStyle.

Reimplemented in QGtkStyle.

void unpolish | ( | QApplication * | app | ) | `[virtual]`

Search for all occurrences

Reimplemented from QWindowsStyle.

Reimplemented in QGtkStyle.

QIcon standardIconImplementation | ( | StandardPixmap | standardIcon,
|  | const QStyleOption * | option,
|  | const QWidget * | widget = `0`
| ) |  | const `[protected, slot]`

Search for all occurrences

Reimplemented from QWindowsStyle.

Reimplemented in QGtkStyle.

The documentation for this class was generated from the following file:

- QtGui/qcleanlooksstyle.h

QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle
QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle QCleanlooksStyle