diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-10-06 04:24:55 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-10-06 04:24:55 (GMT) |
commit | 8af64342922f05143c41d4804032bd223b89c17e (patch) | |
tree | 536a7230d2da0422b1635ecca6e3750a5ad660af /tests/auto/declarative/qdeclarativepathview/data/pathUpdate.qml | |
parent | eb126c11c72c82baf55f4b62e69cb138f4dce059 (diff) | |
parent | 0030599cbe39c9fc7d6f2632b4e66a54b1b46417 (diff) | |
download | Qt-8af64342922f05143c41d4804032bd223b89c17e.zip Qt-8af64342922f05143c41d4804032bd223b89c17e.tar.gz Qt-8af64342922f05143c41d4804032bd223b89c17e.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Ensure PathView updates positions when path changes.
Create Loader components in correct context
Diffstat (limited to 'tests/auto/declarative/qdeclarativepathview/data/pathUpdate.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativepathview/data/pathUpdate.qml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativepathview/data/pathUpdate.qml b/tests/auto/declarative/qdeclarativepathview/data/pathUpdate.qml new file mode 100644 index 0000000..0c99e7f --- /dev/null +++ b/tests/auto/declarative/qdeclarativepathview/data/pathUpdate.qml @@ -0,0 +1,18 @@ +import Qt 4.7 + +Rectangle { + width: 400 + height: 400 + + PathView { + id: view + objectName: "pathView" + anchors.fill: parent + model: 10 + delegate: Rectangle { objectName: "wrapper"; color: "green"; width: 100; height: 100 } + path: Path { + startX: view.width/2; startY: 0 + PathLine { x: view.width/2; y: view.height } + } + } +} |