diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-07-14 06:43:59 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-07-14 06:43:59 (GMT) |
commit | bd7da0db4386608eecdb32792d63ec840c8fe0bf (patch) | |
tree | aee1ba4b86aa853613fe4b9d9d9020945d257741 /tests/auto/declarative/qdeclarativegridview/data/footer.qml | |
parent | df28c1203e12c572f795b8d114254a8e5a6619e8 (diff) | |
parent | 254dc36d97f250e86cc889844d3e4b80aa396032 (diff) | |
download | Qt-bd7da0db4386608eecdb32792d63ec840c8fe0bf.zip Qt-bd7da0db4386608eecdb32792d63ec840c8fe0bf.tar.gz Qt-bd7da0db4386608eecdb32792d63ec840c8fe0bf.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:
Check for binding having been deleted in more places
Position GridView and ListView footer correctly when model cleared.
Clean up particle motion documentation
Finish QML for Qt Programmers section
Distinguish Qt Quick, Qt Declarative and QML on the landing page
Split responsibilities in QDeclarativeExpression more cleanly
improvements to docs and examples
Fix test for get() to check for undefined return values
Enter key performs same action as Return key in QML demos.
Diffstat (limited to 'tests/auto/declarative/qdeclarativegridview/data/footer.qml')
-rw-r--r-- | tests/auto/declarative/qdeclarativegridview/data/footer.qml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/tests/auto/declarative/qdeclarativegridview/data/footer.qml b/tests/auto/declarative/qdeclarativegridview/data/footer.qml new file mode 100644 index 0000000..170b2b5 --- /dev/null +++ b/tests/auto/declarative/qdeclarativegridview/data/footer.qml @@ -0,0 +1,32 @@ +import Qt 4.7 + +Rectangle { + width: 240 + height: 320 + color: "#ffffff" + Component { + id: myDelegate + Rectangle { + id: wrapper + objectName: "wrapper" + width: 80 + height: 60 + border.color: "blue" + Text { + text: index + } + color: GridView.isCurrentItem ? "lightsteelblue" : "white" + } + } + GridView { + id: grid + objectName: "grid" + width: 240 + height: 320 + cellWidth: 80 + cellHeight: 60 + model: testModel + delegate: myDelegate + footer: Text { objectName: "footer"; text: "Footer"; height: 30 } + } +} |