QWindowsStyle Class Reference
The QWindowsStyle class provides a Microsoft Windows-like look and feel. More...
#include <QWindowsStyle> Inherits: QCommonStyle.
Inherited by: QCleanlooksStyle, QMacStyle, QPlastiqueStyle, and QWindowsXPStyle.
Public Functions
Reimplemented Public Functions
virtual void | drawComplexControl ( ComplexControl cc, const QStyleOptionComplex * opt, QPainter * p, const QWidget * widget = 0 ) const |
virtual void | drawControl ( ControlElement ce, const QStyleOption * opt, QPainter * p, const QWidget * widget = 0 ) const |
virtual void | drawPrimitive ( PrimitiveElement pe, const QStyleOption * opt, QPainter * p, const QWidget * w = 0 ) const |
virtual int | pixelMetric ( PixelMetric pm, const QStyleOption * opt = 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 * opt, const QSize & csz, const QWidget * widget = 0 ) const |
virtual QPixmap | standardPixmap ( StandardPixmap standardPixmap, const QStyleOption * opt, const QWidget * widget = 0 ) const |
virtual int | styleHint ( StyleHint hint, const QStyleOption * opt = 0, const QWidget * widget = 0, QStyleHintReturn * returnData = 0 ) const |
virtual QRect | subElementRect ( SubElement sr, const QStyleOption * opt, const QWidget * w = 0 ) const |
virtual void | unpolish ( QApplication * app ) |
virtual void | unpolish ( QWidget * widget ) |
- 16 public functions inherited from QCommonStyle
- 24 public functions inherited from QStyle
- 29 public functions inherited from QObject
Reimplemented Protected Functions
- 7 protected 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 QWindowsStyle class provides a Microsoft Windows-like look and feel.
This style is Qt's default GUI style on Windows.
See also QWindowsXPStyle, QMacStyle, QPlastiqueStyle, QCDEStyle, and QMotifStyle.
Member Function Documentation
QWindowsStyle::QWindowsStyle ()
Constructs a QWindowsStyle object.
QWindowsStyle::~QWindowsStyle ()
Destroys the QWindowsStyle object.
void QWindowsStyle::drawComplexControl ( ComplexControl cc, const QStyleOptionComplex * opt, QPainter * p, const QWidget * widget = 0 ) const [virtual]
Reimplemented from QStyle::drawComplexControl().
void QWindowsStyle::drawControl ( ControlElement ce, const QStyleOption * opt, QPainter * p, const QWidget * widget = 0 ) const [virtual]
Reimplemented from QStyle::drawControl().
void QWindowsStyle::drawPrimitive ( PrimitiveElement pe, const QStyleOption * opt, QPainter * p, const QWidget * w = 0 ) const [virtual]
Reimplemented from QStyle::drawPrimitive().
bool QWindowsStyle::eventFilter ( QObject * o, QEvent * e ) [virtual protected]
Reimplemented from QObject::eventFilter().
int QWindowsStyle::pixelMetric ( PixelMetric pm, const QStyleOption * opt = 0, const QWidget * widget = 0 ) const [virtual]
Reimplemented from QStyle::pixelMetric().
void QWindowsStyle::polish ( QApplication * app ) [virtual]
Reimplemented from QStyle::polish().
void QWindowsStyle::polish ( QWidget * widget ) [virtual]
Reimplemented from QStyle::polish().
void QWindowsStyle::polish ( QPalette & pal ) [virtual]
Reimplemented from QStyle::polish().
QSize QWindowsStyle::sizeFromContents ( ContentsType ct, const QStyleOption * opt, const QSize & csz, const QWidget * widget = 0 ) const [virtual]
Reimplemented from QStyle::sizeFromContents().
QPixmap QWindowsStyle::standardPixmap ( StandardPixmap standardPixmap, const QStyleOption * opt, const QWidget * widget = 0 ) const [virtual]
Reimplemented from QStyle::standardPixmap().
int QWindowsStyle::styleHint ( StyleHint hint, const QStyleOption * opt = 0, const QWidget * widget = 0, QStyleHintReturn * returnData = 0 ) const [virtual]
Reimplemented from QStyle::styleHint().
QRect QWindowsStyle::subElementRect ( SubElement sr, const QStyleOption * opt, const QWidget * w = 0 ) const [virtual]
Reimplemented from QStyle::subElementRect().
void QWindowsStyle::timerEvent ( QTimerEvent * event ) [virtual protected]
Reimplemented from QObject::timerEvent().
void QWindowsStyle::unpolish ( QApplication * app ) [virtual]
Reimplemented from QStyle::unpolish().
void QWindowsStyle::unpolish ( QWidget * widget ) [virtual]
Reimplemented from QStyle::unpolish().
|