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 /tests/auto/controls/data/tst_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 'tests/auto/controls/data/tst_spinbox.qml')
-rw-r--r-- | tests/auto/controls/data/tst_spinbox.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/controls/data/tst_spinbox.qml b/tests/auto/controls/data/tst_spinbox.qml index 4e701cc0..a00544b8 100644 --- a/tests/auto/controls/data/tst_spinbox.qml +++ b/tests/auto/controls/data/tst_spinbox.qml @@ -178,7 +178,7 @@ Item { setCoordinates(spinbox) mouseMove(spinbox, mainCoord.x, mainCoord.y) - compare(spinbox.__styleData.containsMouse, true) + compare(spinbox.__styleData.hovered, true) compare(spinbox.__styleData.upHovered, false) compare(spinbox.__styleData.downHovered, false) @@ -191,7 +191,7 @@ Item { compare(spinbox.__styleData.downHovered, true) mouseMove(spinbox, mainCoord.x - 2, mainCoord.y - 2) - compare(spinbox.__styleData.containsMouse, false) + compare(spinbox.__styleData.hovered, false) compare(spinbox.__styleData.upHovered, false) compare(spinbox.__styleData.downHovered, false) spinbox.destroy() |