Examples: inherit NorwegianWoodStyle from QProxyStyle
authorJ-P Nurmi <jpnurmi@digia.com>
Mon, 26 Nov 2012 12:24:12 +0000 (13:24 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Mon, 26 Nov 2012 16:33:37 +0000 (17:33 +0100)
commit5a0fd7fb04af6e9e6d16e9647756ee05441fc245
tree178ec0307047cf67cd2b429f4980c0b4cf748665
parentcd765bbae07310b29c8d0f0275fdc3c7f0696472
Examples: inherit NorwegianWoodStyle from QProxyStyle

The QStyle specializations are being made internal. The recommended way
to customize styles is now to use QProxyStyle (& QStyleFactory), or to
implement a full custom style one can alternatively subclass
QCommonStyle. The proxy style approach was chosen for this case, since
the example assumes some drawing functionality provided by the windows
style and it is not a "complete" custom style implementation but more
like a customization anyway.

Change-Id: Ib2477339cfef258cfc944a76a2eea728066e1f45
Reviewed-by: Geir Vattekar <geir.vattekar@digia.com>
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
examples/widgets/doc/src/styles.qdoc
examples/widgets/widgets/styles/norwegianwoodstyle.cpp
examples/widgets/widgets/styles/norwegianwoodstyle.h