aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-11-26 18:02:15 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-12-04 07:55:39 +0000
commit4ecb85d4468782378c091e42d5733a976a3e0307 (patch)
tree19b2dd4df95fad193ec5691a8cef1c7abb90bc27 /tests/manual
parent7dd751c0ad4d8a4c1f4827cc9ae587f69d48807e (diff)
Add ComboBox
Change-Id: I4cfc2367db92786097a1ce66bd4b5a2f71322a2e Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'tests/manual')
-rw-r--r--tests/manual/testbench/main.qml34
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/manual/testbench/main.qml b/tests/manual/testbench/main.qml
index 679c8a1c..54e0ae34 100644
--- a/tests/manual/testbench/main.qml
+++ b/tests/manual/testbench/main.qml
@@ -406,6 +406,40 @@ ApplicationWindow {
}
RowLayout {
+ Item {
+ implicitWidth: normalGroupBox.implicitWidth
+ implicitHeight: normalComboBox.implicitHeight
+
+ ComboBox {
+ id: normalComboBox
+ model: 5
+ }
+ }
+
+ Item {
+ implicitWidth: normalGroupBox.implicitWidth
+ implicitHeight: normalComboBox.implicitHeight
+
+ ComboBox {
+ pressed: true
+ model: ListModel {
+ ListElement { text: "Pressed" }
+ }
+ }
+ }
+
+ Item {
+ implicitWidth: normalGroupBox.implicitWidth
+ implicitHeight: normalComboBox.implicitHeight
+
+ ComboBox {
+ enabled: false
+ model: ["Disabled"]
+ }
+ }
+ }
+
+ RowLayout {
GroupBox {
id: normalGroupBox
title: "Normal"