aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/qquickgridview/data/initialZValues.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/quick/qquickgridview/data/initialZValues.qml')
-rw-r--r--tests/auto/quick/qquickgridview/data/initialZValues.qml35
1 files changed, 35 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickgridview/data/initialZValues.qml b/tests/auto/quick/qquickgridview/data/initialZValues.qml
new file mode 100644
index 0000000000..9768b2c695
--- /dev/null
+++ b/tests/auto/quick/qquickgridview/data/initialZValues.qml
@@ -0,0 +1,35 @@
+import QtQuick 2.0
+
+Rectangle {
+ width: 240
+ height: 320
+
+ GridView {
+ id: grid
+
+ property real initialZ: 342
+
+ anchors.fill: parent
+ objectName: "grid"
+ model: ListModel {}
+
+ delegate: Text {
+ objectName: "wrapper"
+ font.pointSize: 20
+ text: index
+ }
+
+ header: Rectangle {
+ width: 240
+ height: 30
+ z: grid.initialZ
+ }
+
+ footer: Rectangle {
+ width: 240
+ height: 30
+ z: grid.initialZ
+ }
+ }
+}
+