Mirror potentially themeable style hints in QPlatformTheme.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Thu, 12 Jul 2012 07:54:50 +0000 (09:54 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 18 Jul 2012 06:18:46 +0000 (08:18 +0200)
commitfc3207dfe1b615a856b6ad8eef22a8774e4a17f4
treeb4ad3d890ad8064cbdd2bceaf69274bcdcf360ad
parent26318a8cb2115e0fddb119b203217a52dc8e98a2
Mirror potentially themeable style hints in QPlatformTheme.

Currently, most of the QStyleHint-values are potentially
configureable by the user in certain desktop environments.

Add them to the QPlatformTheme and query the theme first.

Keep the values in QPlatformIntegration such that simple
integrations that do not implement themes are not forced
to implement them to change the values.

Change-Id: I15742a5968df0ad5d7398cceae640dc7e541da52
Reviewed-by: David Faure <faure@kde.org>
Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
src/gui/kernel/qplatformintegration.cpp
src/gui/kernel/qplatformtheme.cpp
src/gui/kernel/qplatformtheme.h
src/gui/kernel/qstylehints.cpp