diff options
author | Martin Klapetek <mklapetek@kde.org> | 2013-12-04 14:27:33 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-04 14:32:26 +0100 |
commit | 9506149ecf6775dbc925d9c75439972189e5ef1a (patch) | |
tree | ae2f881ff311d3e8861f73d01a86f46fc273fada | |
parent | e300335a19b7125e6777d07065ac1314bcde2ca1 (diff) | |
download | qtquickcontrols-9506149ecf6775dbc925d9c75439972189e5ef1a.tar.gz |
Make slider's style react to mouse hover
Paints the hover highlight around the slider handle when mouse hovers
it.
Change-Id: I883d5c5b97b0542a36e796ce6a07398ab67e94bd
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
-rw-r--r-- | src/controls/Styles/Desktop/SliderStyle.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/controls/Styles/Desktop/SliderStyle.qml b/src/controls/Styles/Desktop/SliderStyle.qml index fd426e35..022570b2 100644 --- a/src/controls/Styles/Desktop/SliderStyle.qml +++ b/src/controls/Styles/Desktop/SliderStyle.qml @@ -57,6 +57,7 @@ Style { horizontal: control.orientation === Qt.Horizontal enabled: control.enabled hasFocus: control.activeFocus + hover: control.hovered hints: control.styleHints activeControl: control.tickmarksEnabled ? "ticks" : "" property int handleWidth: 15 |