|  | Home · All Classes · All Functions · Overviews

# QS60Style Class Reference
[QtGui module]

The QS60Style class provides a look and feel suitable for applications on S60. More...

     #include <QS60Style>

Inherits QCommonStyle.

This class was introduced in Qt 4.6.

- List of all members, including inherited members

## Public Functions

| QS60Style ()
| ~QS60Style ()

## Reimplemented Public Functions

virtual void | drawComplexControl ( ComplexControl control, const QStyleOptionComplex * option, QPainter * painter, const QWidget * widget = 0 ) const
virtual void | drawControl ( ControlElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget = 0 ) const
virtual void | drawPrimitive ( PrimitiveElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget = 0 ) const
virtual bool | event ( QEvent * e )
virtual int | pixelMetric ( PixelMetric metric, const QStyleOption * option = 0, const QWidget * widget = 0 ) const
virtual void | polish ( QWidget * widget )
virtual void | polish ( QApplication * application )
virtual QSize | sizeFromContents ( ContentsType ct, const QStyleOption * opt, const QSize & csz, const QWidget * widget = 0 ) const
virtual int | styleHint ( StyleHint sh, const QStyleOption * opt = 0, const QWidget * widget = 0, QStyleHintReturn * hret = 0 ) const
virtual QRect | subControlRect ( ComplexControl control, const QStyleOptionComplex * option, SubControl scontrol, const QWidget * widget = 0 ) const
virtual QRect | subElementRect ( SubElement element, const QStyleOption * opt, const QWidget * widget = 0 ) const
virtual void | unpolish ( QWidget * widget )
virtual void | unpolish ( QApplication * application )

- 16 public functions inherited from QCommonStyle
- 24 public functions inherited from QStyle
- 29 public functions inherited from QObject

### Additional Inherited Members

- 1 property inherited from QObject
- 1 public slot inherited from QObject
- 1 signal inherited from QObject
- 6 static public members inherited from QStyle
- 5 static public members inherited from QObject
- 7 protected functions inherited from QObject
- 2 protected slots inherited from QStyle

## Detailed Description

The QS60Style class provides a look and feel suitable for applications on S60.

See also QMacStyle, QWindowsStyle, QWindowsXPStyle, QWindowsVistaStyle, QPlastiqueStyle, QCleanlooksStyle, and QMotifStyle.

## Member Function Documentation

### QS60Style::QS60Style ()

Constructs a QS60Style object.

### QS60Style::~QS60Style ()

Destroys the style.

### void QS60Style::drawComplexControl ( ComplexControl control, const QStyleOptionComplex * option, QPainter * painter, const QWidget * widget = 0 ) const `[virtual]`

Reimplemented from QStyle::drawComplexControl().

### void QS60Style::drawControl ( ControlElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget = 0 ) const `[virtual]`

Reimplemented from QStyle::drawControl().

### void QS60Style::drawPrimitive ( PrimitiveElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget = 0 ) const `[virtual]`

Reimplemented from QStyle::drawPrimitive().

### bool QS60Style::event ( QEvent * e ) `[virtual]`

Reimplemented from QObject::event().

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

Reimplemented from QStyle::pixelMetric().

### void QS60Style::polish ( QWidget * widget ) `[virtual]`

Reimplemented from QStyle::polish().

### void QS60Style::polish ( QApplication * application ) `[virtual]`

Reimplemented from QStyle::polish().

### QSize QS60Style::sizeFromContents ( ContentsType ct, const QStyleOption * opt, const QSize & csz, const QWidget * widget = 0 ) const `[virtual]`

Reimplemented from QStyle::sizeFromContents().

### int QS60Style::styleHint ( StyleHint sh, const QStyleOption * opt = 0, const QWidget * widget = 0, QStyleHintReturn * hret = 0 ) const `[virtual]`

Reimplemented from QStyle::styleHint().

### QRect QS60Style::subControlRect ( ComplexControl control, const QStyleOptionComplex * option, SubControl scontrol, const QWidget * widget = 0 ) const `[virtual]`

Reimplemented from QStyle::subControlRect().

### QRect QS60Style::subElementRect ( SubElement element, const QStyleOption * opt, const QWidget * widget = 0 ) const `[virtual]`

Reimplemented from QStyle::subElementRect().

### void QS60Style::unpolish ( QWidget * widget ) `[virtual]`

Reimplemented from QStyle::unpolish().

### void QS60Style::unpolish ( QApplication * application ) `[virtual]`

Reimplemented from QStyle::unpolish().