More consistent dock widget painting on Windows
authorJens Bache-Wiig <jens.bache-wiig@digia.com>
Wed, 26 Sep 2012 15:27:05 +0000 (17:27 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 27 Sep 2012 13:37:29 +0000 (15:37 +0200)
commit9bdd7e2239a3ff66ffc469834a094c9b5a111ab9
treefde29f5b7571499d18b8ebd0c3616f389b8e7cf9
parentb80216c9f38c6e129bc7c779f5b769f0aa86441b
More consistent dock widget painting on Windows

Before we would draw dock widget handles on windows classic
and no handles on XP, Vista and Windows 8. This would make it
very hard to make a consistent look and feel across those styles.

I also added a workaround to avoid the redundant toolbar borders
when they are used outside of the toolbar areas.

Change-Id: Ib703453677fcac8d51b2180abe45527297af0a80
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
src/widgets/styles/qwindowsstyle.cpp
src/widgets/styles/qwindowsvistastyle.cpp