The QCommonStyle class encapsulates the common Look and Feel of a GUI. More...
#include <QCommonStyle>
Inherits: QStyle.
Inherited by: QMotifStyle, QProxyStyle, QS60Style, and QWindowsStyle.
QCommonStyle () | |
~QCommonStyle () |
virtual void | drawComplexControl ( ComplexControl cc, const QStyleOptionComplex * opt, QPainter * p, const QWidget * widget = 0 ) const |
virtual void | drawControl ( ControlElement element, const QStyleOption * opt, QPainter * p, const QWidget * widget = 0 ) const |
virtual void | drawPrimitive ( PrimitiveElement pe, const QStyleOption * opt, QPainter * p, const QWidget * widget = 0 ) const |
virtual QPixmap | generatedIconPixmap ( QIcon::Mode iconMode, const QPixmap & pixmap, const QStyleOption * opt ) const |
virtual SubControl | hitTestComplexControl ( ComplexControl cc, const QStyleOptionComplex * opt, const QPoint & pt, const QWidget * widget = 0 ) const |
virtual int | pixelMetric ( PixelMetric m, const QStyleOption * opt = 0, const QWidget * widget = 0 ) const |
virtual void | polish ( QPalette & pal ) |
virtual void | polish ( QApplication * app ) |
virtual void | polish ( QWidget * widget ) |
virtual QSize | sizeFromContents ( ContentsType ct, const QStyleOption * opt, const QSize & csz, const QWidget * widget = 0 ) const |
virtual QPixmap | standardPixmap ( StandardPixmap sp, const QStyleOption * option = 0, 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 cc, const QStyleOptionComplex * opt, SubControl sc, const QWidget * widget = 0 ) const |
virtual QRect | subElementRect ( SubElement sr, const QStyleOption * opt, const QWidget * widget = 0 ) const |
virtual void | unpolish ( QWidget * widget ) |
virtual void | unpolish ( QApplication * application ) |
The QCommonStyle class encapsulates the common Look and Feel of a GUI.
This abstract class implements some of the widget's look and feel that is common to all GUI styles provided and shipped as part of Qt.
Since QCommonStyle inherits QStyle, all of its functions are fully documented in the QStyle documentation.
See also QStyle, QMotifStyle, and QWindowsStyle.
Constructs a QCommonStyle.
Destroys the style.
Reimplemented from QStyle::drawComplexControl().
Reimplemented from QStyle::drawControl().
Reimplemented from QStyle::drawPrimitive().
Reimplemented from QStyle::generatedIconPixmap().
Reimplemented from QStyle::hitTestComplexControl().
Reimplemented from QStyle::pixelMetric().
Reimplemented from QStyle::polish().
Reimplemented from QStyle::polish().
Reimplemented from QStyle::polish().
Reimplemented from QStyle::sizeFromContents().
Reimplemented from QStyle::standardPixmap().
Reimplemented from QStyle::styleHint().
Reimplemented from QStyle::subControlRect().
Reimplemented from QStyle::subElementRect().
Reimplemented from QStyle::unpolish().
Reimplemented from QStyle::unpolish().
© 2008-2011 Nokia Corporation and/or its subsidiaries. Nokia, Qt and their respective logos are trademarks of Nokia Corporation in Finland and/or other countries worldwide.
All other trademarks are property of their respective owners. Privacy Policy
Licensees holding valid Qt Commercial licenses may use this document in accordance with the Qt Commercial License Agreement provided with the Software or, alternatively, in accordance with the terms contained in a written agreement between you and Nokia.
Alternatively, this document may be used under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.