aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qtquick1/qdeclarativelistview/data/listview-sections_delegate.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qtquick1/qdeclarativelistview/data/listview-sections_delegate.qml')
-rw-r--r--tests/auto/qtquick1/qdeclarativelistview/data/listview-sections_delegate.qml69
1 files changed, 0 insertions, 69 deletions
diff --git a/tests/auto/qtquick1/qdeclarativelistview/data/listview-sections_delegate.qml b/tests/auto/qtquick1/qdeclarativelistview/data/listview-sections_delegate.qml
deleted file mode 100644
index b2d9213c3d..0000000000
--- a/tests/auto/qtquick1/qdeclarativelistview/data/listview-sections_delegate.qml
+++ /dev/null
@@ -1,69 +0,0 @@
-import QtQuick 1.0
-
-Rectangle {
- property string sectionProperty: "number"
- width: 240
- height: 320
- color: "#ffffff"
- resources: [
- Component {
- id: myDelegate
- Item {
- id: wrapper
- objectName: "wrapper"
- height: 20;
- width: 240
- Rectangle {
- height: 20
- width: parent.width
- color: wrapper.ListView.isCurrentItem ? "lightsteelblue" : "white"
- Text {
- text: index
- }
- Text {
- x: 30
- id: textName
- objectName: "textName"
- text: name
- }
- Text {
- x: 100
- id: textNumber
- objectName: "textNumber"
- text: number
- }
- Text {
- objectName: "nextSection"
- x: 150
- text: wrapper.ListView.nextSection
- }
- Text {
- x: 200
- text: wrapper.y
- }
- }
- ListView.onRemove: SequentialAnimation {
- PropertyAction { target: wrapper; property: "ListView.delayRemove"; value: true }
- NumberAnimation { target: wrapper; property: "height"; to: 0; duration: 100; easing.type: Easing.InOutQuad }
- PropertyAction { target: wrapper; property: "ListView.delayRemove"; value: false }
- }
- }
- }
- ]
- ListView {
- id: list
- objectName: "list"
- width: 240
- height: 320
- model: testModel
- delegate: myDelegate
- section.property: sectionProperty
- section.delegate: Rectangle {
- objectName: "sect_" + section
- color: "#99bb99"
- height: 20
- width: list.width
- Text { text: section }
- }
- }
-}