diff options
author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-05-28 17:27:09 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-05-29 10:46:25 +0200 |
commit | 10851004e327f4ab798753c645ab987f10160100 (patch) | |
tree | 567be49d2527f0dd7a0f848556d4999cd78fca86 /src/controls/SpinBox.qml | |
parent | 5eb54a1a9fcb25790fa7e54c4c20f61b39368e8b (diff) | |
download | qtquickcontrols-10851004e327f4ab798753c645ab987f10160100.tar.gz |
Consistent use of "hovered" and style API conventions
We were still using "containsMouse" in a few places, and
we should consistently add "hovered" to all button types
for consistency. Also fixed the SplitView to follow the
new style conventions.
Change-Id: Iebc333c0cecc5bcde27e626b1a611c2f2edcf7dc
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Diffstat (limited to 'src/controls/SpinBox.qml')
-rw-r--r-- | src/controls/SpinBox.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/controls/SpinBox.qml b/src/controls/SpinBox.qml index 4db67c8d..92f25fbc 100644 --- a/src/controls/SpinBox.qml +++ b/src/controls/SpinBox.qml @@ -157,7 +157,7 @@ Control { readonly property alias downPressed: mouseDown.pressed readonly property alias downHovered: mouseDown.containsMouse - readonly property alias containsMouse: mouseArea.containsMouse + readonly property alias hovered: mouseArea.containsMouse readonly property int contentHeight: Math.max(input.implicitHeight, 16) readonly property int contentWidth: Math.max(maxSizeHint.implicitWidth, minSizeHint.implicitWidth) |