From 4fadce08ac013a4c1073eea30bbf89421a30ce63 Mon Sep 17 00:00:00 2001 From: Caroline Chao Date: Wed, 20 Feb 2013 11:08:26 +0100 Subject: TestBench: add minimumValue spinbox field. So negative values can be set for testing. Change-Id: I1f0feae1ad8be636a438e7958457c17d654a40d5 Reviewed-by: Jens Bache-Wiig --- tests/manual/testbench/content/PropertyLayouts.qml | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/manual') diff --git a/tests/manual/testbench/content/PropertyLayouts.qml b/tests/manual/testbench/content/PropertyLayouts.qml index 9b88a1f7..7e936702 100644 --- a/tests/manual/testbench/content/PropertyLayouts.qml +++ b/tests/manual/testbench/content/PropertyLayouts.qml @@ -57,6 +57,7 @@ QtObject { SpinBox { value: result maximumValue: 9999 + minimumValue: -9999 Layout.horizontalSizePolicy: Layout.Expanding onValueChanged: loader.item[name] = value } @@ -73,6 +74,7 @@ QtObject { decimals: 1 stepSize: 0.5 maximumValue: 9999 + minimumValue: -9999 Layout.horizontalSizePolicy: Layout.Expanding onValueChanged: loader.item[name] = value } -- cgit v1.2.1