summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativepathview/data/pathUpdate.qml
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-10-07 14:12:34 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-10-07 14:12:34 (GMT)
commitea6ce3eb29ce41e017d71699b08d10c3eca76b52 (patch)
tree36e3873667b6f10ff50026697b930489be32a2db /tests/auto/declarative/qdeclarativepathview/data/pathUpdate.qml
parent8082a800a55875fd2e64cf2ab5c6fa2c26722132 (diff)
parentf9a8c4ec598a0070b9d2d861efe5ee69d5045a1f (diff)
downloadQt-ea6ce3eb29ce41e017d71699b08d10c3eca76b52.zip
Qt-ea6ce3eb29ce41e017d71699b08d10c3eca76b52.tar.gz
Qt-ea6ce3eb29ce41e017d71699b08d10c3eca76b52.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: Support device orientation in harmattan Connect property alias change signals on use Doc fix. Fix setting PathView offset when all visible items are removed. Rename toolbar button. Update import statement. Fixes assert in QDeclarativeWebView Do not show 'More' button when in fullscreen view. Set reasonable QT_GUI_DRAG_DISTANCE in mkspecs/linux-g++-maemo/qplatformdefs.h Allow default QApplication::startDragDistance() to be defined in platformdefs.h Autotest Ensure the TextInput cursor blinks immediately when enabled. Fix minehunt execution from QtDemo Update QtGui def files 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.qml18
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..0c2ac0c
--- /dev/null
+++ b/tests/auto/declarative/qdeclarativepathview/data/pathUpdate.qml
@@ -0,0 +1,18 @@
+import QtQuick 1.0
+
+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 }
+ }
+ }
+}