diff options
author | Christoph Schleifenbaum <christoph.schleifenbaum@kdab.com> | 2012-04-11 20:12:48 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-05 13:13:58 +0200 |
commit | 10c6f015f45092040c281bb90a65179f598a00b1 (patch) | |
tree | 66dc70987e76dcb39cc2cb11f799ddee44082d90 /src/widgets/styles/qstyle.h | |
parent | a0e617f669668c3a26e21195f96547a36b030364 (diff) |
Support for overlay-scrollbars on Mac
On Lion scroll bars are within the scroll area itself and are not being
shown as long as the user is not scrolling.
This patch draws the new scroll bars and makes them fade away. Further
it introduces a pixel metric checking for this behaviour. It's used by
QAbstractScrollArea to put the viewport to the correct place.
Task-number: QTBUG-21673
Change-Id: Id530265043549318ac420b392de6b8642deaa4c6
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dietrich-de@nokia.com>
Diffstat (limited to 'src/widgets/styles/qstyle.h')
-rw-r--r-- | src/widgets/styles/qstyle.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/styles/qstyle.h b/src/widgets/styles/qstyle.h index f56919a37f..9be063ca03 100644 --- a/src/widgets/styles/qstyle.h +++ b/src/widgets/styles/qstyle.h @@ -553,6 +553,7 @@ public: PM_TabCloseIndicatorHeight, PM_ScrollView_ScrollBarSpacing, + PM_ScrollView_ScrollBarOverlap, PM_SubMenuOverlap, // do not add any values below/greater than this |