summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@digia.com>2013-04-12 14:41:10 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-04-15 18:02:36 +0200
commit2d4ec664426004bab4e40e89038f3c9f835c93e7 (patch)
treebb8ced91216c8a8a1320206daf3ae0171106e42e /examples
parent784f7181e5ccbadb7b872a86625f800d325e1408 (diff)
downloadqtquickcontrols-2d4ec664426004bab4e40e89038f3c9f835c93e7.tar.gz
Example: Add a ComboBox in the Styles tab
Change-Id: I4ec4782c13dd7320a988c09fbc96bb4c298c1c04 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/gallery/content/Styles.qml5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/gallery/content/Styles.qml b/examples/gallery/content/Styles.qml
index 73c710bc..0a7e4d74 100644
--- a/examples/gallery/content/Styles.qml
+++ b/examples/gallery/content/Styles.qml
@@ -161,6 +161,11 @@ Item {
style: RadioButtonStyle{}
text: "RadioButton"
}
+
+ ComboBox {
+ model: ["Paris", "Oslo", "New York"]
+ style: ComboBoxStyle{}
+ }
}
Row {