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

QWindowsStyle Class

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

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

QCleanlooksStyle,QMacStyle,QPlastiqueStyle, andQWindowsXPStyle

Public Functions

Reimplemented Public Functions

virtual voiddrawComplexControl(ComplexControl cc, const QStyleOptionComplex * opt, QPainter * p, const QWidget * widget = 0) const
virtual voiddrawControl(ControlElement ce, const QStyleOption * opt, QPainter * p, const QWidget * widget = 0) const
virtual voiddrawPrimitive(PrimitiveElement pe, const QStyleOption * opt, QPainter * p, const QWidget * w = 0) const
virtual intpixelMetric(PixelMetric pm, const QStyleOption * opt = 0, const QWidget * widget = 0) const
virtual voidpolish(QApplication * app)
virtual voidpolish(QWidget * widget)
virtual voidpolish(QPalette & pal)
virtual QSizesizeFromContents(ContentsType ct, const QStyleOption * opt, const QSize & csz, const QWidget * widget = 0) const
virtual QPixmapstandardPixmap(StandardPixmap standardPixmap, const QStyleOption * opt, const QWidget * widget = 0) const
virtual intstyleHint(StyleHint hint, const QStyleOption * opt = 0, const QWidget * widget = 0, QStyleHintReturn * returnData = 0) const
virtual QRectsubElementRect(SubElement sr, const QStyleOption * opt, const QWidget * w = 0) const
virtual voidunpolish(QApplication * app)
virtual voidunpolish(QWidget * widget)
  • 16 public functions inherited fromQCommonStyle
  • 24 public functions inherited fromQStyle
  • 29 public functions inherited fromQObject

Reimplemented Protected Functions

virtual booleventFilter(QObject * o, QEvent * e)
virtual voidtimerEvent(QTimerEvent * event)
  • 8 protected functions inherited fromQObject

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
  • 8 protected functions inherited fromQObject
  • 2 protected slots inherited fromQStyle

Detailed Description

TheQWindowsStyle class provides a Microsoft Windows-like look and feel.

This style is Qt's default GUI style on Windows.

See alsoQWindowsXPStyle,QMacStyle,QPlastiqueStyle,QCDEStyle, andQMotifStyle.

Member Function Documentation

QWindowsStyle::QWindowsStyle()

Constructs aQWindowsStyle object.

QWindowsStyle::~QWindowsStyle()

Destroys theQWindowsStyle object.

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

Reimplemented fromQStyle::drawComplexControl().

[virtual]void QWindowsStyle::drawControl(ControlElement ce, constQStyleOption * opt,QPainter * p, constQWidget * widget = 0) const

Reimplemented fromQStyle::drawControl().

[virtual]void QWindowsStyle::drawPrimitive(PrimitiveElement pe, constQStyleOption * opt,QPainter * p, constQWidget * w = 0) const

Reimplemented fromQStyle::drawPrimitive().

[virtual protected]bool QWindowsStyle::eventFilter(QObject * o,QEvent * e)

Reimplemented fromQObject::eventFilter().

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

Reimplemented fromQStyle::pixelMetric().

[virtual]void QWindowsStyle::polish(QApplication * app)

Reimplemented fromQStyle::polish().

[virtual]void QWindowsStyle::polish(QWidget * widget)

Reimplemented fromQStyle::polish().

[virtual]void QWindowsStyle::polish(QPalette & pal)

Reimplemented fromQStyle::polish().

[virtual]QSize QWindowsStyle::sizeFromContents(ContentsType ct, constQStyleOption * opt, constQSize & csz, constQWidget * widget = 0) const

Reimplemented fromQStyle::sizeFromContents().

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

Reimplemented fromQStyle::standardPixmap().

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

Reimplemented fromQStyle::styleHint().

[virtual]QRect QWindowsStyle::subElementRect(SubElement sr, constQStyleOption * opt, constQWidget * w = 0) const

Reimplemented fromQStyle::subElementRect().

[virtual protected]void QWindowsStyle::timerEvent(QTimerEvent * event)

Reimplemented fromQObject::timerEvent().

[virtual]void QWindowsStyle::unpolish(QApplication * app)

Reimplemented fromQStyle::unpolish().

[virtual]void QWindowsStyle::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