QPlastiqueStyle Class

The QPlastiqueStyle class provides a widget style similar to the Plastik style available in KDE. More...

Header: #include <QPlastiqueStyle>
Inherits: QWindowsStyle

Public Functions

Reimplemented Public Functions

virtual void drawComplexControl(ComplexControl control, const QStyleOptionComplex * option, QPainter * painter, const QWidget * widget) const
virtual void drawControl(ControlElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget) const
virtual void drawPrimitive(PrimitiveElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget = 0) const
virtual SubControl hitTestComplexControl(ComplexControl control, const QStyleOptionComplex * option, const QPoint & pos, const QWidget * widget = 0) const
virtual int pixelMetric(PixelMetric metric, const QStyleOption * option = 0, const QWidget * widget = 0) const
virtual void polish(QWidget * widget)
virtual void polish(QApplication * app)
virtual void polish(QPalette & pal)
virtual QSize sizeFromContents(ContentsType type, const QStyleOption * option, const QSize & size, const QWidget * widget) const
virtual QPalette standardPalette() const
virtual QPixmap standardPixmap(StandardPixmap standardPixmap, const QStyleOption * opt, 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 control, const QStyleOptionComplex * option, SubControl subControl, const QWidget * widget) const
virtual QRect subElementRect(SubElement element, const QStyleOption * option, const QWidget * widget) const
virtual void unpolish(QWidget * widget)
virtual void unpolish(QApplication * app)

Reimplemented Protected Functions

virtual bool eventFilter(QObject * watched, QEvent * event)
virtual void timerEvent(QTimerEvent * event)

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
  • 7 static public members inherited from QObject
  • 2 protected functions inherited from QWindowsStyle
  • 8 protected functions inherited from QObject
  • 2 protected slots inherited from QStyle

Detailed Description

The QPlastiqueStyle class provides a widget style similar to the Plastik style available in KDE.

The Plastique style provides a default look and feel for widgets on X11 that closely resembles the Plastik style, introduced by Sandro Giessl in KDE 3.2.

See also QWindowsXPStyle, QMacStyle, QWindowsStyle, QCDEStyle, and QMotifStyle.

Member Function Documentation

QPlastiqueStyle::QPlastiqueStyle()

Constructs a QPlastiqueStyle object.

QPlastiqueStyle::~QPlastiqueStyle()

Destructs the QPlastiqueStyle object.

[virtual] void QPlastiqueStyle::drawComplexControl(ComplexControl control, const QStyleOptionComplex * option, QPainter * painter, const QWidget * widget) const

Reimplemented from QStyle::drawComplexControl().

[virtual] void QPlastiqueStyle::drawControl(ControlElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget) const

Reimplemented from QStyle::drawControl().

[virtual] void QPlastiqueStyle::drawPrimitive(PrimitiveElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget = 0) const

Reimplemented from QStyle::drawPrimitive().

[virtual protected] bool QPlastiqueStyle::eventFilter(QObject * watched, QEvent * event)

Reimplemented from QObject::eventFilter().

[virtual] SubControl QPlastiqueStyle::hitTestComplexControl(ComplexControl control, const QStyleOptionComplex * option, const QPoint & pos, const QWidget * widget = 0) const

Reimplemented from QStyle::hitTestComplexControl().

[virtual] int QPlastiqueStyle::pixelMetric(PixelMetric metric, const QStyleOption * option = 0, const QWidget * widget = 0) const

Reimplemented from QStyle::pixelMetric().

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

Reimplemented from QStyle::polish().

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

Reimplemented from QStyle::polish().

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

Reimplemented from QStyle::polish().

[virtual] QSize QPlastiqueStyle::sizeFromContents(ContentsType type, const QStyleOption * option, const QSize & size, const QWidget * widget) const

Reimplemented from QStyle::sizeFromContents().

[virtual] QPalette QPlastiqueStyle::standardPalette() const

Reimplemented from QStyle::standardPalette().

[virtual] QPixmap QPlastiqueStyle::standardPixmap(StandardPixmap standardPixmap, const QStyleOption * opt, const QWidget * widget = 0) const

Reimplemented from QStyle::standardPixmap().

[virtual] int QPlastiqueStyle::styleHint(StyleHint hint, const QStyleOption * option = 0, const QWidget * widget = 0, QStyleHintReturn * returnData = 0) const

Reimplemented from QStyle::styleHint().

[virtual] QRect QPlastiqueStyle::subControlRect(ComplexControl control, const QStyleOptionComplex * option, SubControl subControl, const QWidget * widget) const

Reimplemented from QStyle::subControlRect().

[virtual] QRect QPlastiqueStyle::subElementRect(SubElement element, const QStyleOption * option, const QWidget * widget) const

Reimplemented from QStyle::subElementRect().

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

Reimplemented from QObject::timerEvent().

[virtual] void QPlastiqueStyle::unpolish(QWidget * widget)

Reimplemented from QStyle::unpolish().

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

Reimplemented from QStyle::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 the GNU 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.