diff options
Diffstat (limited to 'examples/declarative/dynamic/qml/GenericItem.qml')
-rw-r--r-- | examples/declarative/dynamic/qml/GenericItem.qml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/examples/declarative/dynamic/qml/GenericItem.qml b/examples/declarative/dynamic/qml/GenericItem.qml new file mode 100644 index 0000000000..10e3dba838 --- /dev/null +++ b/examples/declarative/dynamic/qml/GenericItem.qml @@ -0,0 +1,13 @@ +import Qt 4.6 + +Item{ + property bool created: false + property string image + width: imageItem.width + height: imageItem.height + z: 2 + Image{ + id: imageItem + source: image; + } +} |