Add further theme hints to QPlatformTheme.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Tue, 21 Feb 2012 14:36:01 +0000 (15:36 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 22 Feb 2012 16:28:51 +0000 (17:28 +0100)
commit541949aed23ea14a71a7d4391bac244b623add0a
treef123b0cfb7d4c42f7b83a378ae670c8b51003057
parent53bb87d1d274a80b94595f6cd31bfa7a8ae81dc3
Add further theme hints to QPlatformTheme.

- Add hints for QDialog/QDialogButtonBox.
- Add hint for available popup-menu area.
- Add keyboard scheme hint replacing
  QGuiApplicationPrivate::currentKeyPlatform()

Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
Task-number: QTBUG-24204
Task-number: QTBUG-24315

Change-Id: I6653786b0dcb49a6fc264d3b9891dbfee502bd3e
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
21 files changed:
src/gui/kernel/qevent.cpp
src/gui/kernel/qguiapplication.cpp
src/gui/kernel/qguiapplication_p.h
src/gui/kernel/qkeysequence.cpp
src/gui/kernel/qkeysequence_p.h
src/gui/kernel/qplatformtheme_qpa.cpp
src/gui/kernel/qplatformtheme_qpa.h
src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
src/plugins/platforms/cocoa/qcocoatheme.mm
src/plugins/platforms/windows/qwindowstheme.cpp
src/widgets/dialogs/qdialog.cpp
src/widgets/kernel/qicon.cpp
src/widgets/styles/qcommonstyle.cpp
tests/auto/gui/kernel/qkeysequence/qkeysequence.pro
tests/auto/gui/kernel/qkeysequence/tst_qkeysequence.cpp
tests/auto/other/languagechange/languagechange.pro
tests/auto/other/languagechange/tst_languagechange.cpp
tests/auto/widgets/dialogs/qmessagebox/qmessagebox.pro
tests/auto/widgets/dialogs/qmessagebox/tst_qmessagebox.cpp
tests/auto/widgets/kernel/qaction/qaction.pro
tests/auto/widgets/kernel/qaction/tst_qaction.cpp