diff options
author | Caroline Chao <caroline.chao@digia.com> | 2013-02-20 11:08:26 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-02-26 16:53:41 +0100 |
commit | 4fadce08ac013a4c1073eea30bbf89421a30ce63 (patch) | |
tree | e385e72cb7674aeea73ae71129133a8519d78660 /tests/manual/testbench | |
parent | db96a03602d21e8e4e3705fe1d38db9134bc79c2 (diff) | |
download | qtquickcontrols-4fadce08ac013a4c1073eea30bbf89421a30ce63.tar.gz |
TestBench: add minimumValue spinbox field.
So negative values can be set for testing.
Change-Id: I1f0feae1ad8be636a438e7958457c17d654a40d5
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'tests/manual/testbench')
-rw-r--r-- | tests/manual/testbench/content/PropertyLayouts.qml | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |