aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qquickpositioners/data/attachedproperties-grid.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/declarative/qquickpositioners/data/attachedproperties-grid.qml')
-rw-r--r--tests/auto/declarative/qquickpositioners/data/attachedproperties-grid.qml50
1 files changed, 0 insertions, 50 deletions
diff --git a/tests/auto/declarative/qquickpositioners/data/attachedproperties-grid.qml b/tests/auto/declarative/qquickpositioners/data/attachedproperties-grid.qml
deleted file mode 100644
index 2094309b9f..0000000000
--- a/tests/auto/declarative/qquickpositioners/data/attachedproperties-grid.qml
+++ /dev/null
@@ -1,50 +0,0 @@
-import QtQuick 2.0
-
-Rectangle {
- width: 200
- height: 100
-
- Grid {
-
- Rectangle {
- width: 100
- height: 100
- color: 'red'
- visible: false
- }
-
- Rectangle {
- objectName: "greenRect"
- width: 100
- height: 100
- color: 'green'
- property int posIndex: Positioner.index
- property bool isFirstItem: Positioner.isFirstItem
- property bool isLastItem: Positioner.isLastItem
- }
-
- Rectangle {
- width: 100
- height: 100
- color: 'blue'
- visible: false
- }
-
- Rectangle {
- objectName: "yellowRect"
- width: 100
- height: 100
- color: 'yellow'
-
- property int posIndex: -1
- property bool isFirstItem: false
- property bool isLastItem: false
-
- function onDemandPositioner() {
- posIndex = Positioner.index;
- isFirstItem = Positioner.isFirstItem
- isLastItem = Positioner.isLastItem
- }
- }
- }
-}