Movatterモバイル変換


[0]ホーム

URL:


We bake cookies in your browser for a better experience. Using this site means that you consent.Read More

Menu

Qt Documentation

QWindowsXPStyle Class

TheQWindowsXPStyle class provides a Microsoft Windows XP-like look and feel.More...

Header:#include <QWindowsXPStyle>
Inherits:QWindowsStyle
Inherited By:

QWindowsVistaStyle

Public Functions

Reimplemented Public Functions

virtual voiddrawComplexControl(ComplexControl cc, const QStyleOptionComplex * option, QPainter * p, const QWidget * widget = 0) const
virtual voiddrawControl(ControlElement element, const QStyleOption * option, QPainter * p, const QWidget * widget = 0) const
virtual voiddrawPrimitive(PrimitiveElement pe, const QStyleOption * option, QPainter * p, const QWidget * widget = 0) const
virtual intpixelMetric(PixelMetric pm, const QStyleOption * option = 0, const QWidget * widget = 0) const
virtual voidpolish(QApplication * app)
virtual voidpolish(QWidget * widget)
virtual voidpolish(QPalette & pal)
virtual QSizesizeFromContents(ContentsType ct, const QStyleOption * option, const QSize & contentsSize, const QWidget * widget = 0) const
virtual QPalettestandardPalette() const
virtual QPixmapstandardPixmap(StandardPixmap standardPixmap, const QStyleOption * option, const QWidget * widget = 0) const
virtual intstyleHint(StyleHint hint, const QStyleOption * option = 0, const QWidget * widget = 0, QStyleHintReturn * returnData = 0) const
virtual QRectsubControlRect(ComplexControl cc, const QStyleOptionComplex * option, SubControl subControl, const QWidget * widget = 0) const
virtual QRectsubElementRect(SubElement sr, const QStyleOption * option, const QWidget * widget = 0) const
virtual voidunpolish(QApplication * app)
virtual voidunpolish(QWidget * widget)

Additional Inherited Members

  • 1 property inherited fromQObject
  • 1 public slot inherited fromQObject
  • 1 signal inherited fromQObject
  • 6 static public members inherited fromQStyle
  • 7 static public members inherited fromQObject
  • 2 protected functions inherited fromQWindowsStyle
  • 8 protected functions inherited fromQObject
  • 2 protected slots inherited fromQStyle

Detailed Description

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.

Member Function Documentation

QWindowsXPStyle::QWindowsXPStyle()

Constructs aQWindowsStyle

QWindowsXPStyle::~QWindowsXPStyle()

Destroys the style.

[virtual]void QWindowsXPStyle::drawComplexControl(ComplexControl cc, constQStyleOptionComplex * option,QPainter * p, constQWidget * widget = 0) const

Reimplemented fromQStyle::drawComplexControl().

[virtual]void QWindowsXPStyle::drawControl(ControlElement element, constQStyleOption * option,QPainter * p, constQWidget * widget = 0) const

Reimplemented fromQStyle::drawControl().

[virtual]void QWindowsXPStyle::drawPrimitive(PrimitiveElement pe, constQStyleOption * option,QPainter * p, constQWidget * widget = 0) const

Reimplemented fromQStyle::drawPrimitive().

[virtual]int QWindowsXPStyle::pixelMetric(PixelMetric pm, constQStyleOption * option = 0, constQWidget * widget = 0) const

Reimplemented 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) const

Reimplemented fromQStyle::sizeFromContents().

[virtual]QPalette QWindowsXPStyle::standardPalette() const

Reimplemented fromQStyle::standardPalette().

[virtual]QPixmap QWindowsXPStyle::standardPixmap(StandardPixmap standardPixmap, constQStyleOption * option, constQWidget * widget = 0) const

Reimplemented fromQStyle::standardPixmap().

[virtual]int QWindowsXPStyle::styleHint(StyleHint hint, constQStyleOption * option = 0, constQWidget * widget = 0,QStyleHintReturn * returnData = 0) const

Reimplemented fromQStyle::styleHint().

[virtual]QRect QWindowsXPStyle::subControlRect(ComplexControl cc, constQStyleOptionComplex * option,SubControl subControl, constQWidget * widget = 0) const

Reimplemented fromQStyle::subControlRect().

[virtual]QRect QWindowsXPStyle::subElementRect(SubElement sr, constQStyleOption * option, constQWidget * widget = 0) const

Reimplemented 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.


[8]ページ先頭

©2009-2025 Movatter.jp