diff options
author | Gabriel de Dietrich <gabriel.dedietrich@qt.io> | 2017-06-07 21:51:06 -0700 |
---|---|---|
committer | Gabriel de Dietrich <gabriel.dedietrich@qt.io> | 2017-07-07 17:54:39 +0000 |
commit | 2673d05dc90fdd6209cf22efa7fa0f536ae6fade (patch) | |
tree | b85a825cf35355e618fa7caade5ed60997124a3e /tests/auto/widgets/styles/qstyle | |
parent | a4c8129d099840b366a27e4342a65d7cae5890e9 (diff) |
QMacStyle: De-Carbonize QScrollBar
Addresses drawing, hit testing, subcontrol rects and one metric.
Also fixes the knob width on hovered transient scrollbars. Since Cocoa
won't help for this (and never will), we do it manually.
For non-transient scrollbars, no more HITheme. That's why we're doing
this after all. It also comes with its own small hack; see how we darken
the knob when hovered.
We had to de-intertwine the logic with QSlider in drawComplexControl(),
which now gets its own full case CC_Slider statements. QSlider will be
addressed next.
Task-number: QTBUG-49585
Change-Id: Iced58d52fff0c11866bdf6eb562dbab36c8f3ef2
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'tests/auto/widgets/styles/qstyle')
0 files changed, 0 insertions, 0 deletions