summaryrefslogtreecommitdiff
path: root/tests/manual/testbench
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@digia.com>2013-02-21 11:41:39 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-02-23 14:50:12 +0100
commit28b73e87fdaf9738f14c36e62940215658ec01ac (patch)
tree96dddba1254a3fafaa72f7607071c01728902890 /tests/manual/testbench
parent7c002ef5c9f5acfcb4d2a15ee0993f29310aa8a0 (diff)
downloadqtquickcontrols-28b73e87fdaf9738f14c36e62940215658ec01ac.tar.gz
GroupBox: small fix + add basic autotests
And add a GroupBox in the testbench application. Change-Id: I5581a96addf6b1c2cdb684e4a0d45ab101e510d9 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com> Reviewed-by: Caroline Chao <caroline.chao@digia.com>
Diffstat (limited to 'tests/manual/testbench')
-rw-r--r--tests/manual/testbench/content/Components.qml12
-rw-r--r--tests/manual/testbench/main.qml4
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/manual/testbench/content/Components.qml b/tests/manual/testbench/content/Components.qml
index 06483882..de77c3ac 100644
--- a/tests/manual/testbench/content/Components.qml
+++ b/tests/manual/testbench/content/Components.qml
@@ -68,6 +68,17 @@ Item {
}
}
+ property Component groupbox: GroupBox {
+ Column {
+ CheckBox {
+ text: "checkbox1"
+ }
+ CheckBox {
+ text: "checkbox2"
+ }
+ }
+ }
+
property Component progressbar: ProgressBar {
property bool ___isRunning: true
Timer {
@@ -112,6 +123,7 @@ Item {
append({ name: "StatusBar", component: statusbar});
append({ name: "TableView", component: tableview});
append({ name: "ScrollView", component: scrollview});
+ append({ name: "GroupBox", component: groupbox});
}
}
}
diff --git a/tests/manual/testbench/main.qml b/tests/manual/testbench/main.qml
index 5f2fea96..ecfa64f0 100644
--- a/tests/manual/testbench/main.qml
+++ b/tests/manual/testbench/main.qml
@@ -173,6 +173,10 @@ ApplicationWindow {
case "ActiveFocusOnPress":
case "Enabled":
case "Visible":
+ case "Checkable":
+ case "Checked":
+ case "AdjustToContentSize":
+ case "Flat":
layout = layouts.boolLayout
typeName = "Boolean";
break