
We bake cookies in your browser for a better experience. Using this site means that you consent.Read More
TheQWindowsXPStyle class provides a Microsoft Windows XP-like look and feel.More...
| Header: | #include <QWindowsXPStyle> |
| Inherits: | QWindowsStyle |
| Inherited By: |
| virtual void | drawComplexControl(ComplexControl cc, const QStyleOptionComplex * option, QPainter * p, const QWidget * widget = 0) const |
| virtual void | drawControl(ControlElement element, const QStyleOption * option, QPainter * p, const QWidget * widget = 0) const |
| virtual void | drawPrimitive(PrimitiveElement pe, const QStyleOption * option, QPainter * p, const QWidget * widget = 0) const |
| virtual int | pixelMetric(PixelMetric pm, const QStyleOption * option = 0, const QWidget * widget = 0) const |
| virtual void | polish(QApplication * app) |
| virtual void | polish(QWidget * widget) |
| virtual void | polish(QPalette & pal) |
| virtual QSize | sizeFromContents(ContentsType ct, const QStyleOption * option, const QSize & contentsSize, const QWidget * widget = 0) const |
| virtual QPalette | standardPalette() const |
| virtual QPixmap | standardPixmap(StandardPixmap standardPixmap, const QStyleOption * option, const QWidget * widget = 0) const |
| virtual int | styleHint(StyleHint hint, const QStyleOption * option = 0, const QWidget * widget = 0, QStyleHintReturn * returnData = 0) const |
| virtual QRect | subControlRect(ComplexControl cc, const QStyleOptionComplex * option, SubControl subControl, const QWidget * widget = 0) const |
| virtual QRect | subElementRect(SubElement sr, const QStyleOption * option, const QWidget * widget = 0) const |
| virtual void | unpolish(QApplication * app) |
| virtual void | unpolish(QWidget * widget) |
TheQWindowsXPStyle class provides a Microsoft Windows XP-like look and feel.
Warning: This style is only available on the Windows XP platform because it makes use of Windows XP's style engine.
Most of the functions are documented in the base classesQWindowsStyle,QCommonStyle, andQStyle, but theQWindowsXPStyle overloads ofdrawComplexControl(),drawControl(), drawControlMask(),drawPrimitive(),proxy()->subControlRect(), andsizeFromContents(), are documented here.

See alsoQMacStyle,QWindowsStyle,QPlastiqueStyle,QCDEStyle, andQMotifStyle.
Constructs aQWindowsStyle
Destroys the style.
[virtual]void QWindowsXPStyle::drawComplexControl(ComplexControl cc, constQStyleOptionComplex * option,QPainter * p, constQWidget * widget = 0) constReimplemented fromQStyle::drawComplexControl().
[virtual]void QWindowsXPStyle::drawControl(ControlElement element, constQStyleOption * option,QPainter * p, constQWidget * widget = 0) constReimplemented fromQStyle::drawControl().
[virtual]void QWindowsXPStyle::drawPrimitive(PrimitiveElement pe, constQStyleOption * option,QPainter * p, constQWidget * widget = 0) constReimplemented fromQStyle::drawPrimitive().
[virtual]int QWindowsXPStyle::pixelMetric(PixelMetric pm, constQStyleOption * option = 0, constQWidget * widget = 0) constReimplemented fromQStyle::pixelMetric().
[virtual]void QWindowsXPStyle::polish(QApplication * app)Reimplemented fromQStyle::polish().
[virtual]void QWindowsXPStyle::polish(QWidget * widget)Reimplemented fromQStyle::polish().
[virtual]void QWindowsXPStyle::polish(QPalette & pal)Reimplemented fromQStyle::polish().
[virtual]QSize QWindowsXPStyle::sizeFromContents(ContentsType ct, constQStyleOption * option, constQSize & contentsSize, constQWidget * widget = 0) constReimplemented fromQStyle::sizeFromContents().
[virtual]QPalette QWindowsXPStyle::standardPalette() constReimplemented fromQStyle::standardPalette().
[virtual]QPixmap QWindowsXPStyle::standardPixmap(StandardPixmap standardPixmap, constQStyleOption * option, constQWidget * widget = 0) constReimplemented fromQStyle::standardPixmap().
[virtual]int QWindowsXPStyle::styleHint(StyleHint hint, constQStyleOption * option = 0, constQWidget * widget = 0,QStyleHintReturn * returnData = 0) constReimplemented fromQStyle::styleHint().
[virtual]QRect QWindowsXPStyle::subControlRect(ComplexControl cc, constQStyleOptionComplex * option,SubControl subControl, constQWidget * widget = 0) constReimplemented fromQStyle::subControlRect().
[virtual]QRect QWindowsXPStyle::subElementRect(SubElement sr, constQStyleOption * option, constQWidget * widget = 0) constReimplemented fromQStyle::subElementRect().
[virtual]void QWindowsXPStyle::unpolish(QApplication * app)Reimplemented fromQStyle::unpolish().
[virtual]void QWindowsXPStyle::unpolish(QWidget * widget)Reimplemented fromQStyle::unpolish().
© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of theGNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.