aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlinstantiator/data/inactive.qml
diff options
context:
space:
mode:
authorAlan Alpert <aalpert@rim.com>2012-12-23 22:57:10 -0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-20 10:32:55 +0100
commit969dc839c3b0028e821d15015f99bd70d76fbc03 (patch)
tree31169cef3a2f39e46ea5982856c559c3be37b3f6 /tests/auto/qml/qqmlinstantiator/data/inactive.qml
parentf513e88403b66c4a5efe4c62c160dfce151efb33 (diff)
Add Instantiator type to QtQml
Provides a dynamic instantiation type which is not tied to visual items. Change-Id: I42f7332b29b752dcc94979b6e0ec191fc76b96ef Reviewed-by: Alan Alpert <aalpert@blackberry.com> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tests/auto/qml/qqmlinstantiator/data/inactive.qml')
-rw-r--r--tests/auto/qml/qqmlinstantiator/data/inactive.qml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/auto/qml/qqmlinstantiator/data/inactive.qml b/tests/auto/qml/qqmlinstantiator/data/inactive.qml
new file mode 100644
index 0000000000..8f5e21f990
--- /dev/null
+++ b/tests/auto/qml/qqmlinstantiator/data/inactive.qml
@@ -0,0 +1,9 @@
+import QtQml 2.1
+
+Instantiator {
+ active: false
+ QtObject {
+ property bool success: true
+ property int idx: index
+ }
+}