diff options
author | Michael Brasser <michael.brasser@nokia.com> | 2009-07-30 23:39:53 (GMT) |
---|---|---|
committer | Michael Brasser <michael.brasser@nokia.com> | 2009-07-30 23:39:53 (GMT) |
commit | 0ce2bedf9b5da9d480b994a9b812c37d1f5caa39 (patch) | |
tree | 7e8ef6069f8c669ff6e92e23cf8b46cfad7ed3ee /examples/declarative/loader | |
parent | a70f8a2b0966420e1911554a117e066592b1822c (diff) | |
download | Qt-0ce2bedf9b5da9d480b994a9b812c37d1f5caa39.zip Qt-0ce2bedf9b5da9d480b994a9b812c37d1f5caa39.tar.gz Qt-0ce2bedf9b5da9d480b994a9b812c37d1f5caa39.tar.bz2 |
Introduce Loader item.
The Loader item takes the qml/qmlItem functionality from Item and
moves it to a specialized subclass.
Diffstat (limited to 'examples/declarative/loader')
-rw-r--r-- | examples/declarative/loader/loader.qml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/declarative/loader/loader.qml b/examples/declarative/loader/loader.qml index 447d73a..f507651 100644 --- a/examples/declarative/loader/loader.qml +++ b/examples/declarative/loader/loader.qml @@ -1,8 +1,10 @@ import Qt 4.6 Rect { - id: Shell width: 300 height: 400 - qml: "Browser.qml" + Loader { + anchors.fill: parent + source: "Browser.qml" + } } |